diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2010-05-24 16:25:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-04 16:16:19 -0400 |
commit | 0238634d02dd10b678ebe9ea5d8803483277ee93 (patch) | |
tree | 5978fcfdc185e15e407fb16e52daef4225c19882 /drivers/usb/host/xhci-pci.c | |
parent | ed07453fd356025cc25272629e982f5e4607632c (diff) |
USB: xhci: Print NEC firmware version.
The NEC xHCI host controller firmware version can be found by putting a
vendor-specific command on the command ring and extracting the BCD
encoded-version out of the vendor-specific event TRB.
The firmware version debug line in dmesg will look like:
xhci_hcd 0000:05:00.0: NEC firmware version 30.21
(NEC merged with Renesas Technologies and became Renesas Electronics on
April 1, 2010. I have their OK to merge this vendor-specific code.)
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: Satoshi Otani <satoshi.otani.xm@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-pci.c')
-rw-r--r-- | drivers/usb/host/xhci-pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index edffd81fc253..11482b6b9381 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c | |||
@@ -78,6 +78,8 @@ static int xhci_pci_setup(struct usb_hcd *hcd) | |||
78 | xhci_dbg(xhci, "QUIRK: Fresco Logic xHC needs configure" | 78 | xhci_dbg(xhci, "QUIRK: Fresco Logic xHC needs configure" |
79 | " endpoint cmd after reset endpoint\n"); | 79 | " endpoint cmd after reset endpoint\n"); |
80 | } | 80 | } |
81 | if (pdev->vendor == PCI_VENDOR_ID_NEC) | ||
82 | xhci->quirks |= XHCI_NEC_HOST; | ||
81 | 83 | ||
82 | /* Make sure the HC is halted. */ | 84 | /* Make sure the HC is halted. */ |
83 | retval = xhci_halt(xhci); | 85 | retval = xhci_halt(xhci); |