Added a test for MUIA_Listview_SelectChange.
[AROS.git] / arch / all-linux / hidd / pcilinux / pci.h
blob2771263ffa41c78b6308cf8b883909de7f23048e
1 #ifndef _PCI_H
2 #define _PCI_H
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>
13 #include <dos/bptr.h>
15 #include <oop/oop.h>
17 #include <aros/arossupportbase.h>
18 #include <exec/execbase.h>
20 #include LC_LIBDEFS_FILE
22 struct pci_staticdata {
23 OOP_AttrBase hiddPCIDriverAB;
24 OOP_AttrBase hiddAB;
26 OOP_Class *driverClass;
28 int fd;
31 struct pcibase {
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)
46 #endif /* _PCI_H */