diff options
author | grehan <grehan@FreeBSD.org> | 2005-03-31 01:57:51 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2005-03-31 01:57:51 +0000 |
commit | c68e3ffea65a5f0f259d8c7600671518cf66ad61 (patch) | |
tree | 9a3b681907ad25659724e450e2cb61077e11bac9 /sys/powerpc/powermac/ata_kauai.c | |
parent | 1de10da09d0a6219c108d74a10aa9cf1ef6a7eeb (diff) | |
download | FreeBSD-src-c68e3ffea65a5f0f259d8c7600671518cf66ad61.zip FreeBSD-src-c68e3ffea65a5f0f259d8c7600671518cf66ad61.tar.gz |
Catch up with ATA-mkIII
Diffstat (limited to 'sys/powerpc/powermac/ata_kauai.c')
-rw-r--r-- | sys/powerpc/powermac/ata_kauai.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/powerpc/powermac/ata_kauai.c b/sys/powerpc/powermac/ata_kauai.c index d25a3af..c74b579 100644 --- a/sys/powerpc/powermac/ata_kauai.c +++ b/sys/powerpc/powermac/ata_kauai.c @@ -89,20 +89,7 @@ static driver_t ata_kauai_driver = { }; DRIVER_MODULE(ata, pci, ata_kauai_driver, ata_devclass, 0, 0); - -static int -ata_kauai_locknoop(struct ata_channel *ch, int type) -{ - /* XXX SMP ? */ - return (0); -} - -static void -ata_kauai_setmode(struct ata_device *atadev, int mode) -{ - atadev->mode = ATA_PIO; -} - +MODULE_DEPEND(ata, ata, 1, 1, 1); /* * PCI ID search table @@ -191,9 +178,6 @@ ata_kauai_probe(device_t dev) ch->unit = 0; ch->flags |= ATA_USE_16BIT|ATA_NO_SLAVE; - 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)); |