Make device_detach methods really work.
This commit is contained in:
parent
035ba19027
commit
9abf4b7a1d
@ -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 }
|
||||
};
|
||||
|
@ -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 }
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user