Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 22:43:32 +0200
From:      "=?UTF-8?Q?Jos=C3=A9_P=C3=A9rez_Arauz?=o" <fbl@aoek.com>
To:        "O'Connor, Daniel" <Daniel.O'Connor@emc.com>
Cc:        Adrian Chadd <adrian@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, Benjamin Kaduk <kaduk@mit.edu>, Garrett Cooper <yaneurabeya@gmail.com>
Subject:   Re: What do you use for kernel debugging?
Message-ID:  <20141005203835.M90419@aoek.com>
In-Reply-To: <18C885A5-5162-4868-8A1A-DDBC7A92CCF5@emc.com>
References:  <20140928071641.M7664@beckpeccoz.com> <alpine.GSO.1.10.1409281553060.21571@multics.mit.edu> <20140929003358.M78145@aoek.com> <B3589A0F-AF06-4F7D-80C9-F614CFA21370@gmail.com> <542AC1C8.9030101@freebsd.org> <90CE0701-F1CB-41DF-B3D2-87816DC03DF9@emc.com> <CAJ-VmomrTiyUBr%2BpwtRjcUAanwRBDhvMr65rXFpw9nUkFFYm0A@mail.gmail.com> <3718AED6-9514-49F9-AF11-B47CFAF01161@emc.com> <18C885A5-5162-4868-8A1A-DDBC7A92CCF5@emc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Daniel,

On Thu, 2 Oct 2014 20:50:30 -0400, O'Connor, Daniel wrote
[...]
> I wrote a quick program to dump xHCI extended capabilities
https://gist.github.com/DanielO/c42819ae69a1f680039a

Cool!

> Run pciconf -lb and look for the base value for xhciX then run the 
> command with that like so.. 

HCCPARAMS1 => 0x014040c3
xECP (0xf0948500) => ID 1 (Legacy support) Specific 0x0100
xECP (0xf0948504) => ID 0 (Reserved (0)) Specific 0xe000
xECP (0xf0948524) => ID 85 (Reserved (85)) Specific 0x2042

That's with AMD:
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xf0948000-0xf0949fff irq 18 at
device 16.0 on pci0
usbus0: waiting for BIOS to give up control
xhci0: 32 byte context size.
usbus0 on xhci0

xhci0@pci0:0:16:0:      class=0x0c0330 card=0x080d1025 chip=0x78141022
rev=0x01 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    class      = serial bus
    subclass   = USB

BR,

--
José Pérez Arauzo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141005203835.M90419>