From greg@kroah.com Wed Jun 29 16:53:29 2005 Date: Wed, 29 Jun 2005 16:53:29 -0700 From: Greg Kroah-Hartman To: greg@kroah.com Subject: USB: add bMaxPacketSize0 attribute to sysfs For some reason this was not there... Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/sysfs.c | 2 ++ 1 files changed, 2 insertions(+) --- gregkh-2.6.orig/drivers/usb/core/sysfs.c 2005-06-29 07:55:19.000000000 -0700 +++ gregkh-2.6/drivers/usb/core/sysfs.c 2005-06-29 17:29:21.000000000 -0700 @@ -196,6 +196,7 @@ usb_descriptor_attr (bDeviceSubClass, "%02x\n") usb_descriptor_attr (bDeviceProtocol, "%02x\n") usb_descriptor_attr (bNumConfigurations, "%d\n") +usb_descriptor_attr (bMaxPacketSize0, "%d\n") static struct attribute *dev_attrs[] = { /* current configuration's attributes */ @@ -211,6 +212,7 @@ &dev_attr_bDeviceSubClass.attr, &dev_attr_bDeviceProtocol.attr, &dev_attr_bNumConfigurations.attr, + &dev_attr_bMaxPacketSize0.attr, &dev_attr_speed.attr, &dev_attr_devnum.attr, &dev_attr_version.attr,