Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
io_usbvend.h File Reference

Go to the source code of this file.

Data Structures

struct  edge_compatibility_bits
 
struct  edge_compatibility_descriptor
 
struct  edge_manuf_descriptor
 
struct  edge_boot_descriptor
 
struct  ti_i2c_desc
 
struct  ti_i2c_firmware_rec
 
struct  watchport_firmware_version
 
struct  ti_i2c_image_header
 
struct  ti_basic_descriptor
 
struct  edge_ti_manuf_descriptor
 

Macros

#define USB_VENDOR_ID_ION   0x1608
 
#define USB_VENDOR_ID_TI   0x0451
 
#define USB_VENDOR_ID_AXIOHM   0x05D9 /* Axiohm VID */
 
#define ION_OEM_ID_ION   0
 
#define ION_OEM_ID_NLYNX   1
 
#define ION_OEM_ID_GENERIC   2
 
#define ION_OEM_ID_MAC   3
 
#define ION_OEM_ID_MEGAWOLF   4
 
#define ION_OEM_ID_MULTITECH   5
 
#define ION_OEM_ID_AGILENT   6
 
#define ION_DEVICE_ID_80251_NETCHIP   0x020
 
#define ION_DEVICE_ID_GENERATION_1   0x00
 
#define ION_DEVICE_ID_GENERATION_2   0x01
 
#define ION_DEVICE_ID_GENERATION_3   0x02
 
#define ION_DEVICE_ID_GENERATION_4   0x03
 
#define ION_GENERATION_MASK   0x03
 
#define ION_DEVICE_ID_HUB_MASK   0x0080
 
#define EDGEPORT_DEVICE_ID_MASK   0x0ff
 
#define ION_DEVICE_ID_UNCONFIGURED_EDGE_DEVICE   0x000
 
#define ION_DEVICE_ID_EDGEPORT_4   0x001
 
#define ION_DEVICE_ID_EDGEPORT_8R   0x002
 
#define ION_DEVICE_ID_RAPIDPORT_4   0x003
 
#define ION_DEVICE_ID_EDGEPORT_4T   0x004
 
#define ION_DEVICE_ID_EDGEPORT_2   0x005
 
#define ION_DEVICE_ID_EDGEPORT_4I   0x006
 
#define ION_DEVICE_ID_EDGEPORT_2I   0x007
 
#define ION_DEVICE_ID_EDGEPORT_8RR   0x008
 
#define ION_DEVICE_ID_EDGEPORT_PARALLEL_PORT   0x00B
 
#define ION_DEVICE_ID_EDGEPORT_421   0x00C
 
#define ION_DEVICE_ID_EDGEPORT_21   0x00D
 
#define ION_DEVICE_ID_EDGEPORT_8_DUAL_CPU   0x00E
 
#define ION_DEVICE_ID_EDGEPORT_8   0x00F
 
#define ION_DEVICE_ID_EDGEPORT_2_DIN   0x010
 
#define ION_DEVICE_ID_EDGEPORT_4_DIN   0x011
 
#define ION_DEVICE_ID_EDGEPORT_16_DUAL_CPU   0x012
 
#define ION_DEVICE_ID_EDGEPORT_COMPATIBLE   0x013
 
#define ION_DEVICE_ID_EDGEPORT_8I   0x014
 
#define ION_DEVICE_ID_EDGEPORT_1   0x015
 
#define ION_DEVICE_ID_EPOS44   0x016
 
#define ION_DEVICE_ID_EDGEPORT_42   0x017
 
#define ION_DEVICE_ID_EDGEPORT_412_8   0x018
 
#define ION_DEVICE_ID_EDGEPORT_412_4   0x019
 
#define ION_DEVICE_ID_EDGEPORT_22I   0x01A
 
#define ION_DEVICE_ID_EDGEPORT_2C   0x01B
 
#define ION_DEVICE_ID_EDGEPORT_221C   0x01C
 
#define ION_DEVICE_ID_EDGEPORT_22C   0x01D
 
#define ION_DEVICE_ID_EDGEPORT_21C   0x01E
 
#define ION_DEVICE_ID_TI3410_EDGEPORT_1   0x040
 
#define ION_DEVICE_ID_TI3410_EDGEPORT_1I   0x041
 
#define ION_DEVICE_ID_EDGEPORT_4S   0x042
 
#define ION_DEVICE_ID_EDGEPORT_8S   0x043
 
#define ION_DEVICE_ID_EDGEPORT_E   0x0E0
 
#define ION_DEVICE_ID_TI_EDGEPORT_4   0x0201
 
#define ION_DEVICE_ID_TI_EDGEPORT_2   0x0205
 
#define ION_DEVICE_ID_TI_EDGEPORT_4I   0x0206
 
#define ION_DEVICE_ID_TI_EDGEPORT_2I   0x0207
 
#define ION_DEVICE_ID_TI_EDGEPORT_421   0x020C
 
#define ION_DEVICE_ID_TI_EDGEPORT_21   0x020D
 
#define ION_DEVICE_ID_TI_EDGEPORT_416   0x0212
 
#define ION_DEVICE_ID_TI_EDGEPORT_1   0x0215
 
#define ION_DEVICE_ID_TI_EDGEPORT_42   0x0217
 
#define ION_DEVICE_ID_TI_EDGEPORT_22I   0x021A
 
#define ION_DEVICE_ID_TI_EDGEPORT_2C   0x021B
 
#define ION_DEVICE_ID_TI_EDGEPORT_221C   0x021C
 
#define ION_DEVICE_ID_TI_EDGEPORT_22C   0x021D
 
#define ION_DEVICE_ID_TI_EDGEPORT_21C   0x021E
 
#define ION_DEVICE_ID_TI_TI3410_EDGEPORT_1   0x0240
 
#define ION_DEVICE_ID_TI_TI3410_EDGEPORT_1I   0x0241
 
#define ION_DEVICE_ID_TI_EDGEPORT_4S   0x0242
 
#define ION_DEVICE_ID_TI_EDGEPORT_8S   0x0243
 
#define ION_DEVICE_ID_TI_EDGEPORT_8   0x0244
 
#define ION_DEVICE_ID_TI_EDGEPORT_416B   0x0247
 
#define ION_DEVICE_ID_WP_UNSERIALIZED   0x300
 
#define ION_DEVICE_ID_WP_PROXIMITY   0x301
 
#define ION_DEVICE_ID_WP_MOTION   0x302
 
#define ION_DEVICE_ID_WP_MOISTURE   0x303
 
#define ION_DEVICE_ID_WP_TEMPERATURE   0x304
 
#define ION_DEVICE_ID_WP_HUMIDITY   0x305
 
#define ION_DEVICE_ID_WP_POWER   0x306
 
#define ION_DEVICE_ID_WP_LIGHT   0x307
 
#define ION_DEVICE_ID_WP_RADIATION   0x308
 
#define ION_DEVICE_ID_WP_ACCELERATION   0x309
 
#define ION_DEVICE_ID_WP_DISTANCE   0x30A
 
#define ION_DEVICE_ID_WP_PROX_DIST   0x30B
 
#define ION_DEVICE_ID_PLUS_PWR_HP4CD   0x30C
 
#define ION_DEVICE_ID_PLUS_PWR_HP4C   0x30D
 
#define ION_DEVICE_ID_PLUS_PWR_PCI   0x30E
 
#define USB_VENDOR_ID_AXIOHM   0x05D9
 
#define AXIOHM_DEVICE_ID_MASK   0xffff
 
#define AXIOHM_DEVICE_ID_EPIC_A758   0xA758
 
#define AXIOHM_DEVICE_ID_EPIC_A794   0xA794
 
#define AXIOHM_DEVICE_ID_EPIC_A225   0xA225
 
#define USB_VENDOR_ID_NCR   0x0404
 
#define NCR_DEVICE_ID_MASK   0xffff
 
#define NCR_DEVICE_ID_EPIC_0202   0x0202
 
#define NCR_DEVICE_ID_EPIC_0203   0x0203
 
#define NCR_DEVICE_ID_EPIC_0310   0x0310
 
#define NCR_DEVICE_ID_EPIC_0311   0x0311
 
#define NCR_DEVICE_ID_EPIC_0312   0x0312
 
#define USB_VENDOR_ID_SYMBOL   0x05E0
 
#define SYMBOL_DEVICE_ID_MASK   0xffff
 
#define SYMBOL_DEVICE_ID_KEYFOB   0x0700
 
#define ION_DEVICE_ID_MT4X56USB   0x1403
 
#define GENERATION_ID_FROM_USB_PRODUCT_ID(ProductId)   ((__u16) ((ProductId >> 8) & (ION_GENERATION_MASK)))
 
#define MAKE_USB_PRODUCT_ID(OemId, DeviceId)   ((__u16) (((OemId) << 10) || (DeviceId)))
 
#define DEVICE_ID_FROM_USB_PRODUCT_ID(ProductId)   ((__u16) ((ProductId) & (EDGEPORT_DEVICE_ID_MASK)))
 
#define OEM_ID_FROM_USB_PRODUCT_ID(ProductId)   ((__u16) (((ProductId) >> 10) & 0x3F))
 
#define EDGE_FW_GET_TX_CREDITS_SEND_THRESHOLD(InitialCredit, MaxPacketSize)   (max(((InitialCredit) / 4), (MaxPacketSize)))
 
#define EDGE_FW_BULK_MAX_PACKET_SIZE   64
 
#define EDGE_FW_BULK_READ_BUFFER_SIZE   1024
 
#define EDGE_FW_INT_MAX_PACKET_SIZE   32
 
#define EDGE_FW_INT_INTERVAL   2
 
#define USB_REQUEST_ION_RESET_DEVICE   0
 
#define USB_REQUEST_ION_GET_EPIC_DESC   1
 
#define USB_REQUEST_ION_READ_RAM   3
 
#define USB_REQUEST_ION_WRITE_RAM   4
 
#define USB_REQUEST_ION_READ_ROM   5
 
#define USB_REQUEST_ION_WRITE_ROM   6
 
#define USB_REQUEST_ION_EXEC_DL_CODE   7
 
#define USB_REQUEST_ION_ENABLE_SUSPEND   9
 
#define USB_REQUEST_ION_SEND_IOSP   10
 
#define USB_REQUEST_ION_RECV_IOSP   11
 
#define USB_REQUEST_ION_DIS_INT_TIMER   0x80
 
#define EDGE_COMPATIBILITY_MASK0   0x0001
 
#define EDGE_COMPATIBILITY_MASK1   0x3FFF
 
#define EDGE_COMPATIBILITY_MASK2   0x0001
 
#define EDGE_DOWNLOAD_FILE_NONE   0
 
#define EDGE_DOWNLOAD_FILE_INTERNAL   0xFF
 
#define EDGE_DOWNLOAD_FILE_I930   0xFF
 
#define EDGE_DOWNLOAD_FILE_80251   0xFE
 
#define EDGE_MANUF_DESC_ADDR_V1   0x00FF7F00
 
#define EDGE_MANUF_DESC_LEN_V1   sizeof(EDGE_MANUF_DESCRIPTOR_V1)
 
#define EDGE_MANUF_DESC_ADDR   0x00FF7C00
 
#define EDGE_MANUF_DESC_LEN   sizeof(struct edge_manuf_descriptor)
 
#define EDGE_BOOT_DESC_ADDR   0x00FF7FC0
 
#define EDGE_BOOT_DESC_LEN   sizeof(struct edge_boot_descriptor)
 
#define MAX_SIZE_REQ_ION_READ_MEM   ((__u16)64)
 
#define MAX_SIZE_REQ_ION_WRITE_MEM   ((__u16)64)
 
#define MAX_SERIALNUMBER_LEN   12
 
#define MAX_ASSEMBLYNUMBER_LEN   14
 
#define MANUF_DESC_VER_1   1
 
#define MANUF_DESC_VER_2   2
 
#define MANUF_UART_EXAR_654_EARLY   0
 
#define MANUF_UART_EXAR_654   1
 
#define MANUF_UART_EXAR_2852   2
 
#define MANUF_CPU_REV_AD4   1
 
#define MANUF_CPU_REV_AD5   2
 
#define MANUF_CPU_80251   0x20
 
#define MANUF_BOARD_REV_A   1
 
#define MANUF_BOARD_REV_B   2
 
#define MANUF_BOARD_REV_C   3
 
#define MANUF_BOARD_REV_GENERATION_2   0x20
 
#define MANUF_CPU_REV_1   1
 
#define MANUF_BOARD_REV_A   1
 
#define MANUF_SERNUM_LENGTH   sizeof(((struct edge_manuf_descriptor *)0)->SerialNumber)
 
#define MANUF_ASSYNUM_LENGTH   sizeof(((struct edge_manuf_descriptor *)0)->AssemblyNumber)
 
#define MANUF_OEMASSYNUM_LENGTH   sizeof(((struct edge_manuf_descriptor *)0)->OemAssyNumber)
 
#define MANUF_MANUFDATE_LENGTH   sizeof(((struct edge_manuf_descriptor *)0)->ManufDate)
 
#define MANUF_ION_CONFIG_DIAG_NO_LOOP   0x20
 
#define MANUF_ION_CONFIG_DIAG   0x40
 
#define MANUF_ION_CONFIG_MASTER   0x80
 
#define BOOT_DESC_VER_1   1
 
#define BOOT_DESC_VER_2   2
 
#define BOOT_CAP_RESET_CMD   0x0001
 
#define UMP5152   0x52
 
#define UMP3410   0x10
 
#define I2C_DESC_TYPE_INFO_BASIC   0x01
 
#define I2C_DESC_TYPE_FIRMWARE_BASIC   0x02
 
#define I2C_DESC_TYPE_DEVICE   0x03
 
#define I2C_DESC_TYPE_CONFIG   0x04
 
#define I2C_DESC_TYPE_STRING   0x05
 
#define I2C_DESC_TYPE_FIRMWARE_AUTO   0x07
 
#define I2C_DESC_TYPE_CONFIG_KLUDGE   0x14
 
#define I2C_DESC_TYPE_WATCHPORT_VERSION   0x15
 
#define I2C_DESC_TYPE_WATCHPORT_CALIBRATION_DATA   0x16
 
#define I2C_DESC_TYPE_FIRMWARE_BLANK   0xf2
 
#define I2C_DESC_TYPE_ION   0
 
#define TI_CPU_REV_5052   2
 
#define TI_CPU_REV_3410   3
 
#define TI_BOARD_REV_TI_EP   0
 
#define TI_BOARD_REV_COMPACT   1
 
#define TI_BOARD_REV_WATCHPORT   2
 
#define TI_GET_CPU_REVISION(x)   (__u8)((((x)>>4)&0x0f))
 
#define TI_GET_BOARD_REVISION(x)   (__u8)(((x)&0x0f))
 
#define TI_I2C_SIZE_MASK   0x1f
 
#define TI_GET_I2C_SIZE(x)   ((((x) & TI_I2C_SIZE_MASK)+1)*256)
 
#define TI_MAX_I2C_SIZE   (16 * 1024)
 
#define TI_MANUF_VERSION_0   0
 
#define TI_CONFIG2_RS232   0x01
 
#define TI_CONFIG2_RS422   0x02
 
#define TI_CONFIG2_RS485   0x04
 
#define TI_CONFIG2_SWITCHABLE   0x08
 
#define TI_CONFIG2_WATCHPORT   0x10
 

Functions

struct ti_i2c_desc __attribute__ ((packed))
 

Variables

struct edge_compatibility_bits __attribute__
 
__u8 Type
 
__u16 Size
 
__u8 CheckSum
 
__u8 Data [0]
 
__u8 Ver_Major
 
__u8 Ver_Minor
 
__u8 Version_Major
 
__u8 Version_Minor
 
__le16 Length
 
__u8 Power
 
__u16 HubVid
 
__u16 HubPid
 
__u16 DevPid
 
__u8 HubTime
 
__u8 HubCurrent
 
__u8 IonConfig
 
__u8 IonConfig2
 
__u8 Version
 
__u8 CpuRev_BoardRev
 
__u8 NumPorts
 
__u8 NumVirtualPorts
 
__u8 HubConfig1
 
__u8 HubConfig2
 
__u8 TotalPorts
 
__u8 Reserved
 

Macro Definition Documentation

#define AXIOHM_DEVICE_ID_EPIC_A225   0xA225

Definition at line 191 of file io_usbvend.h.

#define AXIOHM_DEVICE_ID_EPIC_A758   0xA758

Definition at line 189 of file io_usbvend.h.

#define AXIOHM_DEVICE_ID_EPIC_A794   0xA794

Definition at line 190 of file io_usbvend.h.

#define AXIOHM_DEVICE_ID_MASK   0xffff

Definition at line 188 of file io_usbvend.h.

#define BOOT_CAP_RESET_CMD   0x0001

Definition at line 564 of file io_usbvend.h.

#define BOOT_DESC_VER_1   1

Definition at line 558 of file io_usbvend.h.

#define BOOT_DESC_VER_2   2

Definition at line 559 of file io_usbvend.h.

#define DEVICE_ID_FROM_USB_PRODUCT_ID (   ProductId)    ((__u16) ((ProductId) & (EDGEPORT_DEVICE_ID_MASK)))

Definition at line 226 of file io_usbvend.h.

#define EDGE_BOOT_DESC_ADDR   0x00FF7FC0

Definition at line 384 of file io_usbvend.h.

#define EDGE_BOOT_DESC_LEN   sizeof(struct edge_boot_descriptor)

Definition at line 385 of file io_usbvend.h.

#define EDGE_COMPATIBILITY_MASK0   0x0001

Definition at line 338 of file io_usbvend.h.

#define EDGE_COMPATIBILITY_MASK1   0x3FFF

Definition at line 339 of file io_usbvend.h.

#define EDGE_COMPATIBILITY_MASK2   0x0001

Definition at line 340 of file io_usbvend.h.

#define EDGE_DOWNLOAD_FILE_80251   0xFE

Definition at line 366 of file io_usbvend.h.

#define EDGE_DOWNLOAD_FILE_I930   0xFF

Definition at line 365 of file io_usbvend.h.

#define EDGE_DOWNLOAD_FILE_INTERNAL   0xFF

Definition at line 364 of file io_usbvend.h.

#define EDGE_DOWNLOAD_FILE_NONE   0

Definition at line 363 of file io_usbvend.h.

#define EDGE_FW_BULK_MAX_PACKET_SIZE   64

Definition at line 242 of file io_usbvend.h.

#define EDGE_FW_BULK_READ_BUFFER_SIZE   1024

Definition at line 243 of file io_usbvend.h.

#define EDGE_FW_GET_TX_CREDITS_SEND_THRESHOLD (   InitialCredit,
  MaxPacketSize 
)    (max(((InitialCredit) / 4), (MaxPacketSize)))

Definition at line 240 of file io_usbvend.h.

#define EDGE_FW_INT_INTERVAL   2

Definition at line 248 of file io_usbvend.h.

#define EDGE_FW_INT_MAX_PACKET_SIZE   32

Definition at line 245 of file io_usbvend.h.

#define EDGE_MANUF_DESC_ADDR   0x00FF7C00

Definition at line 380 of file io_usbvend.h.

#define EDGE_MANUF_DESC_ADDR_V1   0x00FF7F00

Definition at line 375 of file io_usbvend.h.

#define EDGE_MANUF_DESC_LEN   sizeof(struct edge_manuf_descriptor)

Definition at line 381 of file io_usbvend.h.

#define EDGE_MANUF_DESC_LEN_V1   sizeof(EDGE_MANUF_DESCRIPTOR_V1)

Definition at line 376 of file io_usbvend.h.

#define EDGEPORT_DEVICE_ID_MASK   0x0ff

Definition at line 69 of file io_usbvend.h.

#define GENERATION_ID_FROM_USB_PRODUCT_ID (   ProductId)    ((__u16) ((ProductId >> 8) & (ION_GENERATION_MASK)))

Definition at line 220 of file io_usbvend.h.

#define I2C_DESC_TYPE_CONFIG   0x04

Definition at line 582 of file io_usbvend.h.

#define I2C_DESC_TYPE_CONFIG_KLUDGE   0x14

Definition at line 585 of file io_usbvend.h.

#define I2C_DESC_TYPE_DEVICE   0x03

Definition at line 581 of file io_usbvend.h.

#define I2C_DESC_TYPE_FIRMWARE_AUTO   0x07

Definition at line 584 of file io_usbvend.h.

#define I2C_DESC_TYPE_FIRMWARE_BASIC   0x02

Definition at line 580 of file io_usbvend.h.

#define I2C_DESC_TYPE_FIRMWARE_BLANK   0xf2

Definition at line 589 of file io_usbvend.h.

#define I2C_DESC_TYPE_INFO_BASIC   0x01

Definition at line 579 of file io_usbvend.h.

#define I2C_DESC_TYPE_ION   0

Definition at line 592 of file io_usbvend.h.

#define I2C_DESC_TYPE_STRING   0x05

Definition at line 583 of file io_usbvend.h.

#define I2C_DESC_TYPE_WATCHPORT_CALIBRATION_DATA   0x16

Definition at line 587 of file io_usbvend.h.

#define I2C_DESC_TYPE_WATCHPORT_VERSION   0x15

Definition at line 586 of file io_usbvend.h.

#define ION_DEVICE_ID_80251_NETCHIP   0x020

Definition at line 56 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_1   0x015

Definition at line 92 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_16_DUAL_CPU   0x012

Definition at line 89 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_2   0x005

Definition at line 76 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_21   0x00D

Definition at line 84 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_21C   0x01E

Definition at line 105 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_221C   0x01C

Definition at line 101 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_22C   0x01D

Definition at line 103 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_22I   0x01A

Definition at line 97 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_2_DIN   0x010

Definition at line 87 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_2C   0x01B

Definition at line 100 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_2I   0x007

Definition at line 78 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_4   0x001

Definition at line 72 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_412_4   0x019

Definition at line 96 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_412_8   0x018

Definition at line 95 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_42   0x017

Definition at line 94 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_421   0x00C

Definition at line 83 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_4_DIN   0x011

Definition at line 88 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_4I   0x006

Definition at line 77 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_4S   0x042

Definition at line 121 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_4T   0x004

Definition at line 75 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_8   0x00F

Definition at line 86 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_8_DUAL_CPU   0x00E

Definition at line 85 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_8I   0x014

Definition at line 91 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_8R   0x002

Definition at line 73 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_8RR   0x008

Definition at line 79 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_8S   0x043

Definition at line 122 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_COMPATIBLE   0x013

Definition at line 90 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_E   0x0E0

Definition at line 125 of file io_usbvend.h.

#define ION_DEVICE_ID_EDGEPORT_PARALLEL_PORT   0x00B

Definition at line 82 of file io_usbvend.h.

#define ION_DEVICE_ID_EPOS44   0x016

Definition at line 93 of file io_usbvend.h.

#define ION_DEVICE_ID_GENERATION_1   0x00

Definition at line 59 of file io_usbvend.h.

#define ION_DEVICE_ID_GENERATION_2   0x01

Definition at line 60 of file io_usbvend.h.

#define ION_DEVICE_ID_GENERATION_3   0x02

Definition at line 61 of file io_usbvend.h.

#define ION_DEVICE_ID_GENERATION_4   0x03

Definition at line 62 of file io_usbvend.h.

#define ION_DEVICE_ID_HUB_MASK   0x0080

Definition at line 65 of file io_usbvend.h.

#define ION_DEVICE_ID_MT4X56USB   0x1403

Definition at line 217 of file io_usbvend.h.

#define ION_DEVICE_ID_PLUS_PWR_HP4C   0x30D

Definition at line 179 of file io_usbvend.h.

#define ION_DEVICE_ID_PLUS_PWR_HP4CD   0x30C

Definition at line 178 of file io_usbvend.h.

#define ION_DEVICE_ID_PLUS_PWR_PCI   0x30E

Definition at line 180 of file io_usbvend.h.

#define ION_DEVICE_ID_RAPIDPORT_4   0x003

Definition at line 74 of file io_usbvend.h.

#define ION_DEVICE_ID_TI3410_EDGEPORT_1   0x040

Definition at line 117 of file io_usbvend.h.

#define ION_DEVICE_ID_TI3410_EDGEPORT_1I   0x041

Definition at line 118 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_1   0x0215

Definition at line 135 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_2   0x0205

Definition at line 129 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_21   0x020D

Definition at line 133 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_21C   0x021E

Definition at line 143 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_221C   0x021C

Definition at line 139 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_22C   0x021D

Definition at line 141 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_22I   0x021A

Definition at line 137 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_2C   0x021B

Definition at line 138 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_2I   0x0207

Definition at line 131 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_4   0x0201

Definition at line 128 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_416   0x0212

Definition at line 134 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_416B   0x0247

Definition at line 153 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_42   0x0217

Definition at line 136 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_421   0x020C

Definition at line 132 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_4I   0x0206

Definition at line 130 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_4S   0x0242

Definition at line 150 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_8   0x0244

Definition at line 152 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_EDGEPORT_8S   0x0243

Definition at line 151 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_TI3410_EDGEPORT_1   0x0240

Definition at line 146 of file io_usbvend.h.

#define ION_DEVICE_ID_TI_TI3410_EDGEPORT_1I   0x0241

Definition at line 147 of file io_usbvend.h.

#define ION_DEVICE_ID_UNCONFIGURED_EDGE_DEVICE   0x000

Definition at line 71 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_ACCELERATION   0x309

Definition at line 173 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_DISTANCE   0x30A

Definition at line 174 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_HUMIDITY   0x305

Definition at line 168 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_LIGHT   0x307

Definition at line 171 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_MOISTURE   0x303

Definition at line 166 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_MOTION   0x302

Definition at line 165 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_POWER   0x306

Definition at line 170 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_PROX_DIST   0x30B

Definition at line 175 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_PROXIMITY   0x301

Definition at line 164 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_RADIATION   0x308

Definition at line 172 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_TEMPERATURE   0x304

Definition at line 167 of file io_usbvend.h.

#define ION_DEVICE_ID_WP_UNSERIALIZED   0x300

Definition at line 163 of file io_usbvend.h.

#define ION_GENERATION_MASK   0x03

Definition at line 63 of file io_usbvend.h.

#define ION_OEM_ID_AGILENT   6

Definition at line 50 of file io_usbvend.h.

#define ION_OEM_ID_GENERIC   2

Definition at line 46 of file io_usbvend.h.

#define ION_OEM_ID_ION   0

Definition at line 44 of file io_usbvend.h.

#define ION_OEM_ID_MAC   3

Definition at line 47 of file io_usbvend.h.

#define ION_OEM_ID_MEGAWOLF   4

Definition at line 48 of file io_usbvend.h.

#define ION_OEM_ID_MULTITECH   5

Definition at line 49 of file io_usbvend.h.

#define ION_OEM_ID_NLYNX   1

Definition at line 45 of file io_usbvend.h.

#define MAKE_USB_PRODUCT_ID (   OemId,
  DeviceId 
)    ((__u16) (((OemId) << 10) || (DeviceId)))

Definition at line 223 of file io_usbvend.h.

#define MANUF_ASSYNUM_LENGTH   sizeof(((struct edge_manuf_descriptor *)0)->AssemblyNumber)

Definition at line 513 of file io_usbvend.h.

#define MANUF_BOARD_REV_A   1

Definition at line 510 of file io_usbvend.h.

#define MANUF_BOARD_REV_A   1

Definition at line 510 of file io_usbvend.h.

#define MANUF_BOARD_REV_B   2

Definition at line 501 of file io_usbvend.h.

#define MANUF_BOARD_REV_C   3

Definition at line 502 of file io_usbvend.h.

#define MANUF_BOARD_REV_GENERATION_2   0x20

Definition at line 503 of file io_usbvend.h.

#define MANUF_CPU_80251   0x20

Definition at line 497 of file io_usbvend.h.

#define MANUF_CPU_REV_1   1

Definition at line 508 of file io_usbvend.h.

#define MANUF_CPU_REV_AD4   1

Definition at line 495 of file io_usbvend.h.

#define MANUF_CPU_REV_AD5   2

Definition at line 496 of file io_usbvend.h.

#define MANUF_DESC_VER_1   1

Definition at line 474 of file io_usbvend.h.

#define MANUF_DESC_VER_2   2

Definition at line 475 of file io_usbvend.h.

#define MANUF_ION_CONFIG_DIAG   0x40

Definition at line 518 of file io_usbvend.h.

#define MANUF_ION_CONFIG_DIAG_NO_LOOP   0x20

Definition at line 517 of file io_usbvend.h.

#define MANUF_ION_CONFIG_MASTER   0x80

Definition at line 520 of file io_usbvend.h.

#define MANUF_MANUFDATE_LENGTH   sizeof(((struct edge_manuf_descriptor *)0)->ManufDate)

Definition at line 515 of file io_usbvend.h.

#define MANUF_OEMASSYNUM_LENGTH   sizeof(((struct edge_manuf_descriptor *)0)->OemAssyNumber)

Definition at line 514 of file io_usbvend.h.

#define MANUF_SERNUM_LENGTH   sizeof(((struct edge_manuf_descriptor *)0)->SerialNumber)

Definition at line 512 of file io_usbvend.h.

#define MANUF_UART_EXAR_2852   2

Definition at line 484 of file io_usbvend.h.

#define MANUF_UART_EXAR_654   1

Definition at line 483 of file io_usbvend.h.

#define MANUF_UART_EXAR_654_EARLY   0

Definition at line 482 of file io_usbvend.h.

#define MAX_ASSEMBLYNUMBER_LEN   14

Definition at line 424 of file io_usbvend.h.

#define MAX_SERIALNUMBER_LEN   12

Definition at line 423 of file io_usbvend.h.

#define MAX_SIZE_REQ_ION_READ_MEM   ((__u16)64)

Definition at line 389 of file io_usbvend.h.

#define MAX_SIZE_REQ_ION_WRITE_MEM   ((__u16)64)

Definition at line 390 of file io_usbvend.h.

#define NCR_DEVICE_ID_EPIC_0202   0x0202

Definition at line 200 of file io_usbvend.h.

#define NCR_DEVICE_ID_EPIC_0203   0x0203

Definition at line 201 of file io_usbvend.h.

#define NCR_DEVICE_ID_EPIC_0310   0x0310

Definition at line 202 of file io_usbvend.h.

#define NCR_DEVICE_ID_EPIC_0311   0x0311

Definition at line 203 of file io_usbvend.h.

#define NCR_DEVICE_ID_EPIC_0312   0x0312

Definition at line 204 of file io_usbvend.h.

#define NCR_DEVICE_ID_MASK   0xffff

Definition at line 199 of file io_usbvend.h.

#define OEM_ID_FROM_USB_PRODUCT_ID (   ProductId)    ((__u16) (((ProductId) >> 10) & 0x3F))

Definition at line 229 of file io_usbvend.h.

#define SYMBOL_DEVICE_ID_KEYFOB   0x0700

Definition at line 212 of file io_usbvend.h.

#define SYMBOL_DEVICE_ID_MASK   0xffff

Definition at line 211 of file io_usbvend.h.

#define TI_BOARD_REV_COMPACT   1

Definition at line 646 of file io_usbvend.h.

#define TI_BOARD_REV_TI_EP   0

Definition at line 645 of file io_usbvend.h.

#define TI_BOARD_REV_WATCHPORT   2

Definition at line 647 of file io_usbvend.h.

#define TI_CONFIG2_RS232   0x01

Definition at line 661 of file io_usbvend.h.

#define TI_CONFIG2_RS422   0x02

Definition at line 662 of file io_usbvend.h.

#define TI_CONFIG2_RS485   0x04

Definition at line 663 of file io_usbvend.h.

#define TI_CONFIG2_SWITCHABLE   0x08

Definition at line 664 of file io_usbvend.h.

#define TI_CONFIG2_WATCHPORT   0x10

Definition at line 666 of file io_usbvend.h.

#define TI_CPU_REV_3410   3

Definition at line 643 of file io_usbvend.h.

#define TI_CPU_REV_5052   2

Definition at line 642 of file io_usbvend.h.

#define TI_GET_BOARD_REVISION (   x)    (__u8)(((x)&0x0f))

Definition at line 651 of file io_usbvend.h.

#define TI_GET_CPU_REVISION (   x)    (__u8)((((x)>>4)&0x0f))

Definition at line 650 of file io_usbvend.h.

#define TI_GET_I2C_SIZE (   x)    ((((x) & TI_I2C_SIZE_MASK)+1)*256)

Definition at line 654 of file io_usbvend.h.

#define TI_I2C_SIZE_MASK   0x1f

Definition at line 653 of file io_usbvend.h.

#define TI_MANUF_VERSION_0   0

Definition at line 658 of file io_usbvend.h.

#define TI_MAX_I2C_SIZE   (16 * 1024)

Definition at line 656 of file io_usbvend.h.

#define UMP3410   0x10

Definition at line 573 of file io_usbvend.h.

#define UMP5152   0x52

Definition at line 572 of file io_usbvend.h.

#define USB_REQUEST_ION_DIS_INT_TIMER   0x80

Definition at line 285 of file io_usbvend.h.

#define USB_REQUEST_ION_ENABLE_SUSPEND   9

Definition at line 278 of file io_usbvend.h.

#define USB_REQUEST_ION_EXEC_DL_CODE   7

Definition at line 275 of file io_usbvend.h.

#define USB_REQUEST_ION_GET_EPIC_DESC   1

Definition at line 269 of file io_usbvend.h.

#define USB_REQUEST_ION_READ_RAM   3

Definition at line 271 of file io_usbvend.h.

#define USB_REQUEST_ION_READ_ROM   5

Definition at line 273 of file io_usbvend.h.

#define USB_REQUEST_ION_RECV_IOSP   11

Definition at line 282 of file io_usbvend.h.

#define USB_REQUEST_ION_RESET_DEVICE   0

Definition at line 268 of file io_usbvend.h.

#define USB_REQUEST_ION_SEND_IOSP   10

Definition at line 281 of file io_usbvend.h.

#define USB_REQUEST_ION_WRITE_RAM   4

Definition at line 272 of file io_usbvend.h.

#define USB_REQUEST_ION_WRITE_ROM   6

Definition at line 274 of file io_usbvend.h.

#define USB_VENDOR_ID_AXIOHM   0x05D9 /* Axiohm VID */

Definition at line 186 of file io_usbvend.h.

#define USB_VENDOR_ID_AXIOHM   0x05D9

Definition at line 186 of file io_usbvend.h.

#define USB_VENDOR_ID_ION   0x1608

Definition at line 31 of file io_usbvend.h.

#define USB_VENDOR_ID_NCR   0x0404

Definition at line 197 of file io_usbvend.h.

#define USB_VENDOR_ID_SYMBOL   0x05E0

Definition at line 210 of file io_usbvend.h.

#define USB_VENDOR_ID_TI   0x0451

Definition at line 32 of file io_usbvend.h.

Function Documentation

struct ti_i2c_desc __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

__u8 CheckSum

Definition at line 603 of file io_usbvend.h.

__u8 CpuRev_BoardRev

Definition at line 684 of file io_usbvend.h.

__u8 Data[0]

Definition at line 604 of file io_usbvend.h.

__u16 DevPid

Definition at line 649 of file io_usbvend.h.

__u8 HubConfig1

Definition at line 687 of file io_usbvend.h.

__u8 HubConfig2

Definition at line 688 of file io_usbvend.h.

__u8 HubCurrent

Definition at line 651 of file io_usbvend.h.

__u16 HubPid

Definition at line 648 of file io_usbvend.h.

__u8 HubTime

Definition at line 650 of file io_usbvend.h.

__u16 HubVid

Definition at line 647 of file io_usbvend.h.

__u8 IonConfig

Definition at line 681 of file io_usbvend.h.

__u8 IonConfig2

Definition at line 682 of file io_usbvend.h.

__le16 Length

Definition at line 623 of file io_usbvend.h.

__u8 NumPorts

Definition at line 685 of file io_usbvend.h.

__u8 NumVirtualPorts

Definition at line 686 of file io_usbvend.h.

__u8 Power

Definition at line 639 of file io_usbvend.h.

__u8 Reserved

Definition at line 690 of file io_usbvend.h.

__u16 Size

Definition at line 602 of file io_usbvend.h.

__u8 TotalPorts

Definition at line 689 of file io_usbvend.h.

Definition at line 601 of file io_usbvend.h.

__u8 Ver_Major

Definition at line 609 of file io_usbvend.h.

__u8 Ver_Minor

Definition at line 610 of file io_usbvend.h.

__u8 Version

Definition at line 683 of file io_usbvend.h.

__u8 Version_Major

Definition at line 617 of file io_usbvend.h.

__u8 Version_Minor

Definition at line 618 of file io_usbvend.h.