revert between 56095 -> 55830 in arch
[AROS.git] / arch / m68k-amiga / hidd / gayle_ata / bus_class.h
blob8517d8c8e03425ff92543f310c8ae388864f7cf3
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 ATABusAttrBase;
39 OOP_AttrBase hwAttrBase;
41 OOP_MethodID HWMethodBase;
42 OOP_MethodID HiddSCMethodBase;
44 struct Library *cs_OOPBase;
45 struct Library *cs_UtilityBase;
48 #undef HiddAttrBase
49 #undef HiddATABusAB
50 #undef HWAttrBase
51 #define HiddAttrBase (base->hiddAttrBase)
52 #define HiddATABusAB (base->ATABusAttrBase)
53 #define HWAttrBase (base->hwAttrBase)
55 #undef HWBase
56 #undef HiddStorageControllerBase
57 #define HWBase (base->HWMethodBase)
58 #define HiddStorageControllerBase (base->HiddSCMethodBase)
60 #define OOPBase (base->cs_OOPBase)
61 #define UtilityBase (base->cs_UtilityBase)
63 #endif /* !BUS_CLASS_H */