All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.20-rc1-git1] siimage SIL 3512 support
@ 2007-02-26  4:02 Øyvind Repvik
  2007-02-26 14:20 ` Alan
  0 siblings, 1 reply; 2+ messages in thread
From: Øyvind Repvik @ 2007-02-26  4:02 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 142 bytes --]

Patch to enable SIL 3512 S-ATA controller, used in eg. QNAP TS-101 and 
TS-201 devices.

Signed-off-by: OEyvind Repvik <nail@nslu2-linux.org>

[-- Attachment #2: 001_sata-sil.diff --]
[-- Type: text/x-patch, Size: 1632 bytes --]

Index: linux-2.6.21-rc1/drivers/ide/pci/siimage.c
===================================================================
--- linux-2.6.21-rc1.orig/drivers/ide/pci/siimage.c	2007-02-26 04:43:04.000000000 +0100
+++ linux-2.6.21-rc1/drivers/ide/pci/siimage.c	2007-02-26 04:45:01.000000000 +0100
@@ -50,6 +50,7 @@
 	switch(pdev->device)
 	{
 		case PCI_DEVICE_ID_SII_3112:
+		case PCI_DEVICE_ID_SII_3512:
 		case PCI_DEVICE_ID_SII_1210SA:
 			return 1;
 		case PCI_DEVICE_ID_SII_680:
@@ -1050,7 +1051,8 @@
 static ide_pci_device_t siimage_chipsets[] __devinitdata = {
 	/* 0 */ DECLARE_SII_DEV("SiI680"),
 	/* 1 */ DECLARE_SII_DEV("SiI3112 Serial ATA"),
-	/* 2 */ DECLARE_SII_DEV("Adaptec AAR-1210SA")
+	/* 2 */ DECLARE_SII_DEV("Adaptec AAR-1210SA"),
+	/* 3 */ DECLARE_SII_DEV("SiI3512 Serial ATA")
 };
 
 /**
@@ -1072,6 +1074,7 @@
 #ifdef CONFIG_BLK_DEV_IDE_SATA
 	{ PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_3112, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
 	{ PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_1210SA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2},
+	{ PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_3512, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 3},
 #endif
 	{ 0, },
 };
Index: linux-2.6.21-rc1/include/linux/pci_ids.h
===================================================================
--- linux-2.6.21-rc1.orig/include/linux/pci_ids.h	2007-02-26 04:43:04.000000000 +0100
+++ linux-2.6.21-rc1/include/linux/pci_ids.h	2007-02-26 04:46:14.000000000 +0100
@@ -932,6 +932,7 @@
 #define PCI_DEVICE_ID_SII_680		0x0680
 #define PCI_DEVICE_ID_SII_3112		0x3112
 #define PCI_DEVICE_ID_SII_1210SA	0x0240
+#define PCI_DEVICE_ID_SII_3512		0x3512
 
 
 #define PCI_VENDOR_ID_BROOKTREE		0x109e

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2.6.20-rc1-git1] siimage SIL 3512 support
  2007-02-26  4:02 [PATCH 2.6.20-rc1-git1] siimage SIL 3512 support Øyvind Repvik
@ 2007-02-26 14:20 ` Alan
  0 siblings, 0 replies; 2+ messages in thread
From: Alan @ 2007-02-26 14:20 UTC (permalink / raw)
  To: Øyvind Repvik; +Cc: linux-kernel

On Mon, 26 Feb 2007 05:02:36 +0100
Øyvind Repvik <repvik@kynisk.com> wrote:

> Patch to enable SIL 3512 S-ATA controller, used in eg. QNAP TS-101 and 
> TS-201 devices.

NAK

The 3512 is not quite the same as the 3112. It is supported by
drivers/ata/sata_sil.c for the new SATA layer. If you want to use the old
IDE layer and you know there will be no hotplug etc then you'll also need
to port the other 3114, 3512 differences over including the FIS errata
workarounds from the libata SATA driver into the legacy one.

Alan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-26 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-26  4:02 [PATCH 2.6.20-rc1-git1] siimage SIL 3512 support Øyvind Repvik
2007-02-26 14:20 ` Alan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.