Allow these drivers to be detached.

Reviewed by:	mdodd
This commit is contained in:
jake 2000-06-16 07:20:29 +00:00
parent a7ab185a17
commit 98624ccaf3
2 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@ static device_method_t iicbb_methods[] = {
/* device interface */
DEVMETHOD(device_probe, iicbb_probe),
DEVMETHOD(device_attach, iicbb_attach),
DEVMETHOD(device_detach, bus_generic_detach),
/* bus interface */
DEVMETHOD(bus_print_child, iicbb_print_child),

View File

@ -100,6 +100,7 @@ static device_method_t iicsmb_methods[] = {
/* device interface */
DEVMETHOD(device_probe, iicsmb_probe),
DEVMETHOD(device_attach, iicsmb_attach),
DEVMETHOD(device_detach, bus_generic_detach),
/* bus interface */
DEVMETHOD(bus_print_child, bus_generic_print_child),