summaryrefslogtreecommitdiffstats
path: root/sys/dev/ex/if_ex_pccard.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-06-13 12:14:22 +0000
committerjhb <jhb@FreeBSD.org>2008-06-13 12:14:22 +0000
commitb3ec9d20e2e35d17969bd802375c6c5816f967f5 (patch)
tree827ecd904c434918c85f857189d4350deb2665a8 /sys/dev/ex/if_ex_pccard.c
parent90df49173a351bd63219cd9afdd388548864602a (diff)
downloadFreeBSD-src-b3ec9d20e2e35d17969bd802375c6c5816f967f5.zip
FreeBSD-src-b3ec9d20e2e35d17969bd802375c6c5816f967f5.tar.gz
Make ex(4) MPSAFE:
- Add a mutex to the softc to protect the softc and device hardware. - Use a private watchdog timer. - Setup interrupt handler after ether_ifattach(). - Use bus_foo() rather than bus_space_foo() and remove bus space tag and handle from softc. Tested by: imp
Diffstat (limited to 'sys/dev/ex/if_ex_pccard.c')
-rw-r--r--sys/dev/ex/if_ex_pccard.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/ex/if_ex_pccard.c b/sys/dev/ex/if_ex_pccard.c
index 1d16463..98d1b5d 100644
--- a/sys/dev/ex/if_ex_pccard.c
+++ b/sys/dev/ex/if_ex_pccard.c
@@ -164,13 +164,6 @@ ex_pccard_attach(device_t dev)
goto bad;
}
- error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET,
- NULL, ex_intr, (void *)sc, &sc->ih);
- if (error) {
- device_printf(dev, "bus_setup_intr() failed!\n");
- goto bad;
- }
-
return(0);
bad:
ex_release_resources(dev);
OpenPOWER on IntegriCloud