#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/usb.h>
#include <linux/workqueue.h>
Go to the source code of this file.
#define IPHETH_ALT_INTFNUM 1 |
#define IPHETH_BUF_SIZE 1516 |
#define IPHETH_CARRIER_ON 0x04 |
#define IPHETH_CMD_CARRIER_CHECK 0x45 |
#define IPHETH_CMD_GET_MACADDR 0x00 |
#define IPHETH_CTRL_BUF_SIZE 0x40 |
#define IPHETH_CTRL_ENDP 0x00 |
#define IPHETH_CTRL_TIMEOUT (5 * HZ) |
#define IPHETH_IP_ALIGN 2 /* padding at front of URB */ |
#define IPHETH_TX_TIMEOUT (5 * HZ) |
#define IPHETH_USBINTF_CLASS 255 |
#define IPHETH_USBINTF_PROTO 1 |
#define IPHETH_USBINTF_SUBCLASS 253 |
#define USB_PRODUCT_IPAD 0x129a |
#define USB_PRODUCT_IPHONE 0x1290 |
#define USB_PRODUCT_IPHONE_3G 0x1292 |
#define USB_PRODUCT_IPHONE_3GS 0x1294 |
#define USB_PRODUCT_IPHONE_4 0x1297 |
#define USB_PRODUCT_IPHONE_4_VZW 0x129c |
#define USB_PRODUCT_IPHONE_4S 0x12a0 |
#define USB_PRODUCT_IPHONE_5 0x12a8 |
#define USB_VENDOR_APPLE 0x05ac |
MODULE_DESCRIPTION |
( |
"Apple iPhone USB Ethernet driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
ipheth_table |
|
|
) |
| |
MODULE_LICENSE |
( |
"Dual BSD/GPL" |
| ) |
|
module_usb_driver |
( |
ipheth_driver |
| ) |
|