From e9c3c4204d96ddf0c5c7e7b6878de2360760549b Mon Sep 17 00:00:00 2001 From: sekiya Date: Fri, 7 May 2004 13:01:49 +0000 Subject: [PATCH] Add support for Silicon Image 3512 chip to satalink driver -- treat it as a 3112 variant (without RAID support), which does the right thing with the controller on my K8NNXP. --- sys/dev/pci/pcidevs | 3 ++- sys/dev/pci/satalink.c | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs index 1586dde94ca1..193b26020a6b 100644 --- a/sys/dev/pci/pcidevs +++ b/sys/dev/pci/pcidevs @@ -1,4 +1,4 @@ -$NetBSD: pcidevs,v 1.620 2004/04/22 11:27:19 skd Exp $ +$NetBSD: pcidevs,v 1.621 2004/05/07 13:01:49 sekiya Exp $ /* * Copyright (c) 1995, 1996 Christopher G. Demetriou @@ -1165,6 +1165,7 @@ product CMDTECH 670 0x0670 USB0670 product CMDTECH 673 0x0673 USB0673 product CMDTECH 680 0x0680 SiI0680 product CMDTECH 3112 0x3112 SiI3112 SATALink +product CMDTECH 3512 0x3512 SiI3512 SATALink product CMDTECH 3114 0x3114 SiI3114 SATALink product CMDTECH 3124 0x3124 SiI3124 SATALink diff --git a/sys/dev/pci/satalink.c b/sys/dev/pci/satalink.c index 04fd42e96450..0df5fd0dd833 100644 --- a/sys/dev/pci/satalink.c +++ b/sys/dev/pci/satalink.c @@ -1,4 +1,4 @@ -/* $NetBSD: satalink.c,v 1.12 2004/01/07 22:06:57 thorpej Exp $ */ +/* $NetBSD: satalink.c,v 1.13 2004/05/07 13:01:49 sekiya Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -276,6 +276,11 @@ static const struct pciide_product_desc pciide_satalink_products[] = { "Silicon Image SATALink 3112", sii3112_chip_map, }, + { PCI_PRODUCT_CMDTECH_3512, + 0, + "Silicon Image SATALink 3512", + sii3112_chip_map, + }, { PCI_PRODUCT_CMDTECH_3114, 0, "Silicon Image SATALink 3114",