lkml.org 
[lkml]   [2003]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
Subject[patch] Fix support for SiS5581/5582/5596 IDE
Hi!

The last patch for SiS96* also added support for SiS5581, SiS5582 and
SiS5596. However, the PCI IDs for these three chips were incorrect by
mistake (cut and paste problem). This patch, on top of the previous one
fixes it, and thus adds proper support for these old chips.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
ChangeSet@1.1213, 2003-05-16 15:52:40+02:00, vojtech@suse.cz
sis5513.c: Fix newly added SiS55** PCI IDs.


drivers/ide/pci/sis5513.c | 9 ++++-----
include/linux/pci_ids.h | 3 +++
2 files changed, 7 insertions(+), 5 deletions(-)


diff -Nru a/drivers/ide/pci/sis5513.c b/drivers/ide/pci/sis5513.c
--- a/drivers/ide/pci/sis5513.c Fri May 16 15:53:18 2003
+++ b/drivers/ide/pci/sis5513.c Fri May 16 15:53:18 2003
@@ -105,12 +105,11 @@
{ "SiS5600", PCI_DEVICE_ID_SI_5600, ATA_33 },
{ "SiS5598", PCI_DEVICE_ID_SI_5598, ATA_33 },
{ "SiS5597", PCI_DEVICE_ID_SI_5597, ATA_33 },
- { "SiS5592", PCI_DEVICE_ID_SI_5591, ATA_33 },
- { "SiS5591", PCI_DEVICE_ID_SI_5591, ATA_33 },
- { "SiS5581", PCI_DEVICE_ID_SI_5571, ATA_33 },
- { "SiS5582", PCI_DEVICE_ID_SI_5571, ATA_33 },
+ { "SiS5591/2", PCI_DEVICE_ID_SI_5591, ATA_33 },
+ { "SiS5582", PCI_DEVICE_ID_SI_5582, ATA_33 },
+ { "SiS5581", PCI_DEVICE_ID_SI_5581, ATA_33 },

- { "SiS5596", PCI_DEVICE_ID_SI_5597, ATA_16 },
+ { "SiS5596", PCI_DEVICE_ID_SI_5596, ATA_16 },
{ "SiS5571", PCI_DEVICE_ID_SI_5571, ATA_16 },
{ "SiS551x", PCI_DEVICE_ID_SI_5511, ATA_16 },
};
diff -Nru a/include/linux/pci_ids.h b/include/linux/pci_ids.h
--- a/include/linux/pci_ids.h Fri May 16 15:53:18 2003
+++ b/include/linux/pci_ids.h Fri May 16 15:53:18 2003
@@ -521,7 +521,10 @@
#define PCI_DEVICE_ID_SI_5513 0x5513
#define PCI_DEVICE_ID_SI_5518 0x5518
#define PCI_DEVICE_ID_SI_5571 0x5571
+#define PCI_DEVICE_ID_SI_5581 0x5581
+#define PCI_DEVICE_ID_SI_5582 0x5582
#define PCI_DEVICE_ID_SI_5591 0x5591
+#define PCI_DEVICE_ID_SI_5596 0x5596
#define PCI_DEVICE_ID_SI_5597 0x5597
#define PCI_DEVICE_ID_SI_5598 0x5598
#define PCI_DEVICE_ID_SI_5600 0x5600ChangeSet@1.1151, 2003-05-16 15:54:27+02:00, vojtech@suse.cz
sis5513.c: Fix newly added SiS55** PCI IDs.


drivers/ide/pci/sis5513.c | 9 ++++-----
include/linux/pci_ids.h | 3 +++
2 files changed, 7 insertions(+), 5 deletions(-)


diff -Nru a/drivers/ide/pci/sis5513.c b/drivers/ide/pci/sis5513.c
--- a/drivers/ide/pci/sis5513.c Fri May 16 15:57:07 2003
+++ b/drivers/ide/pci/sis5513.c Fri May 16 15:57:07 2003
@@ -105,12 +105,11 @@
{ "SiS5600", PCI_DEVICE_ID_SI_5600, ATA_33 },
{ "SiS5598", PCI_DEVICE_ID_SI_5598, ATA_33 },
{ "SiS5597", PCI_DEVICE_ID_SI_5597, ATA_33 },
- { "SiS5592", PCI_DEVICE_ID_SI_5591, ATA_33 },
- { "SiS5591", PCI_DEVICE_ID_SI_5591, ATA_33 },
- { "SiS5581", PCI_DEVICE_ID_SI_5571, ATA_33 },
- { "SiS5582", PCI_DEVICE_ID_SI_5571, ATA_33 },
+ { "SiS5591/2", PCI_DEVICE_ID_SI_5591, ATA_33 },
+ { "SiS5582", PCI_DEVICE_ID_SI_5582, ATA_33 },
+ { "SiS5581", PCI_DEVICE_ID_SI_5581, ATA_33 },

- { "SiS5596", PCI_DEVICE_ID_SI_5597, ATA_16 },
+ { "SiS5596", PCI_DEVICE_ID_SI_5596, ATA_16 },
{ "SiS5571", PCI_DEVICE_ID_SI_5571, ATA_16 },
{ "SiS551x", PCI_DEVICE_ID_SI_5511, ATA_16 },
};
diff -Nru a/include/linux/pci_ids.h b/include/linux/pci_ids.h
--- a/include/linux/pci_ids.h Fri May 16 15:57:07 2003
+++ b/include/linux/pci_ids.h Fri May 16 15:57:07 2003
@@ -577,7 +577,10 @@
#define PCI_DEVICE_ID_SI_5513 0x5513
#define PCI_DEVICE_ID_SI_5518 0x5518
#define PCI_DEVICE_ID_SI_5571 0x5571
+#define PCI_DEVICE_ID_SI_5581 0x5581
+#define PCI_DEVICE_ID_SI_5582 0x5582
#define PCI_DEVICE_ID_SI_5591 0x5591
+#define PCI_DEVICE_ID_SI_5596 0x5596
#define PCI_DEVICE_ID_SI_5597 0x5597
#define PCI_DEVICE_ID_SI_5598 0x5598
#define PCI_DEVICE_ID_SI_5600 0x5600
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.029 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site