forked from nuttx/nuttx-update
include/pci_regs: add PCI_STD_NUM_BARS macro
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
parent
0f3feefa85
commit
97740fca2c
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
*/
|
||||
|
||||
#define PCI_STD_HEADER_SIZEOF 64
|
||||
#define PCI_STD_NUM_BARS 6 /* Number of standard BARs */
|
||||
#define PCI_VENDOR_ID 0x00 /* 16 bits */
|
||||
#define PCI_DEVICE_ID 0x02 /* 16 bits */
|
||||
#define PCI_COMMAND 0x04 /* 16 bits */
|
||||
|
|
Loading…
Reference in a new issue