Lines Matching +full:set +full:- +full:of +full:- +full:ports

1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * USBVEND.H Vendor-specific USB definitions
7 * must be kept backward-compatible with older firmware.
25 // Definitions of USB product IDs
33 // Definitions of USB product IDs (PID)
34 // We break the USB-defined PID into an OEM Id field (upper 6 bits)
36 // device this actually is regardless of what the OEM wants to
40 // ION-device OEM IDs
50 // ION-device Device IDs
51 // Product IDs - assigned to match middle digit of serial number (No longer true)
53 #define ION_DEVICE_ID_80251_NETCHIP 0x020 // This bit is set in the PID if this edgeport hardware$
59 #define ION_DEVICE_ID_GENERATION_4 0x03 // Watchport Family of products
77 … ION_DEVICE_ID_EDGEPORT_8_HANDBUILT 0x009 // Hand-built Edgeport/8 (Placeholder, used in middle di…
78 …DEVICE_ID_MULTIMODEM_4X56 0x00A // MultiTech version of RP/4 (Placeholder, used in middle digit o…
82 #define ION_DEVICE_ID_EDGEPORT_8_DUAL_CPU 0x00E // Half of an Edgeport/8 (the kind with 2 EP/4s on …
83 #define ION_DEVICE_ID_EDGEPORT_8 0x00F // Edgeport/8 (single-CPU)
86 #define ION_DEVICE_ID_EDGEPORT_16_DUAL_CPU 0x012 // Half of an Edgeport/16 (the kind with 2 EP/8s)
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)
94 …CE_ID_EDGEPORT_22I 0x01A // Edgeport/22I is an Edgeport/4 with ports 1&2 RS422 and ports 3&4 RS232
97 #define ION_DEVICE_ID_EDGEPORT_2C 0x01B // Edgeport/2c is a TI based Edgeport/2 - Small I2c
99 // 2 external hub ports - Large I2C
101 // 2 external hub ports - Large I2C
113 // Generation 3 devices -- 3410 based edgport/1 (256 byte I2C)
115 #define ION_DEVICE_ID_TI3410_EDGEPORT_1I 0x041 // Edgeport/1i- RS422 model
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
134 …D_TI_EDGEPORT_22I 0x021A // Edgeport/22I is an Edgeport/4 with ports 1&2 RS422 and ports 3&4 RS232
137 // 2 external hub ports - Large I2C
139 // 2 external hub ports - Large I2C
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
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…
231 // Definitions of parameters for download code. Note that these are
232 // specific to a given version of download code and must change if the
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
297 // descriptor, but instead return STALL on receipt of the
303 // This __u32 defines which Vendor-specific commands/functionality
306 __u32 VendEnableSuspend : 1; // 0001 Set if device supports ION_ENABLE_SUSPEND
312 // xxxx Set if device supports:
321 __u32 IOSPWriteMCR : 1; // 0100 MCR register writes (set/clr DTR/RTS)
325 __u32 IOSPRxDataAvail : 1; // 1000 Return status of RX Fifo (Data available in Fifo)
331 __u32 TrueEdgeport : 1; // 0001 Set if device is a 'real' Edgeport
332 // (Used only by driver, NEVER set by an EPiC device)
343 __u8 EpicVer; // Version of EPiC spec supported
345 __u8 NumPorts; // Number of serial ports supported
346 __u8 iDownloadFile; // Index of string containing download code filename
372 // Version 1 (original) format of DeviceParams
376 // Version 2 format of DeviceParams. This format is longer (3C0h)
392 // Notes for the following two ION vendor-specific param descriptors:
396 // 2. Any strings in the structures are in USB-defined string
398 // if necessary, with a minimum of work on the 930. This also
402 // 4. All unused areas should be set to 00 for future expansion.
408 // these values are set or modified by manufacturing. It is located at
409 // xC00-xFBF (length 3C0h) in the ROM.
410 // This structure is a superset of the v1 structure and is arranged so
411 // that all of the v1 fields remain at the same address. We are just
412 // adding more room to the front of the structure to hold the descriptors.
414 // The actual contents of this structure are defined in a 930 assembly
416 // program. The C definition of this structure just defines a dummy
418 // descriptor starts at xC00). At the bottom of the structure are the
426 __u16 RootDescTable[0x10]; // C00 Root of descriptor tables (just a placeholder)
429 // Start of v1-compatible section
435 __u8 RomSize; // F04 Size of ROM/E2PROM in K
436 __u8 RamSize; // F05 Size of external RAM in K
440 __u8 NumPorts; // F08 Number of ports
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 --
463 __u8 IonPid; // FBE Product ID, == LSB of USB DevDesc.PID
465 // 00 here instead of 01)
467 // FBF end of structure, total len = 3C0h
472 #define MANUF_DESC_VER_1 1 // Original definition of MANUF_DESC
487 // changes in a software-visible way, such that the 930 software or
491 // Values of bottom 5 bits of CpuRev & BoardRev for
492 // Implementation 0 (ie, 930-based)
500 #define MANUF_BOARD_REV_C 3 // Manuf Rev C, 2/4 ports, rs232/rs422
504 // Values of bottom 5 bits of CpuRev & BoardRev for
505 // Implementation 1 (ie, 251+Netchip-based)
508 #define MANUF_BOARD_REV_A 1 // First rev of 251+Netchip design
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)
524 // which are specific to a given build of the boot code. It
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
543 __u8 NumDescTypes; // CC Number of supported descriptor types
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 --
552 // FF end of structure, total len = 80
556 #define BOOT_DESC_VER_1 1 // Original definition of BOOT_PARAMS
562 #define BOOT_CAP_RESET_CMD 0x0001 // If set, boot correctly supports ION_RESET_DEVICE
594 __u8 Type; // Type of descriptor
595 __le16 Size; // Size of data only not including header
596 __u8 CheckSum; // Checksum (8 bit sum of data only)
616 // Structure of header of download image in fw_down.h
624 // bit 7: 1 - power switching supported
625 // 0 - power switching not supported
627 // bit 0: 1 - self powered
628 // 0 - bus powered
672 __u8 NumPorts; // Number of ports for this UMP
673 __u8 NumVirtualPorts; // Number of Virtual ports
676 __u8 TotalPorts; // Total Number of Com Ports for the entire device (All UMPs)