This is an automated email from the ASF dual-hosted git repository.

raiden00 pushed a commit to branch releases/12.7
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit e33bdd9e3830f58759b5b405966a84764fb20f5a
Author: Bowen Wang <[email protected]>
AuthorDate: Mon Mar 25 11:10:18 2024 +0800

    include/pci_regs: add PCI_STD_NUM_BARS macro
    
    Signed-off-by: Bowen Wang <[email protected]>
---
 include/nuttx/pci/pci_regs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/nuttx/pci/pci_regs.h b/include/nuttx/pci/pci_regs.h
index 5eb3331e86..2c362cf78d 100644
--- a/include/nuttx/pci/pci_regs.h
+++ b/include/nuttx/pci/pci_regs.h
@@ -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 */

Reply via email to