Skip to contentSkip to conversation

Updated CS5535 IDE driver

PATCH New [email protected] 1 participant 1 message Feb 16, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Updated CS5535 IDE driver

Hi Bartlomiej, IDE, kernel folk,

As per thread with Jordan Crouse and Bartlomiej on lkml, this merges AMD's changes with the changes from the following threads.

http://marc.theaimsgroup.com/?l=linux-ide&m=112832700817260&w=2

The specific changes merged from AMD:
- removes interface serialization (hwif->serialized) per Jordan and Alan
- set doc source, copyright and author to AMD as per Jordan. I assume this is okay with Jens, also from AMD.
- removes debug code
- updates Kconfig description

Thanks,
Jaya Kumar

---

 drivers/ide/Kconfig      |    9 +
 drivers/ide/pci/Makefile |    1 
 drivers/ide/pci/cs5535.c |  308 +++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/pci_ids.h  |    1 
 4 files changed, 319 insertions(+)
drivers/ide/Kconfig +9 -0
diff -uprN -X dontdiff.13.1 linux-2.6.13.1-vanilla/drivers/ide/Kconfig linux-2.6.13.1-ide/drivers/ide/Kconfig
@@ -539,6 +539,15 @@ config BLK_DEV_CS5530
 
 	  It is safe to say Y to this question.
 
+config BLK_DEV_CS5535
+	tristate "AMD CS5535 chipset support"
+	depends on X86 && !X86_64
+	help
+	  Include support for UDMA on the NSC/AMD CS5535 companion chipset. 
+	  This will automatically be detected and configured if found. 
+
+	  It is safe to say Y to this question.
+
 config BLK_DEV_HPT34X
 	tristate "HPT34X chipset support"
 	help
drivers/ide/pci/cs5535.c +308 -0

308 lines not on this page · raw message

drivers/ide/pci/Makefile +1 -0
diff -uprN -X dontdiff.13.1 linux-2.6.13.1-vanilla/drivers/ide/pci/Makefile linux-2.6.13.1-ide/drivers/ide/pci/Makefile
@@ -6,6 +6,7 @@ obj-$(CONFIG_BLK_DEV_ATIIXP)		+= atiixp.
 obj-$(CONFIG_BLK_DEV_CMD64X)		+= cmd64x.o
 obj-$(CONFIG_BLK_DEV_CS5520)		+= cs5520.o
 obj-$(CONFIG_BLK_DEV_CS5530)		+= cs5530.o
+obj-$(CONFIG_BLK_DEV_CS5535)		+= cs5535.o
 obj-$(CONFIG_BLK_DEV_SC1200)		+= sc1200.o
 obj-$(CONFIG_BLK_DEV_CY82C693)		+= cy82c693.o
 obj-$(CONFIG_BLK_DEV_HPT34X)		+= hpt34x.o
include/linux/pci_ids.h +1 -0
diff -uprN -X dontdiff.13.1 linux-2.6.13.1-vanilla/include/linux/pci_ids.h linux-2.6.13.1-ide/include/linux/pci_ids.h
@@ -402,6 +402,7 @@
 #define PCI_DEVICE_ID_NS_SC1100_SMI	0x0511
 #define PCI_DEVICE_ID_NS_SC1100_XBUS	0x0515
 #define PCI_DEVICE_ID_NS_87410		0xd001
+#define PCI_DEVICE_ID_NS_CS5535_IDE	0x002d
 
 #define PCI_VENDOR_ID_TSENG		0x100c
 #define PCI_DEVICE_ID_TSENG_W32P_2	0x3202