Jp1081b Usb Lan Driver 21

struct net_device *netdev = urb->context; struct jp1081b_private *priv = netdev_priv(netdev); struct sk_buff *skb; int status = urb->status;

static int jp1081b_init_mac(struct net_device *netdev)

all: $(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules

static int jp1081b_probe(struct usb_interface *intf, const struct usb_device_id *id)

netdev->stats.tx_packets++; netdev->stats.tx_bytes += skb->len; dev_kfree_skb_irq(skb); netif_wake_queue(netdev);

netif_start_queue(netdev); return 0;

netif_stop_queue(netdev); return NETDEV_TX_OK;

static void jp1081b_disconnect(struct usb_interface *intf)