Added 'Resident' field to ensure that the handler is included in the
[AROS.git] / rom / devs / ata / ata_bus.h
blob95b0f9a493218f145265cfe8a4bf7b7160b098bd
1 struct ata_Bus;
3 struct ata_BusDriver
5 void (*ata_out)(UBYTE val, UWORD offset, IPTR port, APTR data);
6 UBYTE (*ata_in)(UWORD offset, IPTR port, APTR data);
7 void (*ata_outl)(ULONG val, UWORD offset, IPTR port, APTR data);
8 VOID (*ata_insw)(APTR address, UWORD port, ULONG count, APTR data);
9 VOID (*ata_outsw)(APTR address, UWORD port, ULONG count, APTR data);
11 * The following are optional.
12 * If they are NULL, our bus doesn't support 32-bit transfers.
14 VOID (*ata_insl)(APTR address, UWORD port, ULONG count, APTR data);
15 VOID (*ata_outsl)(APTR address, UWORD port, ULONG count, APTR data);
18 * The following doesn't require high speed, and it is going
19 * to become HIDD methods.
21 BOOL (*CreateInterrupt)(struct ata_Bus *bus);
22 VOID (*AckInterrupt)(struct ata_Bus *bus);