cdc_ncm.c (ef9ac2091180c885208763ab1284b8c679fa553c) cdc_ncm.c (323955a0498ccaa1263e369b91efd8f4310768b6)
1/*
2 * cdc_ncm.c
3 *
4 * Copyright (C) ST-Ericsson 2010-2012
5 * Contact: Alexey Orishko <alexey.orishko@stericsson.com>
6 * Original author: Hans Petter Selasky <hans.petter.selasky@stericsson.com>
7 *
8 * USB Host Driver for Network Control Model (NCM)

--- 779 unchanged lines hidden (view full) ---

788EXPORT_SYMBOL_GPL(cdc_ncm_change_mtu);
789
790static const struct net_device_ops cdc_ncm_netdev_ops = {
791 .ndo_open = usbnet_open,
792 .ndo_stop = usbnet_stop,
793 .ndo_start_xmit = usbnet_start_xmit,
794 .ndo_tx_timeout = usbnet_tx_timeout,
795 .ndo_set_rx_mode = usbnet_set_rx_mode,
1/*
2 * cdc_ncm.c
3 *
4 * Copyright (C) ST-Ericsson 2010-2012
5 * Contact: Alexey Orishko <alexey.orishko@stericsson.com>
6 * Original author: Hans Petter Selasky <hans.petter.selasky@stericsson.com>
7 *
8 * USB Host Driver for Network Control Model (NCM)

--- 779 unchanged lines hidden (view full) ---

788EXPORT_SYMBOL_GPL(cdc_ncm_change_mtu);
789
790static const struct net_device_ops cdc_ncm_netdev_ops = {
791 .ndo_open = usbnet_open,
792 .ndo_stop = usbnet_stop,
793 .ndo_start_xmit = usbnet_start_xmit,
794 .ndo_tx_timeout = usbnet_tx_timeout,
795 .ndo_set_rx_mode = usbnet_set_rx_mode,
796 .ndo_get_stats64 = usbnet_get_stats64,
796 .ndo_get_stats64 = dev_get_tstats64,
797 .ndo_change_mtu = cdc_ncm_change_mtu,
798 .ndo_set_mac_address = eth_mac_addr,
799 .ndo_validate_addr = eth_validate_addr,
800};
801
802int cdc_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_altsetting, int drvflags)
803{
804 struct cdc_ncm_ctx *ctx;

--- 1230 unchanged lines hidden ---
797 .ndo_change_mtu = cdc_ncm_change_mtu,
798 .ndo_set_mac_address = eth_mac_addr,
799 .ndo_validate_addr = eth_validate_addr,
800};
801
802int cdc_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_altsetting, int drvflags)
803{
804 struct cdc_ncm_ctx *ctx;

--- 1230 unchanged lines hidden ---