mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 14:54:24 +00:00
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:
parent
0f4e4130e1
commit
49373540b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123294
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue