Dont check the cable bit on ich5 when on the SATA channel.
This commit is contained in:
parent
175212344f
commit
8b0ca37153
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119442
@ -840,7 +840,8 @@ ata_intel_new_setmode(struct ata_device *atadev, int mode)
|
|||||||
|
|
||||||
mode = ata_limit_mode(atadev, mode, ctlr->chip->max_dma);
|
mode = ata_limit_mode(atadev, mode, ctlr->chip->max_dma);
|
||||||
|
|
||||||
if (ctlr->chip->max_dma && mode > ATA_UDMA2 && !(reg54 & (0x10 << devno))) {
|
if (ctlr->chip->max_dma < ATA_SA150 && mode > ATA_UDMA2 &&
|
||||||
|
!(reg54 & (0x10 << devno))) {
|
||||||
ata_prtdev(atadev,"DMA limited to UDMA33, non-ATA66 cable or device\n");
|
ata_prtdev(atadev,"DMA limited to UDMA33, non-ATA66 cable or device\n");
|
||||||
mode = ATA_UDMA2;
|
mode = ATA_UDMA2;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user