summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-09-12 05:57:31 +0000
committerimp <imp@FreeBSD.org>2001-09-12 05:57:31 +0000
commitbacdf7b23234564e10ce4cf7467f4c5587258bcb (patch)
tree8a92f158dc78802f3fb51ac5ed6e3d49eb748e02 /sys/pccard
parent7bf6a0b91b79242d5a19d8cf7bc41246f84b33c6 (diff)
downloadFreeBSD-src-bacdf7b23234564e10ce4cf7467f4c5587258bcb.zip
FreeBSD-src-bacdf7b23234564e10ce4cf7467f4c5587258bcb.tar.gz
Call pcic_teardown_intr to make sure that we disestablish the
interrupt for the card. This seems to fix hangs on my machine. MFC: pending re approval.
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pcic_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c
index 1df970a..d2240be 100644
--- a/sys/pccard/pcic_pci.c
+++ b/sys/pccard/pcic_pci.c
@@ -1333,7 +1333,7 @@ static device_method_t pcic_pci_methods[] = {
DEVMETHOD(bus_activate_resource, pcic_activate_resource),
DEVMETHOD(bus_deactivate_resource, pcic_deactivate_resource),
DEVMETHOD(bus_setup_intr, pcic_setup_intr),
- DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
+ DEVMETHOD(bus_teardown_intr, pcic_teardown_intr),
/* Card interface */
DEVMETHOD(card_set_res_flags, pcic_set_res_flags),
OpenPOWER on IntegriCloud