|
@@ -840,7 +840,7 @@ static ssize_t show_modalias(struct device *dev,
|
|
alt = intf->cur_altsetting;
|
|
alt = intf->cur_altsetting;
|
|
|
|
|
|
return sprintf(buf, "usb:v%04Xp%04Xd%04Xdc%02Xdsc%02Xdp%02X"
|
|
return sprintf(buf, "usb:v%04Xp%04Xd%04Xdc%02Xdsc%02Xdp%02X"
|
|
- "ic%02Xisc%02Xip%02X\n",
|
|
|
|
|
|
+ "ic%02Xisc%02Xip%02Xin%02X\n",
|
|
le16_to_cpu(udev->descriptor.idVendor),
|
|
le16_to_cpu(udev->descriptor.idVendor),
|
|
le16_to_cpu(udev->descriptor.idProduct),
|
|
le16_to_cpu(udev->descriptor.idProduct),
|
|
le16_to_cpu(udev->descriptor.bcdDevice),
|
|
le16_to_cpu(udev->descriptor.bcdDevice),
|
|
@@ -849,7 +849,8 @@ static ssize_t show_modalias(struct device *dev,
|
|
udev->descriptor.bDeviceProtocol,
|
|
udev->descriptor.bDeviceProtocol,
|
|
alt->desc.bInterfaceClass,
|
|
alt->desc.bInterfaceClass,
|
|
alt->desc.bInterfaceSubClass,
|
|
alt->desc.bInterfaceSubClass,
|
|
- alt->desc.bInterfaceProtocol);
|
|
|
|
|
|
+ alt->desc.bInterfaceProtocol,
|
|
|
|
+ alt->desc.bInterfaceNumber);
|
|
}
|
|
}
|
|
static DEVICE_ATTR(modalias, S_IRUGO, show_modalias, NULL);
|
|
static DEVICE_ATTR(modalias, S_IRUGO, show_modalias, NULL);
|
|
|
|
|