From: Kevin O'Connor Date: Sun, 29 Dec 2013 18:13:42 +0000 (-0500) Subject: xhci: Report the "protocol defined" and PSIC bits of extended capabilities. X-Git-Tag: rel-1.7.5-rc1~57 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6ba9df0ab4c634d7d0dcc6432c6c6c8981b48763;p=seabios.git xhci: Report the "protocol defined" and PSIC bits of extended capabilities. Signed-off-by: Kevin O'Connor --- diff --git a/src/hw/usb-xhci.c b/src/hw/usb-xhci.c index 6f5604e..4529724 100644 --- a/src/hw/usb-xhci.c +++ b/src/hw/usb-xhci.c @@ -1113,7 +1113,8 @@ xhci_controller_setup(struct pci_device *pci) case 0x02: name = readl(&xcap->data[0]); ports = readl(&xcap->data[1]); - dprintf(1, "XHCI protocol %c%c%c%c %x.%02x, %d ports (offset %d)\n" + dprintf(1, "XHCI protocol %c%c%c%c %x.%02x" + ", %d ports (offset %d), def %x\n" , (name >> 0) & 0xff , (name >> 8) & 0xff , (name >> 16) & 0xff @@ -1121,7 +1122,8 @@ xhci_controller_setup(struct pci_device *pci) , (cap >> 24) & 0xff , (cap >> 16) & 0xff , (ports >> 8) & 0xff - , (ports >> 0) & 0xff); + , (ports >> 0) & 0xff + , ports >> 16); break; default: dprintf(1, "XHCI extcap 0x%x @ %x\n", cap & 0xff, addr);