summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac/ata_kauai.c
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2004-04-23 23:39:53 +0000
committergrehan <grehan@FreeBSD.org>2004-04-23 23:39:53 +0000
commit37a55c7ec422afd8d71d38197362659be6a4a63b (patch)
tree83378379ec17fc18fb80befc230aaf0ad5639b9d /sys/powerpc/powermac/ata_kauai.c
parent67d79f0cfb20d67bff147283fb167115ae7943bf (diff)
downloadFreeBSD-src-37a55c7ec422afd8d71d38197362659be6a4a63b.zip
FreeBSD-src-37a55c7ec422afd8d71d38197362659be6a4a63b.tar.gz
- Catch up with recent ATA changes.
- Remove trailing space in ata_macio.c
Diffstat (limited to 'sys/powerpc/powermac/ata_kauai.c')
-rw-r--r--sys/powerpc/powermac/ata_kauai.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/powermac/ata_kauai.c b/sys/powerpc/powermac/ata_kauai.c
index f8817b1..47d8115 100644
--- a/sys/powerpc/powermac/ata_kauai.c
+++ b/sys/powerpc/powermac/ata_kauai.c
@@ -169,6 +169,7 @@ ata_kauai_probe(device_t dev)
}
ch = device_get_softc(dev);
+ bzero(ch, sizeof(struct ata_channel));
rid = PCIR_BARS;
mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE);
@@ -192,6 +193,7 @@ ata_kauai_probe(device_t dev)
ch->locking = ata_kauai_locknoop;
ch->device[MASTER].setmode = ata_kauai_setmode;
ch->device[SLAVE].setmode = ata_kauai_setmode;
+ ata_generic_hw(ch);
return (ata_probe(dev));
}
OpenPOWER on IntegriCloud