Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Match VT8251 IDE controller and enable UDMA Mode...



details:   https://anonhg.NetBSD.org/src/rev/53358e8851c8
branches:  trunk
changeset: 749131:53358e8851c8
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Wed Nov 18 19:42:18 2009 +0000

description:
Match VT8251 IDE controller and enable UDMA Mode 6 thereon.
Should fix PATA speed issue in PR/37517.
Due to lack of hardware, only compile tested at this point.

diffstat:

 sys/dev/pci/viaide.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 4b7f82f183e8 -r 53358e8851c8 sys/dev/pci/viaide.c
--- a/sys/dev/pci/viaide.c      Wed Nov 18 18:44:55 2009 +0000
+++ b/sys/dev/pci/viaide.c      Wed Nov 18 19:42:18 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: viaide.c,v 1.61 2009/10/19 18:41:16 bouyer Exp $       */
+/*     $NetBSD: viaide.c,v 1.62 2009/11/18 19:42:18 jakllsch Exp $     */
 
 /*
  * Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: viaide.c,v 1.61 2009/10/19 18:41:16 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: viaide.c,v 1.62 2009/11/18 19:42:18 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -523,6 +523,10 @@
                        aprint_normal("CX700M2/VX700 ATA133 controller\n");
                        sc->sc_wdcdev.sc_atac.atac_udma_cap = 6;
                        break;
+               case PCI_PRODUCT_VIATECH_VT8251:
+                       aprint_normal("VT8251 ATA133 controller\n");
+                       sc->sc_wdcdev.sc_atac.atac_udma_cap = 6;
+                       break;
                default:
 unknown:
                        aprint_normal("unknown VIA ATA controller\n");



Home | Main Index | Thread Index | Old Index