1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00

Add AMD 768 support.

This commit is contained in:
Søren Schmidt 2002-03-24 12:44:23 +00:00
parent 116caf7cf7
commit 38009ef247
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93094
2 changed files with 5 additions and 0 deletions

View File

@ -371,6 +371,7 @@ ata_dmainit(struct ata_channel *ch, int device,
/* we could set PIO mode timings, but we assume the BIOS did that */
break;
case 0x74411022: /* AMD 768 */
case 0x74111022: /* AMD 766 */
if (udmamode >= 5) {
error = ata_command(atadev, ATA_C_SETFEATURES, 0,

View File

@ -224,6 +224,9 @@ ata_pci_match(device_t dev)
case 0x74111022:
return "AMD 766 ATA100 controller";
case 0x74411022:
return "AMD 768 ATA100 controller";
case 0x02111166:
return "ServerWorks ROSB4 ATA33 controller";
@ -446,6 +449,7 @@ ata_pci_attach(device_t dev)
case 0x74091022: /* AMD 756 default setup */
case 0x74111022: /* AMD 766 default setup */
case 0x74411022: /* AMD 768 default setup */
/* set prefetch, postwrite */
pci_write_config(dev, 0x41, pci_read_config(dev, 0x41, 1) | 0xf0, 1);