Test initialisation of MUIA_List_AdjustWidth and MUIA_List_AdjustHeight, and
[AROS.git] / arch / ppc-sam440 / pci / pci.h
blob10a2c1f5ac09fa645b3984789471f82797595e1b
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 <dos/bptr.h>
12 #include <oop/oop.h>
14 #include <aros/arossupportbase.h>
15 #include <exec/execbase.h>
17 #include LC_LIBDEFS_FILE
19 struct pci_staticdata {
20 OOP_AttrBase hiddPCIDriverAB;
21 OOP_AttrBase hiddAB;
23 OOP_Class *driverClass;
25 UBYTE IntLine;
26 ULONG CfgBase; /* 0x80000000 for 440ex
27 * 0x00000000 for 460ex
31 struct pcibase {
32 struct Library LibNode;
33 struct pci_staticdata psd;
36 #define PCI_AddressPort 0x0cf8
37 #define PCI_ForwardPort 0x0cfa
38 #define PCI_TestPort 0x0cfb
39 #define PCI_DataPort 0x0cfc
41 #define PCICS_VENDOR 0x00
42 #define PCICS_PRODUCT 0x02
43 #define PCICS_SUBCLASS 0x0a
45 #define PCI_CLASS_BRIDGE_HOST 0x0600
46 #define PCI_CLASS_DISPLAY_VGA 0x0300
48 #define PCI_VENDOR_INTEL 0x8086
49 #define PCI_VENDOR_COMPAQ 0x0e11
51 #define BASE(lib) ((struct pcibase*)(lib))
53 #define PSD(cl) (&((struct pcibase*)cl->UserData)->psd)
55 #endif /*PCI_H_*/