ATA_MAX_RES
struct ata_resource r_io[ATA_MAX_RES];/* I/O resources */
for (i = ATA_DATA; i < ATA_MAX_RES; i++)