Make device_detach methods really work.

This commit is contained in:
Ruslan Ermilov 2005-09-14 19:03:14 +00:00
parent 035ba19027
commit 9abf4b7a1d
2 changed files with 2 additions and 2 deletions

View File

@ -1605,7 +1605,7 @@ static device_method_t ed_cbus_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, ed_cbus_probe),
DEVMETHOD(device_attach, ed_cbus_attach),
DEVMETHOD(device_attach, ed_detach),
DEVMETHOD(device_detach, ed_detach),
{ 0, 0 }
};

View File

@ -112,7 +112,7 @@ static device_method_t ed_pci_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, ed_pci_probe),
DEVMETHOD(device_attach, ed_pci_attach),
DEVMETHOD(device_attach, ed_detach),
DEVMETHOD(device_detach, ed_detach),
{ 0, 0 }
};