Lines Matching +full:software +full:- +full:based
1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * USBVEND.H Vendor-specific USB definitions
7 * must be kept backward-compatible with older firmware.
34 // We break the USB-defined PID into an OEM Id field (upper 6 bits)
40 // ION-device OEM IDs
50 // ION-device Device IDs
51 // Product IDs - assigned to match middle digit of serial number (No longer true)
54 // is based on the 80251+Netchip.
56 #define ION_DEVICE_ID_GENERATION_1 0x00 // Value for 930 based edgeports
77 // ION_DEVICE_ID_EDGEPORT_8_HANDBUILT 0x009 // Hand-built Edgeport/8 (Placeholder, used in middle d…
83 #define ION_DEVICE_ID_EDGEPORT_8 0x00F // Edgeport/8 (single-CPU)
88 #define ION_DEVICE_ID_EDGEPORT_8I 0x014 // Edgeport/8 RS422 (single-CPU)
90 #define ION_DEVICE_ID_EPOS44 0x016 // Half of an EPOS/44 (TIUMP BASED)
96 // Compact Form factor TI based devices 2c, 21c, 22c, 221c
97 #define ION_DEVICE_ID_EDGEPORT_2C 0x01B // Edgeport/2c is a TI based Edgeport/2 - Small I2c
98 #define ION_DEVICE_ID_EDGEPORT_221C 0x01C // Edgeport/221c is a TI based Edgeport/2 with lucent ch…
99 // 2 external hub ports - Large I2C
100 #define ION_DEVICE_ID_EDGEPORT_22C 0x01D // Edgeport/22c is a TI based Edgeport/2 with
101 // 2 external hub ports - Large I2C
102 #define ION_DEVICE_ID_EDGEPORT_21C 0x01E // Edgeport/21c is a TI based Edgeport/2 with lucent chip
113 // Generation 3 devices -- 3410 based edgport/1 (256 byte I2C)
115 #define ION_DEVICE_ID_TI3410_EDGEPORT_1I 0x041 // Edgeport/1i- RS422 model
117 // Ti based software switchable RS232/RS422/RS485 devices
118 #define ION_DEVICE_ID_EDGEPORT_4S 0x042 // Edgeport/4s - software switchable model
119 #define ION_DEVICE_ID_EDGEPORT_8S 0x043 // Edgeport/8s - software switchable model
124 // Edgeport TI based devices
136 #define ION_DEVICE_ID_TI_EDGEPORT_221C 0x021C // Edgeport/221c is a TI based Edgeport/2 with lucen…
137 // 2 external hub ports - Large I2C
138 #define ION_DEVICE_ID_TI_EDGEPORT_22C 0x021D // Edgeport/22c is a TI based Edgeport/2 with
139 // 2 external hub ports - Large I2C
140 #define ION_DEVICE_ID_TI_EDGEPORT_21C 0x021E // Edgeport/21c is a TI based Edgeport/2 with lucent …
142 // Generation 3 devices -- 3410 based edgport/1 (256 byte I2C)
144 #define ION_DEVICE_ID_TI_TI3410_EDGEPORT_1I 0x0241 // Edgeport/1i- RS422 model
146 // Ti based software switchable RS232/RS422/RS485 devices
147 #define ION_DEVICE_ID_TI_EDGEPORT_4S 0x0242 // Edgeport/4s - software switchable model
148 #define ION_DEVICE_ID_TI_EDGEPORT_8S 0x0243 // Edgeport/8s - software switchable model
149 #define ION_DEVICE_ID_TI_EDGEPORT_8 0x0244 // Edgeport/8 (single-CPU)
159 // Watchport based on 3410 both 1-wire and binary products (16K I2C)
160 #define ION_DEVICE_ID_WP_UNSERIALIZED 0x300 // Watchport based on 3410 both 1-wire and binary prod…
250 // Definitions of I/O Networks vendor-specific requests
253 // bmRequestType = 01000000 Set vendor-specific, to device
254 // bmRequestType = 11000000 Get vendor-specific, to device
261 // wValue = 16-bit address
273 #define USB_REQUEST_ION_EXEC_DL_CODE 7 // Begin execution of RAM-based download
289 // Define parameter values for our vendor-specific commands
295 // This descriptor is only returned by Edgeport-compatible devices
303 // This __u32 defines which Vendor-specific commands/functionality
392 // Notes for the following two ION vendor-specific param descriptors:
396 // 2. Any strings in the structures are in USB-defined string
409 // xC00-xFBF (length 3C0h) in the ROM.
429 // Start of v1-compatible section
442 // so host can track changes to USB-only descriptors.
446 __le16 SerialNumber[MAX_SERIALNUMBER_LEN]; // F0E "01-01-000100" Unicode Serial Number
450 __le16 AssemblyNumber[MAX_ASSEMBLYNUMBER_LEN]; // F28 "350-1000-01-A " assembly number
460 __u8 Reserved3[0x4D]; // F70 -- unused, set to 0 --
487 // changes in a software-visible way, such that the 930 software or
492 // Implementation 0 (ie, 930-based)
505 // Implementation 1 (ie, 251+Netchip-based)
510 #define MANUF_SERNUM_LENGTH sizeof(((struct edge_manuf_descriptor *)0)->SerialNumber)
511 #define MANUF_ASSYNUM_LENGTH sizeof(((struct edge_manuf_descriptor *)0)->AssemblyNumber)
512 #define MANUF_OEMASSYNUM_LENGTH sizeof(((struct edge_manuf_descriptor *)0)->OemAssyNumber)
513 #define MANUF_MANUFDATE_LENGTH sizeof(((struct edge_manuf_descriptor *)0)->ManufDate)
516 #define MANUF_ION_CONFIG_DIAG 0x40 // 930 based device: 1=Run h/w diags, 0=norm
518 #define MANUF_ION_CONFIG_MASTER 0x80 // 930 based device: 1=Master mode, 0=Normal
526 // - FF:xFFF. Note that the 930-mandated UCONFIG bytes are
533 __u8 Reserved1; // C3 -- unused, set to 0 --
535 __le16 BootCodeLength; // C4 Boot code goes from FF:0000 to FF:(len-1)
542 __u16 EnumRootDescTable; // CA Root of ROM-based descriptor table
547 __le16 Capabilities; // CE-CF Capabilities flags (LE format)
548 __u8 Reserved2[0x28]; // D0 -- unused, set to 0 --
549 __u8 UConfig0; // F8 930-defined CPU configuration byte 0
550 __u8 UConfig1; // F9 930-defined CPU configuration byte 1
551 __u8 Reserved3[6]; // FA -- unused, set to 0 --
624 // bit 7: 1 - power switching supported
625 // 0 - power switching not supported
627 // bit 0: 1 - self powered
628 // 0 - bus powered
640 #define TI_CPU_REV_5052 2 // 5052 based edgeports
641 #define TI_CPU_REV_3410 3 // 3410 based edgeports
643 #define TI_BOARD_REV_TI_EP 0 // Basic ti based edgeport