1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Correct botchup in last commit that made older VIA chips fail...

This commit is contained in:
Søren Schmidt 2001-01-21 16:13:03 +00:00
parent 9c1c456c61
commit 98e1287686
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71335

View File

@ -394,8 +394,8 @@ ata_dmainit(struct ata_softc *scp, int device,
}
}
}
else if (ata_find_dev(parent, 0x05961106, 0) || /* 82C596a */
ata_find_dev(parent, 0x05861106, 0x02)) { /* 82C586b */
else if (ata_find_dev(parent, 0x06861106, 0) || /* 82C686a */
ata_find_dev(parent, 0x05961106, 0x12)) { /* 82C596b */
if (udmamode >= 4) {
error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
ATA_UDMA4, ATA_C_F_SETXFER, ATA_WAIT_READY);