Catch up with latest ATA newbus commits.

This commit is contained in:
grehan 2005-05-01 13:11:29 +00:00
parent a0141c6218
commit 266a667502
2 changed files with 4 additions and 4 deletions

View File

@ -179,11 +179,11 @@ ata_kauai_probe(device_t dev)
}
ch->r_io[ATA_CONTROL].res = mem;
ch->r_io[ATA_CONTROL].offset = ATA_KAUAI_ALTOFFSET;
ata_default_registers(ch);
ata_default_registers(dev);
ch->unit = 0;
ch->flags |= ATA_USE_16BIT|ATA_NO_SLAVE;
ata_generic_hw(ch);
ata_generic_hw(dev);
return (ata_probe(dev));
}

View File

@ -116,11 +116,11 @@ ata_macio_probe(device_t dev)
}
ch->r_io[ATA_CONTROL].res = mem;
ch->r_io[ATA_CONTROL].offset = ATA_MACIO_ALTOFFSET;
ata_default_registers(ch);
ata_default_registers(dev);
ch->unit = 0;
ch->flags |= ATA_USE_16BIT;
ata_generic_hw(ch);
ata_generic_hw(dev);
return (ata_probe(dev));
}