X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fpci%2Frte_pci.h;h=1f33d687f40e6ab4fc1159cbdc585b4c130541ae;hb=57589cdfd784e6704ded490d80038584d6ade9df;hp=a8f8e404a9b63272cc94ce6a768e6ef842047489;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/pci/rte_pci.h b/lib/pci/rte_pci.h index a8f8e404a9..1f33d687f4 100644 --- a/lib/pci/rte_pci.h +++ b/lib/pci/rte_pci.h @@ -32,6 +32,10 @@ extern "C" { #define RTE_PCI_VENDOR_ID 0x00 /* 16 bits */ #define RTE_PCI_DEVICE_ID 0x02 /* 16 bits */ +#define RTE_PCI_COMMAND 0x04 /* 16 bits */ + +/* PCI Command Register */ +#define RTE_PCI_COMMAND_MASTER 0x4 /* Bus Master Enable */ /* PCI Express capability registers */ #define RTE_PCI_EXP_DEVCTL 8 /* Device Control */