diff options
Diffstat (limited to 'sys/dev/usb/net/if_rue.c')
-rw-r--r-- | sys/dev/usb/net/if_rue.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/dev/usb/net/if_rue.c b/sys/dev/usb/net/if_rue.c index dc7a31f..5783943 100644 --- a/sys/dev/usb/net/if_rue.c +++ b/sys/dev/usb/net/if_rue.c @@ -105,7 +105,6 @@ static const struct usb2_device_id rue_devs[] = { static device_probe_t rue_probe; static device_attach_t rue_attach; static device_detach_t rue_detach; -static device_shutdown_t rue_shutdown; static miibus_readreg_t rue_miibus_readreg; static miibus_writereg_t rue_miibus_writereg; @@ -172,7 +171,6 @@ static device_method_t rue_methods[] = { DEVMETHOD(device_probe, rue_probe), DEVMETHOD(device_attach, rue_attach), DEVMETHOD(device_detach, rue_detach), - DEVMETHOD(device_shutdown, rue_shutdown), /* Bus interface */ DEVMETHOD(bus_print_child, bus_generic_print_child), @@ -897,17 +895,3 @@ rue_stop(struct usb2_ether *ue) rue_reset(sc); } - -/* - * Stop all chip I/O so that the kernel's probe routines don't - * get confused by errant DMAs when rebooting. - */ -static int -rue_shutdown(device_t dev) -{ - struct rue_softc *sc = device_get_softc(dev); - - usb2_ether_ifshutdown(&sc->sc_ue); - - return (0); -} |