Hardware Documentation - Busses - ATA/ATAPI
Here are some links to information about the AT Attachment bus, an evolution of EISA/IDE.
Primarily describes the Mac OS ADB Manager, but also how to communicate with devices on the ADB at a very low level.
Pin assignments, register descriptions, I/O ports...
Peter den Haan's pages on Enhanced IDE (ATA-2).