Removed the ISA only hooks here, no longer needed..

This commit is contained in:
Søren Schmidt 2003-02-25 14:24:42 +00:00
parent 9327ee33bf
commit 472e291b31
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111484

View File

@ -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