DragonFly BSD
DragonFly bugs List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: failing disk, or not?


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Mar 2005 18:15:39 -0800 (PST)

    Try this patch.  It may not work.  FreeBSD has an entry for the PRO
    but not for the PRO S1.

						-Matt

Index: ata-dma.c
===================================================================
RCS file: /cvs/src/sys/dev/disk/ata/ata-dma.c,v
retrieving revision 1.25
diff -u -r1.25 ata-dma.c
--- ata-dma.c	1 Sep 2004 14:13:55 -0000	1.25
+++ ata-dma.c	30 Mar 2005 02:11:14 -0000
@@ -464,6 +464,8 @@
     case 0x01bc10de:	/* NVIDIA nForce1 */
     case 0x006510de:	/* NVIDIA nForce2 */
     case 0x00d510de:	/* NVIDIA nForce3 */
+    case 0x00e310de:	/* NVIDIA nForce3 PRO S1 */
+    case 0x00e510de:	/* NVIDIA nForce3 PRO */
     case 0x74691022:   /* AMD 8111 */
     case 0x74411022:	/* AMD 768 */
     case 0x74111022:	/* AMD 766 */
@@ -528,7 +530,9 @@
 		chip = "nVIDIA";
 	    }
 	    else if (chiptype == 0x006510de ||		/* nForce2 */
-		     chiptype == 0x00d510de) {		/* nForce3 */
+		     chiptype == 0x00d510de ||		/* nForce3 */
+		     chiptype == 0x00e310de ||		/* nForce3 PRO S1 */
+		     chiptype == 0x00e510de) {		/* nForce3 PRO */
 		udmamode = imin(udmamode, 6);
 		reg_val = via_modes[4];
 #if !defined(NO_ATANG)
Index: ata-pci.c
===================================================================
RCS file: /cvs/src/sys/dev/disk/ata/ata-pci.c,v
retrieving revision 1.18
diff -u -r1.18 ata-pci.c
--- ata-pci.c	8 Mar 2005 18:40:28 -0000	1.18
+++ ata-pci.c	30 Mar 2005 02:13:04 -0000
@@ -286,6 +286,12 @@
     case 0x00d510de:
 	return "nVIDIA nForce3 ATA133 controller";
 
+    case 0x00e310de:
+	return "nVIDIA nForce3 PRO S1 controller";
+
+    case 0x00e510de:
+	return "nVIDIA nForce3 PRO controller";
+
     case 0x02111166:
 	return "ServerWorks ROSB4 ATA33 controller";
 



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