1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Only setup sii_reset on sii311[24].

This commit is contained in:
Søren Schmidt 2004-03-04 16:39:59 +00:00
parent dc980a6553
commit c5df0d743e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126608

View File

@ -1714,14 +1714,15 @@ ata_sii_mio_allocate(device_t dev, struct ata_channel *ch)
ch->r_io[ATA_BMDEVSPEC_1].offset = 0x100 + (unit01 << 7) + (unit10 << 9);
ch->r_io[ATA_IDX_ADDR].res = ctlr->r_io2;
if (ctlr->chip->max_dma >= ATA_SA150)
if (ctlr->chip->max_dma >= ATA_SA150) {
ch->flags |= ATA_NO_SLAVE;
ch->reset = ata_sii_reset;
}
ctlr->dmainit(ch);
if (ctlr->chip->cfg2 & SIIBUG)
ch->dma->boundary = 8 * 1024;
ch->reset = ata_sii_reset;
return 0;
}