From: Greg Kroah-Hartman Date: Mon, 19 Sep 2016 10:40:33 +0000 (+0200) Subject: staging: greybus: remove old es1 endpoint description X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=526dec064223d7e21b1e3c91759bddff1f7d968a;p=linux-beck.git 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 --- diff --git a/drivers/staging/greybus/Documentation/es1_ap_desc.c b/drivers/staging/greybus/Documentation/es1_ap_desc.c deleted file mode 100644 index 1502089ec29c..000000000000 --- a/drivers/staging/greybus/Documentation/es1_ap_desc.c +++ /dev/null @@ -1,70 +0,0 @@ -/* ES1 AP Bridge Chip USB descriptor definitions */ - -static const u8 es1_dev_descriptor[] = { - 0x12, /* __u8 bLength */ - 0x01, /* __u8 bDescriptorType; Device */ - 0x00, 0x02 /* __le16 bcdUSB v2.0 */ - 0x00, /* __u8 bDeviceClass */ - 0x00, /* __u8 bDeviceClass */ - 0x00, /* __u8 bDeviceSubClass; */ - 0x00, /* __u8 bDeviceProtocol; */ - 0x40, /* __u8 bMaxPacketSize0; 2^64 = 512 Bytes */ - - 0xff, 0xff, /* __le16 idVendor; 0xffff made up for now */ - 0x01, 0x00, /* __le16 idProduct; 0x0001 made up for now */ - 0x01, 0x00, /* __le16 bcdDevice; ES1 */ - - 0x03, /* __u8 iManufacturer; */ - 0x02, /* __u8 iProduct; */ - 0x01, /* __u8 iSerialNumber; */ - 0x01 /* __u8 bNumConfigurations; */ -}; - -static const u8 es1_config_descriptor[] = { - /* one configuration */ - 0x09, /* __u8 bLength; */ - 0x02, /* __u8 bDescriptorType; Configuration */ - 0x19, 0x00, /* __le16 wTotalLength; */ - 0x01, /* __u8 bNumInterfaces; (1) */ - 0x01, /* __u8 bConfigurationValue; */ - 0x00, /* __u8 iConfiguration; */ - 0xc0, /* __u8 bmAttributes; - Bit 7: must be set, - 6: Self-powered, - 5: Remote wakeup, - 4..0: resvd */ - 0x00, /* __u8 MaxPower; */ - - /* one interface */ - 0x09, /* __u8 if_bLength; */ - 0x04, /* __u8 if_bDescriptorType; Interface */ - 0x00, /* __u8 if_bInterfaceNumber; */ - 0x00, /* __u8 if_bAlternateSetting; */ - 0x03, /* __u8 if_bNumEndpoints; */ - 0xff, /* __u8 if_bInterfaceClass; Vendor-specific */ - 0xff, /* __u8 if_bInterfaceSubClass; Vendor-specific */ - 0xff, /* __u8 if_bInterfaceProtocol; Vendor-specific */ - 0x00, /* __u8 if_iInterface; */ - - /* three endpoints */ - 0x07, /* __u8 ep_bLength; */ - 0x05, /* __u8 ep_bDescriptorType; Endpoint */ - 0x81, /* __u8 ep_bEndpointAddress; IN Endpoint 1 */ - 0x03, /* __u8 ep_bmAttributes; Interrupt */ - 0x00, 0x04, /* __le16 ep_wMaxPacketSize; 1024 */ - 0x40, /* __u8 ep_bInterval; 64ms */ - - 0x07, /* __u8 ep_bLength; */ - 0x05, /* __u8 ep_bDescriptorType; Endpoint */ - 0x82, /* __u8 ep_bEndpointAddress; IN Endpoint 2 */ - 0x02, /* __u8 ep_bmAttributes; Bulk */ - 0x00, 0x04, /* __le16 ep_wMaxPacketSize; 1024 */ - 0x40 /* __u8 ep_bInterval; */ - - 0x07, /* __u8 ep_bLength; */ - 0x05, /* __u8 ep_bDescriptorType; Endpoint */ - 0x02, /* __u8 ep_bEndpointAddress; Out Endpoint 2 */ - 0x02, /* __u8 ep_bmAttributes; Bulk */ - 0x00, 0x04, /* __le16 ep_wMaxPacketSize; 1024 */ - 0x40 /* __u8 ep_bInterval; */ -}; diff --git a/drivers/staging/greybus/devices b/drivers/staging/greybus/devices deleted file mode 100644 index 486bba8e5de0..000000000000 --- a/drivers/staging/greybus/devices +++ /dev/null @@ -1,11 +0,0 @@ -T: Bus=01 Lev=03 Prnt=07 Port=02 Cnt=03 Dev#= 12 Spd=12 MxCh= 0 -D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 -P: Vendor=ffff ProdID=0001 Rev= 1.00 -S: Manufacturer=Greybus -S: Product=SVC Bridge -S: SerialNumber=12239 -C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA -I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=es1_ap_driver -E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=64ms -E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms -E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms