public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: Lionel.Bouton@inet6.fr, alan@lxorguk.ukuu.org.uk,
	marcelo@conectiva.com.br, torvalds@transmeta.com,
	linux-kernel@vger.kernel.org
Subject: [patch] Fix support for SiS5581/5582/5596 IDE
Date: Fri, 16 May 2003 16:02:22 +0200	[thread overview]
Message-ID: <20030516160222.A19746@ucw.cz> (raw)

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

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

[-- Attachment #2: sis5581-2.4.diff --]
[-- Type: text/plain, Size: 1736 bytes --]

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		0x5600

[-- Attachment #3: sis5581-2.5.diff --]
[-- Type: text/plain, Size: 1736 bytes --]

ChangeSet@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

             reply	other threads:[~2003-05-16 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-16 14:02 Vojtech Pavlik [this message]
2003-05-16 14:13 ` [patch] Fix support for SiS5581/5582/5596 IDE Lionel Bouton
2003-05-16 14:20   ` Vojtech Pavlik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030516160222.A19746@ucw.cz \
    --to=vojtech@suse.cz \
    --cc=Lionel.Bouton@inet6.fr \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox