Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci support for nForce 4 PATA and SATA



details:   https://anonhg.NetBSD.org/src/rev/9bd8f29c43ff
branches:  trunk
changeset: 573447:9bd8f29c43ff
user:      kent <kent%NetBSD.org@localhost>
date:      Thu Jan 27 13:34:32 2005 +0000

description:
support for nForce 4 PATA and SATA

diffstat:

 sys/dev/pci/viaide.c |  18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r f1e527761791 -r 9bd8f29c43ff sys/dev/pci/viaide.c
--- a/sys/dev/pci/viaide.c      Thu Jan 27 13:33:36 2005 +0000
+++ b/sys/dev/pci/viaide.c      Thu Jan 27 13:34:32 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: viaide.c,v 1.20 2005/01/13 20:54:39 jdolecek Exp $     */
+/*     $NetBSD: viaide.c,v 1.21 2005/01/27 13:34:32 kent Exp $ */
 
 /*
  * Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -117,6 +117,21 @@
          "NVIDIA nForce3 250 Serial ATA Controller",
          via_sata_chip_map
        },
+       { PCI_PRODUCT_NVIDIA_NFORCE4_ATA133,
+         0,
+         "NVIDIA nForce4 IDE Controller",
+         via_chip_map
+       },
+       { PCI_PRODUCT_NVIDIA_NFORCE4_SATA1,
+         0,
+         "NVIDIA nForce4 Serial ATA Controller",
+         via_sata_chip_map
+       },
+       { PCI_PRODUCT_NVIDIA_NFORCE4_SATA2,
+         0,
+         "NVIDIA nForce4 Serial ATA Controller",
+         via_sata_chip_map
+       },
        { 0,
          0,
          NULL,
@@ -304,6 +319,7 @@
                case PCI_PRODUCT_NVIDIA_NFORCE2_400_ATA133:
                case PCI_PRODUCT_NVIDIA_NFORCE3_ATA133:
                case PCI_PRODUCT_NVIDIA_NFORCE3_250_ATA133:
+               case PCI_PRODUCT_NVIDIA_NFORCE4_ATA133:
                        sc->sc_wdcdev.sc_atac.atac_udma_cap = 6;
                        break;
                }



Home | Main Index | Thread Index | Old Index