More errata fixing for the SiI3112A disaster chip:

Serialize access to the SATA channels, the chip messes up if
both channels are used at the same time.

The SiI3112 hereby takes the price as the most crappy SATA chip in
existance by a significant amount.

My advise to our userbase is to avoid this chip like the plague...
This commit is contained in:
sos 2003-12-08 09:22:20 +00:00
parent ab0bce9d34
commit 8b107990e3

View File

@ -1650,8 +1650,10 @@ ata_sii_chipinit(device_t dev)
pci_write_config(dev, 0xec, 0x40094009, 4);
ctlr->allocate = ata_sii_mio_allocate;
if (ctlr->chip->max_dma >= ATA_SA150)
if (ctlr->chip->max_dma >= ATA_SA150) {
ctlr->setmode = ata_sata_setmode;
ctlr->locking = ata_serialize;
}
else
ctlr->setmode = ata_sii_setmode;
}