X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/8b8f49b713d64065775fe538232f8639083601bd..a8b800d1691263aa73054449b1721c1ec9516496:/lunaix-os/includes/hal/pci.h diff --git a/lunaix-os/includes/hal/pci.h b/lunaix-os/includes/hal/pci.h index 3131aba..8c18997 100644 --- a/lunaix-os/includes/hal/pci.h +++ b/lunaix-os/includes/hal/pci.h @@ -6,6 +6,13 @@ #include #include +#define EXPORT_PCI_DEVICE(id, pci_devdef) \ + EXPORT_DEVICE(id, &(pci_devdef)->devdef, load_pci_probe) + +#define PCI_MATCH_EXACT -1 +#define PCI_MATCH_ANY 0 +#define PCI_MATCH_VENDOR 0xffff + #define PCI_TDEV 0x0 #define PCI_TPCIBRIDGE 0x1 #define PCI_TCARDBRIDGE 0x2