[SeaBIOS] [PATCH] xhci: allocate scratch pad buffers

Kevin O'Connor kevin at koconnor.net
Fri Dec 13 19:27:45 CET 2013


On Thu, Dec 12, 2013 at 11:11:55PM -0500, Kevin O'Connor wrote:
> FYI, I get a failure on my e350m1:

I added the following to the code:

--- a/src/hw/usb-xhci.c
+++ b/src/hw/usb-xhci.c
@@ -1091,6 +1091,7 @@ xhci_setup(struct pci_device *pci, int busid)
 
     u32 hcs1 = readl(&xhci->caps->hcsparams1);
     u32 hcc  = readl(&xhci->caps->hccparams);
+    dprintf(1, "xhci hcc=%x hcs=%x\n", hcc, hcs1);
     xhci->ports = (hcs1 >> 24) & 0xff;
     xhci->slots = hcs1         & 0xff;
     xhci->xcap  = ((hcc >> 16) & 0xffff) << 2;

and I get:

01.342: xhci hcc=40050af hcs=4000440

I think this means that Context Size (CSZ) == 64 bytes and the
controller isn't compatible with the seabios driver?

-Kevin



More information about the SeaBIOS mailing list