mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-13 14:40:22 +00:00
Try better this time at a patch that properly backspeeds on the Acer chips.
This commit is contained in:
parent
dc194d46e4
commit
bd442d2547
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70752
@ -313,8 +313,8 @@ ata_dmainit(struct ata_softc *scp, int device,
|
||||
}
|
||||
|
||||
/* make sure eventual UDMA mode from the BIOS is disabled */
|
||||
pci_write_config(parent, 0x54,
|
||||
pci_read_config(parent, 0x54, 4) & ~0x88880000, 4);
|
||||
pci_write_config(parent, 0x56, pci_read_config(parent, 0x56, 2) &
|
||||
~(0x0008 << (devno << 2)), 2);
|
||||
|
||||
if (wdmamode >= 2 && apiomode >= 4) {
|
||||
error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user