.. | .. |
---|
1 | | -// SPDX-License-Identifier: GPL-2.0+ |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ |
---|
2 | 2 | /************************************************************************ |
---|
3 | 3 | * |
---|
4 | 4 | * USBVEND.H Vendor-specific USB definitions |
---|
.. | .. |
---|
212 | 212 | // |
---|
213 | 213 | // Definitions for other product IDs |
---|
214 | 214 | #define ION_DEVICE_ID_MT4X56USB 0x1403 // OEM device |
---|
| 215 | +#define ION_DEVICE_ID_E5805A 0x1A01 // OEM device (rebranded Edgeport/4) |
---|
215 | 216 | |
---|
216 | 217 | |
---|
217 | 218 | #define GENERATION_ID_FROM_USB_PRODUCT_ID(ProductId) \ |
---|
.. | .. |
---|
593 | 594 | __u8 Type; // Type of descriptor |
---|
594 | 595 | __le16 Size; // Size of data only not including header |
---|
595 | 596 | __u8 CheckSum; // Checksum (8 bit sum of data only) |
---|
596 | | - __u8 Data[0]; // Data starts here |
---|
| 597 | + __u8 Data[]; // Data starts here |
---|
597 | 598 | } __attribute__((packed)); |
---|
598 | 599 | |
---|
599 | 600 | // for 5152 devices only (type 2 record) |
---|
.. | .. |
---|
601 | 602 | struct ti_i2c_firmware_rec { |
---|
602 | 603 | __u8 Ver_Major; // Firmware Major version number |
---|
603 | 604 | __u8 Ver_Minor; // Firmware Minor version number |
---|
604 | | - __u8 Data[0]; // Download starts here |
---|
| 605 | + __u8 Data[]; // Download starts here |
---|
605 | 606 | } __attribute__((packed)); |
---|
606 | 607 | |
---|
607 | 608 | |
---|