Skip to content

Commit 97740fc

Browse files
CV-Bowenxiaoxiang781216
authored andcommitted
include/pci_regs: add PCI_STD_NUM_BARS macro
Signed-off-by: Bowen Wang <[email protected]>
1 parent 0f3feef commit 97740fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/nuttx/pci/pci_regs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
*/
2727

2828
#define PCI_STD_HEADER_SIZEOF 64
29+
#define PCI_STD_NUM_BARS 6 /* Number of standard BARs */
2930
#define PCI_VENDOR_ID 0x00 /* 16 bits */
3031
#define PCI_DEVICE_ID 0x02 /* 16 bits */
3132
#define PCI_COMMAND 0x04 /* 16 bits */

0 commit comments

Comments
 (0)