diff options
| author | Warner Losh <imp@FreeBSD.org> | 2005-02-22 18:58:34 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2005-02-22 18:58:34 +0000 |
| commit | eb01f10be1d6fd9a7312cfe2a2aa1320fd177f7e (patch) | |
| tree | 396d00f40afd6d6ee50b0d4300f42afef25da6f0 | |
| parent | 6d4548de49b6b8d5e7b0a7feb55d47eb0af8f206 (diff) | |
Notes
| -rw-r--r-- | sys/dev/ed/if_ed_isa.c | 7 | ||||
| -rw-r--r-- | sys/dev/ed/if_ed_pci.c | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/ed/if_ed_isa.c b/sys/dev/ed/if_ed_isa.c index 453fd1bd7b97e..af365f2129ed4 100644 --- a/sys/dev/ed/if_ed_isa.c +++ b/sys/dev/ed/if_ed_isa.c @@ -49,8 +49,8 @@ __FBSDID("$FreeBSD$"); #include <dev/ed/if_edvar.h> -static int ed_isa_probe (device_t); -static int ed_isa_attach (device_t); +static int ed_isa_probe(device_t); +static int ed_isa_attach(device_t); static struct isa_pnp_id ed_ids[] = { { 0x1684a34d, NULL }, /* SMC8416 */ @@ -145,8 +145,7 @@ end: } static int -ed_isa_attach(dev) - device_t dev; +ed_isa_attach(device_t dev) { struct ed_softc *sc = device_get_softc(dev); int error; diff --git a/sys/dev/ed/if_ed_pci.c b/sys/dev/ed/if_ed_pci.c index c47bb95db3de3..036879103c5ad 100644 --- a/sys/dev/ed/if_ed_pci.c +++ b/sys/dev/ed/if_ed_pci.c @@ -96,7 +96,7 @@ ed_pci_attach(device_t dev) } error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, - edintr, sc, &sc->irq_handle); + edintr, sc, &sc->irq_handle); if (error) { ed_release_resources(dev); return (error); |
