memset(saved_id, 0, SECTOR_SIZE);
drive->id = saved_id;
drive->media = ide_disk;
drive->media = ide_unknown;
drive->select = (i << 4) | ATA_DEVICE_OBS;
drive->hwif = hwif;
drive->ready_stat = ATA_DRDY;
* Now for the data we need to maintain per-drive: ide_drive_t
*/
#define ide_unknown 0xff
#define ide_scsi 0x21
#define ide_disk 0x20
#define ide_optical 0x7