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.
This commit is contained in:
Warner Losh 2001-09-12 05:57:31 +00:00
parent 68a7335b3f
commit ee148a7240

View File

@ -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),