From a7797208dc47f031e7f3b2a3b5be39ebea40f836 Mon Sep 17 00:00:00 2001 From: sos Date: Tue, 25 Feb 2003 14:24:42 +0000 Subject: Removed the ISA only hooks here, no longer needed.. --- sys/dev/ata/ata-isa.c | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) (limited to 'sys/dev/ata') diff --git a/sys/dev/ata/ata-isa.c b/sys/dev/ata/ata-isa.c index a8a6296..c54b537 100644 --- a/sys/dev/ata/ata-isa.c +++ b/sys/dev/ata/ata-isa.c @@ -106,54 +106,3 @@ static driver_t ata_isa_driver = { }; DRIVER_MODULE(ata, isa, ata_isa_driver, ata_devclass, 0, 0); - -/* - * the following is a bandaid to get ISA only setups to link, - * since these are getting rare the ugliness is kept here - */ -#ifdef ATA_NOPCI -int -ata_dmaalloc(struct ata_device *atadev) -{ - return ENXIO; -} - -void -ata_dmafree(struct ata_device *atadev) -{ -} - -void -ata_dmafreetags(struct ata_channel *ch) -{ -} - -void -ata_dmainit(struct ata_device *atadev, int piomode, int wdmamode, int udmamode) -{ -} - -int -ata_dmasetup(struct ata_device *atadev, caddr_t data, int32_t count) -{ - return -1; -} - -int -ata_dmastart(struct ata_device *atadev, caddr_t data, int32_t count, int dir) -{ - return -1; -} - -int -ata_dmadone(struct ata_device *atadev) -{ - return -1; -} - -int -ata_dmastatus(struct ata_channel *ch) -{ - return -1; -} -#endif -- cgit v1.1