diff options
Diffstat (limited to 'at76_usb.c')
-rw-r--r-- | at76_usb.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -3972,13 +3972,7 @@ static struct ethtool_ops at76_ethtool_ops = { .get_link = at76_ethtool_get_link, }; -/** - * at76_init_new_device - continue device initialization after firmware download - * - * FIXME: We may have to move the register_netdev into at76_alloc_new_device, - * because hotplug may try to configure the netdev _before_ (or parallel to) - * the download of firmware - */ +/* Register network device and initialize the hardware */ static int at76_init_new_device(struct at76_priv *priv, struct usb_interface *interface) { @@ -5825,6 +5819,7 @@ static void at76_rx_tasklet(unsigned long param) return; } +/* Allocate network device and initialize private data */ static struct at76_priv *at76_alloc_new_device(struct usb_device *udev) { struct net_device *netdev; |