diff options
author | Russell Currey <ruscur@russell.cc> | 2015-11-09 15:29:40 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-01-12 15:39:26 +1100 |
commit | d67d79a69dd73ee8d01324c4f62707f06e904050 (patch) | |
tree | 51b1fe17e2381c60d14f112cb65b79c37091b952 /doc | |
parent | 089082171fed646296313933602d38493eae2982 (diff) | |
download | skiboot-d67d79a69dd73ee8d01324c4f62707f06e904050.zip skiboot-d67d79a69dd73ee8d01324c4f62707f06e904050.tar.gz skiboot-d67d79a69dd73ee8d01324c4f62707f06e904050.tar.bz2 |
nvlink: Set a bit in config space to indicate a real PCI device was bound
The version was already set (somewhat obscurely), that has been refactored and the version incremented as per the following patch (which supercedes the previous):
Signed-off-by: Russell Currey <ruscur@russell.cc>
Acked-By: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/nvlink.txt | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/nvlink.txt b/doc/nvlink.txt index 5673de4..d871d20 100644 --- a/doc/nvlink.txt +++ b/doc/nvlink.txt @@ -60,15 +60,21 @@ Vendor Specific Capabilities ---------------------------- +-----------------+----------------+----------------+----------------+ -| Reserved | Cap Length | Next Cap Ptr | Cap ID (0x09) | +| Version (0x02) | Cap Length | Next Cap Ptr | Cap ID (0x09) | +-----------------+----------------+----------------+----------------+ | Procedure Status Register | +--------------------------------------------------------------------+ | Procedure Control Register | +---------------------------------------------------+----------------+ -| Reserved | Link Number | +| Reserved | PCI Dev Flag | Link Number | +---------------------------------------------------+----------------+ +Version + + This refers to the version of the NPU config space. Used by device + drivers to determine which fields of the config space they can + expect to be available. + Procedure Control Register Used to start hardware procedures. @@ -121,6 +127,11 @@ Procedure Status Register 3 - Procedure aborted. 4 - Unsupported procedure. +PCI Device Flag + + Bit 0 is set only if an actual PCI device was bound to this + emulated device. + Link Number Physical link number this emulated PCI device is assoicated |