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>
10 #include <aros/libcall.h>
11 #include <aros/asmcall.h>
17 #include <aros/arossupportbase.h>
18 #include <exec/execbase.h>
20 #include LC_LIBDEFS_FILE
22 struct pci_staticdata
{
23 OOP_AttrBase hiddPCIDriverAB
;
26 OOP_Class
*driverClass
;
32 struct Library LibNode
;
33 struct pci_staticdata psd
;
36 OOP_Class
*init_pcidriverclass(struct pci_staticdata
*);
37 void free_pcidriverclass(struct pci_staticdata
*, OOP_Class
*cl
);
39 #define PCI_AddressPort 0x0cf8
40 #define PCI_DataPort 0x0cfc
42 #define BASE(lib) ((struct pcibase*)(lib))
44 #define PSD(cl) (&((struct pcibase *)cl->UserData)->psd)