add place-holder directory for the a3000 wd533c93 scsi controller implementation.
[AROS.git] / arch / m68k-amiga / hidd / gayle_ata / bus_class.h
blobe2e1def4e6d6b2d00d823898b94b831180d924b7
2 #ifndef BUS_CLASS_H
3 #define BUS_CLASS_H
5 struct ata_ProbedBus
7 struct Node atapb_Node;
8 UBYTE *port;
9 UBYTE *altport;
10 UBYTE *gayleirqbase;
11 BOOL a4000;
12 UBYTE doubler;
15 struct ATA_BusData
17 struct ata_ProbedBus *bus;
18 void (*ata_HandleIRQ)(UBYTE, APTR);
19 APTR irqData;
20 struct Interrupt ideint;
21 UBYTE *gaylebase;
22 UBYTE *gayleirqbase;
23 UBYTE *gayleintbase;
24 BOOL ideintadded;
27 struct ataBase
29 struct Library lib;
31 OOP_Class *ataClass;
32 OOP_Class *GayleBusClass;
33 OOP_Class *FastATABusClass;
35 OOP_Object *storageRoot;
37 OOP_AttrBase hiddAttrBase;
38 OOP_AttrBase busAttrBase;
39 OOP_AttrBase ATABusAttrBase;
40 OOP_AttrBase hwAttrBase;
42 OOP_MethodID HWMethodBase;
43 OOP_MethodID HiddSCMethodBase;
45 struct Library *cs_OOPBase;
46 struct Library *cs_UtilityBase;
49 #undef HiddAttrBase
50 #undef HiddBusAB
51 #undef HiddATABusAB
52 #undef HWAttrBase
53 #define HiddAttrBase (base->hiddAttrBase)
54 #define HiddBusAB (base->busAttrBase)
55 #define HiddATABusAB (base->ATABusAttrBase)
56 #define HWAttrBase (base->hwAttrBase)
58 #undef HWBase
59 #undef HiddStorageControllerBase
60 #define HWBase (base->HWMethodBase)
61 #define HiddStorageControllerBase (base->HiddSCMethodBase)
63 #define OOPBase (base->cs_OOPBase)
64 #define UtilityBase (base->cs_UtilityBase)
66 #endif /* !BUS_CLASS_H */