#include <linux/module.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ctype.h>
#include <linux/ethtool.h>
#include <linux/workqueue.h>
#include <linux/mii.h>
#include <linux/usb.h>
#include <linux/usb/usbnet.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/pm_runtime.h>
Go to the source code of this file.
|
| | module_param (msg_level, int, 0) |
| |
| | MODULE_PARM_DESC (msg_level,"Override default message level") |
| |
| int | usbnet_get_endpoints (struct usbnet *dev, struct usb_interface *intf) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_get_endpoints) |
| |
| int | usbnet_get_ethernet_addr (struct usbnet *dev, int iMACAddress) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_get_ethernet_addr) |
| |
| void | usbnet_skb_return (struct usbnet *dev, struct sk_buff *skb) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_skb_return) |
| |
| int | usbnet_change_mtu (struct net_device *net, int new_mtu) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_change_mtu) |
| |
| void | usbnet_defer_kevent (struct usbnet *dev, int work) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_defer_kevent) |
| |
| void | usbnet_pause_rx (struct usbnet *dev) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_pause_rx) |
| |
| void | usbnet_resume_rx (struct usbnet *dev) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_resume_rx) |
| |
| void | usbnet_purge_paused_rxq (struct usbnet *dev) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_purge_paused_rxq) |
| |
| void | usbnet_unlink_rx_urbs (struct usbnet *dev) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_unlink_rx_urbs) |
| |
| int | usbnet_stop (struct net_device *net) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_stop) |
| |
| int | usbnet_open (struct net_device *net) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_open) |
| |
| int | usbnet_get_settings (struct net_device *net, struct ethtool_cmd *cmd) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_get_settings) |
| |
| int | usbnet_set_settings (struct net_device *net, struct ethtool_cmd *cmd) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_set_settings) |
| |
| u32 | usbnet_get_link (struct net_device *net) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_get_link) |
| |
| int | usbnet_nway_reset (struct net_device *net) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_nway_reset) |
| |
| void | usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_get_drvinfo) |
| |
| u32 | usbnet_get_msglevel (struct net_device *net) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_get_msglevel) |
| |
| void | usbnet_set_msglevel (struct net_device *net, u32 level) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_set_msglevel) |
| |
| void | usbnet_tx_timeout (struct net_device *net) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_tx_timeout) |
| |
| netdev_tx_t | usbnet_start_xmit (struct sk_buff *skb, struct net_device *net) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_start_xmit) |
| |
| void | usbnet_disconnect (struct usb_interface *intf) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_disconnect) |
| |
| int | usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_probe) |
| |
| int | usbnet_suspend (struct usb_interface *intf, pm_message_t message) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_suspend) |
| |
| int | usbnet_resume (struct usb_interface *intf) |
| |
| | EXPORT_SYMBOL_GPL (usbnet_resume) |
| |
| void | usbnet_device_suggests_idle (struct usbnet *dev) |
| |
| | EXPORT_SYMBOL (usbnet_device_suggests_idle) |
| |
| | module_init (usbnet_init) |
| |
| | module_exit (usbnet_exit) |
| |
| | MODULE_AUTHOR ("David Brownell") |
| |
| | MODULE_DESCRIPTION ("USB network driver framework") |
| |
| | MODULE_LICENSE ("GPL") |
| |
| #define DRIVER_VERSION "22-Aug-2005" |
| #define RX_MAX_QUEUE_MEMORY (60 * 1518) |
| #define THROTTLE_JIFFIES (HZ/8) |
| #define TX_TIMEOUT_JIFFIES (5*HZ) |
| #define UNLINK_TIMEOUT_MS 3 |
| MODULE_AUTHOR |
( |
"David Brownell" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"USB network driver framework" |
| ) |
|
| module_exit |
( |
usbnet_exit |
| ) |
|
| module_init |
( |
usbnet_init |
| ) |
|
| module_param |
( |
msg_level |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
msg_level |
, |
|
|
"Override default message level" |
|
|
) |
| |