diff options
-rw-r--r-- | drivers/usb/core/hub.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 793eda1cfe49..f6ea16e9f6bb 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -2192,9 +2192,13 @@ static void show_string(struct usb_device *udev, char *id, char *string) | |||
2192 | 2192 | ||
2193 | static void announce_device(struct usb_device *udev) | 2193 | static void announce_device(struct usb_device *udev) |
2194 | { | 2194 | { |
2195 | dev_info(&udev->dev, "New USB device found, idVendor=%04x, idProduct=%04x\n", | 2195 | u16 bcdDevice = le16_to_cpu(udev->descriptor.bcdDevice); |
2196 | |||
2197 | dev_info(&udev->dev, | ||
2198 | "New USB device found, idVendor=%04x, idProduct=%04x, bcdDevice=%2x.%02x\n", | ||
2196 | le16_to_cpu(udev->descriptor.idVendor), | 2199 | le16_to_cpu(udev->descriptor.idVendor), |
2197 | le16_to_cpu(udev->descriptor.idProduct)); | 2200 | le16_to_cpu(udev->descriptor.idProduct), |
2201 | bcdDevice >> 8, bcdDevice & 0xff); | ||
2198 | dev_info(&udev->dev, | 2202 | dev_info(&udev->dev, |
2199 | "New USB device strings: Mfr=%d, Product=%d, SerialNumber=%d\n", | 2203 | "New USB device strings: Mfr=%d, Product=%d, SerialNumber=%d\n", |
2200 | udev->descriptor.iManufacturer, | 2204 | udev->descriptor.iManufacturer, |