svn commit: r212326 - in head: sys/dev/pci usr.sbin/pciconf

John Baldwin jhb at freebsd.org
Wed Sep 8 18:02:28 UTC 2010


On Wednesday, September 08, 2010 1:53:34 pm John Baldwin wrote:
> Author: jhb
> Date: Wed Sep  8 17:53:34 2010
> New Revision: 212326
> URL: http://svn.freebsd.org/changeset/base/212326
> 
> Log:
>   - Add register definitions related to extended capability IDs in
>     PCI-express.  I used PCIZ_* for ID constants (plain capability IDs use
>     PCIY_*).
>   - Add register definitions for the Advanced Error Reporting, Virtual
>     Channels, and Device Serial Number extended capabilities.
>   - Teach pciconf -c to list extended as well as plain capabilities.   Adds
>     more detailed parsing for AER, VC, and device serial numbers.
>   
>   MFC after:	2 weeks

Some sample output:

igb2 at pci0:6:0:0:        class=0x020000 card=0xa02b8086 chip=0x10e88086 rev=0x01 hdr=0x00
    cap 01[40] = powerspec 3  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit, vector masks 
    cap 11[70] = MSI-X supports 10 messages in map 0x1c enabled
    cap 10[a0] = PCI-Express 2 endpoint max data 128(512) link x4(x4)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
ecap 0003[140] = Serial 1 001b21ffff6bcbce
ecap 000e[150] = unknown 1
ecap 0010[160] = unknown 1

-- 
John Baldwin


More information about the svn-src-head mailing list