On Sat, Jun 09, 2007 at 01:49:20PM -0400, Craig W. Nadler wrote: > From: Craig W. Nadler <[EMAIL PROTECTED]> > > USB_IAD: Adds support for USB Interface Association Descriptors. > > This patch adds support to the USB host stack for parsing, storing, and > displaying Interface Association Descriptors. In /proc/bus/usb/devices > lines starting with A: show the fields in an IAD. In sysfs if an > interface on a USB device is referenced by an IAD the following files > will be added to the sysfs directory for that interface: > iad_bFirstInterface, iad_bInterfaceCount, iad_bFunctionClass, and > iad_bFunctionSubClass, iad_bFunctionProtocol > > Signed-off-by: Craig W. Nadler <[EMAIL PROTECTED]> > > --- > > diff -uprN a/drivers/usb/core/config.c b/drivers/usb/core/config.c > --- a/drivers/usb/core/config.c 2007-05-24 17:22:47.000000000 -0400 > +++ b/drivers/usb/core/config.c 2007-06-09 03:20:51.000000000 -0400 > @@ -232,6 +232,7 @@ static int usb_parse_configuration(struc > struct usb_descriptor_header *header; > int len, retval; > u8 inums[USB_MAXINTERFACES], nalts[USB_MAXINTERFACES]; > + u8 iad_num = 0; > > memcpy(&config->desc, buffer, USB_DT_CONFIG_SIZE); > if (config->desc.bDescriptorType != USB_DT_CONFIG || > @@ -309,6 +310,17 @@ static int usb_parse_configuration(struc > ++n;
Your email client ate all of the leading spaces and tabs, rendering this patch impossible to review and apply. Care to try it again with a different email client, or fix your current one? thanks, greg k-h ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel