summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac/ata_macio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/powermac/ata_macio.c')
-rw-r--r--sys/powerpc/powermac/ata_macio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/powermac/ata_macio.c b/sys/powerpc/powermac/ata_macio.c
index 1bf464e..5d91c3a 100644
--- a/sys/powerpc/powermac/ata_macio.c
+++ b/sys/powerpc/powermac/ata_macio.c
@@ -114,9 +114,9 @@ ata_macio_probe(device_t dev)
ch->r_io[i].res = mem;
ch->r_io[i].offset = i * ATA_MACIO_REGGAP;
}
+ ch->r_io[ATA_CONTROL].res = mem;
+ ch->r_io[ATA_CONTROL].offset = ATA_MACIO_ALTOFFSET;
ata_default_registers(ch);
- ch->r_io[ATA_ALTSTAT].res = mem;
- ch->r_io[ATA_ALTSTAT].offset = ATA_MACIO_ALTOFFSET;
ch->unit = 0;
ch->flags |= ATA_USE_16BIT;
OpenPOWER on IntegriCloud