4 #include <exec/types.h>
5 #include <exec/libraries.h>
6 #include <exec/execbase.h>
7 #include <exec/nodes.h>
8 #include <exec/lists.h>
14 #include <aros/arossupportbase.h>
15 #include <exec/execbase.h>
17 #include LC_LIBDEFS_FILE
19 struct pci_staticdata
{
20 OOP_AttrBase hiddPCIDriverAB
;
23 OOP_Class
*driverClass
;
27 struct Library LibNode
;
28 struct pci_staticdata psd
;
31 #define PCI_AddressPort 0x0cf8
32 #define PCI_ForwardPort 0x0cfa
33 #define PCI_TestPort 0x0cfb
34 #define PCI_DataPort 0x0cfc
36 #define PCICS_VENDOR 0x00
37 #define PCICS_PRODUCT 0x02
38 #define PCICS_SUBCLASS 0x0a
40 #define PCI_CLASS_BRIDGE_HOST 0x0600
41 #define PCI_CLASS_DISPLAY_VGA 0x0300
43 #define PCI_VENDOR_INTEL 0x8086
44 #define PCI_VENDOR_COMPAQ 0x0e11
46 #define BASE(lib) ((struct pcibase*)(lib))
48 #define PSD(cl) (&((struct pcibase*)cl->UserData)->psd)