Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: greybus: remove old es1 endpoint description

The Toshiba ES1 chip is no longer around, so remove the USB descriptor
documentation for it as no one cares anymore.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>

-81
-70
drivers/staging/greybus/Documentation/es1_ap_desc.c
··· 1 - /* ES1 AP Bridge Chip USB descriptor definitions */ 2 - 3 - static const u8 es1_dev_descriptor[] = { 4 - 0x12, /* __u8 bLength */ 5 - 0x01, /* __u8 bDescriptorType; Device */ 6 - 0x00, 0x02 /* __le16 bcdUSB v2.0 */ 7 - 0x00, /* __u8 bDeviceClass */ 8 - 0x00, /* __u8 bDeviceClass */ 9 - 0x00, /* __u8 bDeviceSubClass; */ 10 - 0x00, /* __u8 bDeviceProtocol; */ 11 - 0x40, /* __u8 bMaxPacketSize0; 2^64 = 512 Bytes */ 12 - 13 - 0xff, 0xff, /* __le16 idVendor; 0xffff made up for now */ 14 - 0x01, 0x00, /* __le16 idProduct; 0x0001 made up for now */ 15 - 0x01, 0x00, /* __le16 bcdDevice; ES1 */ 16 - 17 - 0x03, /* __u8 iManufacturer; */ 18 - 0x02, /* __u8 iProduct; */ 19 - 0x01, /* __u8 iSerialNumber; */ 20 - 0x01 /* __u8 bNumConfigurations; */ 21 - }; 22 - 23 - static const u8 es1_config_descriptor[] = { 24 - /* one configuration */ 25 - 0x09, /* __u8 bLength; */ 26 - 0x02, /* __u8 bDescriptorType; Configuration */ 27 - 0x19, 0x00, /* __le16 wTotalLength; */ 28 - 0x01, /* __u8 bNumInterfaces; (1) */ 29 - 0x01, /* __u8 bConfigurationValue; */ 30 - 0x00, /* __u8 iConfiguration; */ 31 - 0xc0, /* __u8 bmAttributes; 32 - Bit 7: must be set, 33 - 6: Self-powered, 34 - 5: Remote wakeup, 35 - 4..0: resvd */ 36 - 0x00, /* __u8 MaxPower; */ 37 - 38 - /* one interface */ 39 - 0x09, /* __u8 if_bLength; */ 40 - 0x04, /* __u8 if_bDescriptorType; Interface */ 41 - 0x00, /* __u8 if_bInterfaceNumber; */ 42 - 0x00, /* __u8 if_bAlternateSetting; */ 43 - 0x03, /* __u8 if_bNumEndpoints; */ 44 - 0xff, /* __u8 if_bInterfaceClass; Vendor-specific */ 45 - 0xff, /* __u8 if_bInterfaceSubClass; Vendor-specific */ 46 - 0xff, /* __u8 if_bInterfaceProtocol; Vendor-specific */ 47 - 0x00, /* __u8 if_iInterface; */ 48 - 49 - /* three endpoints */ 50 - 0x07, /* __u8 ep_bLength; */ 51 - 0x05, /* __u8 ep_bDescriptorType; Endpoint */ 52 - 0x81, /* __u8 ep_bEndpointAddress; IN Endpoint 1 */ 53 - 0x03, /* __u8 ep_bmAttributes; Interrupt */ 54 - 0x00, 0x04, /* __le16 ep_wMaxPacketSize; 1024 */ 55 - 0x40, /* __u8 ep_bInterval; 64ms */ 56 - 57 - 0x07, /* __u8 ep_bLength; */ 58 - 0x05, /* __u8 ep_bDescriptorType; Endpoint */ 59 - 0x82, /* __u8 ep_bEndpointAddress; IN Endpoint 2 */ 60 - 0x02, /* __u8 ep_bmAttributes; Bulk */ 61 - 0x00, 0x04, /* __le16 ep_wMaxPacketSize; 1024 */ 62 - 0x40 /* __u8 ep_bInterval; */ 63 - 64 - 0x07, /* __u8 ep_bLength; */ 65 - 0x05, /* __u8 ep_bDescriptorType; Endpoint */ 66 - 0x02, /* __u8 ep_bEndpointAddress; Out Endpoint 2 */ 67 - 0x02, /* __u8 ep_bmAttributes; Bulk */ 68 - 0x00, 0x04, /* __le16 ep_wMaxPacketSize; 1024 */ 69 - 0x40 /* __u8 ep_bInterval; */ 70 - };
-11
drivers/staging/greybus/devices
··· 1 - T: Bus=01 Lev=03 Prnt=07 Port=02 Cnt=03 Dev#= 12 Spd=12 MxCh= 0 2 - D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 3 - P: Vendor=ffff ProdID=0001 Rev= 1.00 4 - S: Manufacturer=Greybus 5 - S: Product=SVC Bridge 6 - S: SerialNumber=12239 7 - C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA 8 - I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=es1_ap_driver 9 - E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=64ms 10 - E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms 11 - E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms