10 pr_notice(
PFX "%s: link up failed (download in progress)\n",
23 netif_start_queue(Adapter->
dev);
37 netif_stop_queue(dev);
63 u16 qindex = skb_get_queue_mapping(skb);
75 if (Adapter->
PackInfo[qindex].uiCurrentPacketsOnHost >=
81 pr_info(
PFX "%s: enqueueing packet to queue %d\n",
84 spin_lock(&Adapter->
PackInfo[qindex].SFQueueLock);
85 Adapter->
PackInfo[qindex].uiCurrentBytesOnHost += skb->
len;
86 Adapter->
PackInfo[qindex].uiCurrentPacketsOnHost++;
90 Adapter->
PackInfo[qindex].LastTxQueue, skb);
92 spin_unlock(&Adapter->
PackInfo[qindex].SFQueueLock);
113 .ndo_open = bcm_open,
114 .ndo_stop = bcm_close,
115 .ndo_start_xmit = bcm_transmit,
119 .ndo_select_queue = bcm_select_queue,
141 static void bcm_get_drvinfo(
struct net_device *dev,
146 struct usb_device *
udev = interface_to_usbdev(psIntfAdapter->
interface);
178 static const struct ethtool_ops bcm_ethtool_ops = {
179 .get_settings = bcm_get_settings,
180 .get_drvinfo = bcm_get_drvinfo,
181 .get_link = bcm_get_link,
182 .get_msglevel = bcm_get_msglevel,
183 .set_msglevel = bcm_set_msglevel,
191 struct usb_device *xdev = IntfAdapter->
udev;
209 PFX "Error in Reading the mac Address: %d", result);
217 gblpnetdev = Adapter->
dev;
220 dev_info(&udev->dev,
PFX "%s: register usb-%s-%s %pM\n",
221 net->
name, xdev->bus->bus_name, xdev->devpath,
232 struct usb_device *xdev = IntfAdapter->
udev;
235 dev_info(&udev->dev,
PFX "%s: unregister usb-%s%s\n",
236 net->
name, xdev->bus->bus_name, xdev->devpath);