From f0816e2b90db5048fa0013c1e02c62c897d7787c Mon Sep 17 00:00:00 2001 From: bouyer Date: Wed, 10 Mar 2004 22:16:04 +0000 Subject: [PATCH] Enable ATA-133 for AMD8111. From Nicolas Joly in kern/24729. pciide_apollo_reg.h already contains the Ultra133 timming values for amd. --- sys/dev/pci/viaide.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/viaide.c b/sys/dev/pci/viaide.c index 0f3c71ef7c0a..607a24a2a7a7 100644 --- a/sys/dev/pci/viaide.c +++ b/sys/dev/pci/viaide.c @@ -1,4 +1,4 @@ -/* $NetBSD: viaide.c,v 1.10 2004/02/20 16:36:29 fvdl Exp $ */ +/* $NetBSD: viaide.c,v 1.11 2004/03/10 22:16:04 bouyer Exp $ */ /* * Copyright (c) 1999, 2000, 2001 Manuel Bouyer. @@ -265,9 +265,11 @@ unknown: break; case PCI_VENDOR_AMD: switch (sc->sc_pp->ide_product) { + case PCI_PRODUCT_AMD_PBC8111_IDE: + sc->sc_wdcdev.UDMA_cap = 6; + break; case PCI_PRODUCT_AMD_PBC766_IDE: case PCI_PRODUCT_AMD_PBC768_IDE: - case PCI_PRODUCT_AMD_PBC8111_IDE: sc->sc_wdcdev.UDMA_cap = 5; break; default: