io_usbvend.h (f2cbb4f01936a3e4225692e03b084b78c56d386d) io_usbvend.h (6e8cf7751f9fb913095d6142d068f41fbf0424bb)
1/************************************************************************
2 *
3 * USBVEND.H Vendor-specific USB definitions
4 *
5 * NOTE: This must be kept in sync with the Edgeport firmware and
6 * must be kept backward-compatible with older firmware.
7 *
8 ************************************************************************

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

25 ************************************************************************/
26
27//
28// Definitions of USB product IDs
29//
30
31#define USB_VENDOR_ID_ION 0x1608 // Our VID
32#define USB_VENDOR_ID_TI 0x0451 // TI VID
1/************************************************************************
2 *
3 * USBVEND.H Vendor-specific USB definitions
4 *
5 * NOTE: This must be kept in sync with the Edgeport firmware and
6 * must be kept backward-compatible with older firmware.
7 *
8 ************************************************************************

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

25 ************************************************************************/
26
27//
28// Definitions of USB product IDs
29//
30
31#define USB_VENDOR_ID_ION 0x1608 // Our VID
32#define USB_VENDOR_ID_TI 0x0451 // TI VID
33#define USB_VENDOR_ID_AXIOHM 0x05D9 /* Axiohm VID */
33
34//
35// Definitions of USB product IDs (PID)
36// We break the USB-defined PID into an OEM Id field (upper 6 bits)
37// and a Device Id (bottom 10 bits). The Device Id defines what
38// device this actually is regardless of what the OEM wants to
39// call it.
40//

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

329 // This __u32 defines which 'general' features are supported
330
331 __u32 TrueEdgeport : 1; // 0001 Set if device is a 'real' Edgeport
332 // (Used only by driver, NEVER set by an EPiC device)
333 __u32 GenUnused : 31; // Available for future expansion, must be 0
334
335};
336
34
35//
36// Definitions of USB product IDs (PID)
37// We break the USB-defined PID into an OEM Id field (upper 6 bits)
38// and a Device Id (bottom 10 bits). The Device Id defines what
39// device this actually is regardless of what the OEM wants to
40// call it.
41//

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

330 // This __u32 defines which 'general' features are supported
331
332 __u32 TrueEdgeport : 1; // 0001 Set if device is a 'real' Edgeport
333 // (Used only by driver, NEVER set by an EPiC device)
334 __u32 GenUnused : 31; // Available for future expansion, must be 0
335
336};
337
338#define EDGE_COMPATIBILITY_MASK0 0x0001
339#define EDGE_COMPATIBILITY_MASK1 0x3FFF
340#define EDGE_COMPATIBILITY_MASK2 0x0001
341
337struct edge_compatibility_descriptor
338{
339 __u8 Length; // Descriptor Length (per USB spec)
340 __u8 DescType; // Descriptor Type (per USB spec, =DEVICE type)
341 __u8 EpicVer; // Version of EPiC spec supported
342 // (Currently must be 1)
343 __u8 NumPorts; // Number of serial ports supported
344 __u8 iDownloadFile; // Index of string containing download code filename

--- 343 unchanged lines hidden ---
342struct edge_compatibility_descriptor
343{
344 __u8 Length; // Descriptor Length (per USB spec)
345 __u8 DescType; // Descriptor Type (per USB spec, =DEVICE type)
346 __u8 EpicVer; // Version of EPiC spec supported
347 // (Currently must be 1)
348 __u8 NumPorts; // Number of serial ports supported
349 __u8 iDownloadFile; // Index of string containing download code filename

--- 343 unchanged lines hidden ---