Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Add back support for the legacy VT8237 IDE contr...



details:   https://anonhg.NetBSD.org/src/rev/25b733f151c5
branches:  trunk
changeset: 552062:25b733f151c5
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Sep 17 16:55:20 2003 +0000

description:
Add back support for the legacy VT8237 IDE controller.
This wasn't an error, on this chipset we have the SATA controller on function
0 of the IDE controller, not the pcib bridge.
Fix provided by Stephen Degler.

diffstat:

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

diffs (29 lines):

diff -r d63c09ab2dc3 -r 25b733f151c5 sys/dev/pci/pciide.c
--- a/sys/dev/pci/pciide.c      Wed Sep 17 16:01:19 2003 +0000
+++ b/sys/dev/pci/pciide.c      Wed Sep 17 16:55:20 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide.c,v 1.198 2003/09/15 20:24:42 bouyer Exp $      */
+/*     $NetBSD: pciide.c,v 1.199 2003/09/17 16:55:20 bouyer Exp $      */
 
 
 /*
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.198 2003/09/15 20:24:42 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.199 2003/09/17 16:55:20 bouyer Exp $");
 
 #ifndef WDCDEBUG
 #define WDCDEBUG
@@ -2392,6 +2392,10 @@
                aprint_normal("VT8235 ATA133 controller\n");
                sc->sc_wdcdev.UDMA_cap = 6;
                break;
+       case PCI_PRODUCT_VIATECH_VT8237_SATA:
+               aprint_normal("VT8237 ATA133 controller\n");
+               sc->sc_wdcdev.UDMA_cap = 6;
+               break;
        default:
                aprint_normal("unknown ATA controller\n");
                sc->sc_wdcdev.UDMA_cap = 0;



Home | Main Index | Thread Index | Old Index