[patch] print xhci version in hex

2019-02-01 Thread sc . dying
Hi, The HCIVERSION register represents the BCD encoded HCI version number, so it should be printed with %x. For example, ver `0.150' should be printed as `0.96'. --- /sys/dev/usb/xhci.c Sun Sep 9 10:40:35 2018 +++ /sys/dev/usb/xhci.c Fri Jan 25 09:05:09 2019 @@ -296,7 +296,7 @@ xhci_init(struct

Re: Print xHCI version

2018-05-08 Thread Mark Kettenis
> Date: Tue, 8 May 2018 10:47:16 +0200 > From: Martin Pieuchot > > I'd like to print the version of the xHCI controller in the dmesg like > we do for AHCI. I've been looking at some xHCI 1.1 peculiarities lately > and apparently our driver also need some love for pre 1.0 chips. > > With the dif

Print xHCI version

2018-05-08 Thread Martin Pieuchot
I'd like to print the version of the xHCI controller in the dmesg like we do for AHCI. I've been looking at some xHCI 1.1 peculiarities lately and apparently our driver also need some love for pre 1.0 chips. With the diff below, we will now print: xhci0 at pci0 dev 20 function 0 "Intel 9 Series