Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Make the Adaptec 1420SA entry match the Marvell ...



details:   https://anonhg.NetBSD.org/src/rev/25c3958eae06
branches:  trunk
changeset: 761538:25c3958eae06
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Mon Jan 31 16:30:48 2011 +0000

description:
Make the Adaptec 1420SA entry match the Marvell 88SX6041 entry.

According to
http://lists.freebsd.org/pipermail/freebsd-current/2010-April/016973.html
the Adaptec 1420SA is a 88SX6041 (and the 1430SA is a 88SX7042).

This should fix the problem described in
http://mail-index.netbsd.org/current-users/2010/10/14/msg014526.html

diffstat:

 sys/dev/pci/mvsata_pci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r c8a2b23be046 -r 25c3958eae06 sys/dev/pci/mvsata_pci.c
--- a/sys/dev/pci/mvsata_pci.c  Mon Jan 31 15:07:29 2011 +0000
+++ b/sys/dev/pci/mvsata_pci.c  Mon Jan 31 16:30:48 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsata_pci.c,v 1.5 2010/08/01 07:38:17 kiyohara Exp $  */
+/*     $NetBSD: mvsata_pci.c,v 1.6 2011/01/31 16:30:48 jakllsch Exp $  */
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsata_pci.c,v 1.5 2010/08/01 07:38:17 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata_pci.c,v 1.6 2011/01/31 16:30:48 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -116,12 +116,12 @@
        { PCI_VP(MARVELL, 88SX5081),            2, 4, gen1, 0 },
        { PCI_VP(MARVELL, 88SX6040),            1, 4, gen2, 0 },
        { PCI_VP(MARVELL, 88SX6041),            1, 4, gen2, 0 },
+       { PCI_VP(ADP2, 1420SA),                 1, 4, gen2, 0 }, /* 88SX6041 */
        { PCI_VP(MARVELL, 88SX6042),            1, 4, gen2e, 0 },
        { PCI_VP(MARVELL, 88SX6080),            2, 4, gen2, MVSATA_FLAGS_PCIE },
        { PCI_VP(MARVELL, 88SX6081),            2, 4, gen2, MVSATA_FLAGS_PCIE },
-       { PCI_VP(ADP2, 1420SA),                 2, 4, gen2, MVSATA_FLAGS_PCIE },
        { PCI_VP(MARVELL, 88SX7042),            1, 4, gen2e, 0 },
-       { PCI_VP(ADP2, 1430SA),                 1, 4, gen2e, 0 },
+       { PCI_VP(ADP2, 1430SA),                 1, 4, gen2e, 0 }, /* 88SX7042 */
        { PCI_VP(TRIONES, ROCKETRAID_2310),     1, 4, gen2e, 0 },
 #undef PCI_VP
 };



Home | Main Index | Thread Index | Old Index