Skip to contentSkip to conversation

libata: pata_samsung: Add Samsung PATA controller driver

PATCH New Kukjin Kim 2 participants 2 messages Jul 13, 2010 – Jul 14, 2010

Subsystems (2)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

PATCH v7 1/1 libata: pata_samsung: Add Samsung PATA controller driver

From: Abhilash Kesavan <[email protected]>

Adds support for the Samsung PATA controller. This driver is based on the Libata subsystem and references the earlier patches sent for IDE subsystem.

---
Changes since v6:
- Removed check for device 1 in pata_s3c_wait_after_reset() and associated changes
- Initialized directly in pata_s3c_remove() and pata_s3c_resume()

 drivers/ata/Kconfig           |    9 +
 drivers/ata/Makefile          |    1 +
 drivers/ata/pata_samsung_cf.c |  683 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 693 insertions(+), 0 deletions(-)
 create mode 100644 drivers/ata/pata_samsung_cf.c
drivers/ata/Kconfig +9 -0
index aa85a98..1b5facf 100644
@@ -796,6 +796,15 @@ config PATA_RZ1000
 
 	  If unsure, say N.
 
+config PATA_SAMSUNG_CF
+	tristate "Samsung SoC PATA support"
+	depends on SAMSUNG_DEV_IDE
+	help
+	  This option enables basic support for Samsung's S3C/S5P board
+	  PATA controllers via the new ATA layer
+
+	  If unsure, say N.
+
 config PATA_WINBOND_VLB
 	tristate "Winbond W83759A VLB PATA support (Experimental)"
 	depends on ISA && EXPERIMENTAL
drivers/ata/Makefile +1 -0
index 7ef89d7..9576776 100644
@@ -87,6 +87,7 @@ obj-$(CONFIG_PATA_OF_PLATFORM)	+= pata_of_platform.o
 obj-$(CONFIG_PATA_QDI)		+= pata_qdi.o
 obj-$(CONFIG_PATA_RB532)	+= pata_rb532_cf.o
 obj-$(CONFIG_PATA_RZ1000)	+= pata_rz1000.o
+obj-$(CONFIG_PATA_SAMSUNG_CF)	+= pata_samsung_cf.o
 obj-$(CONFIG_PATA_WINBOND_VLB)	+= pata_winbond.o
 
 # Should be last but two libata driver
drivers/ata/pata_samsung_cf.c new file +683 -0

683 lines not on this page · raw message

Signature · 1 line
1.6.2.5
Applied
#1 lore raw

PATCH v7 1/1 libata: pata_samsung: Add Samsung PATA controller driver

Quoted 15 lines · Kukjin Kim

From: Abhilash Kesavan<[email protected]>

Adds support for the Samsung PATA controller. This driver is based on the Libata subsystem and references the earlier patches sent for IDE subsystem.

---
Changes since v6:
- Removed check for device 1 in pata_s3c_wait_after_reset() and associated changes
- Initialized directly in pata_s3c_remove() and pata_s3c_resume()

Quoted 5 lines
  drivers/ata/Kconfig           |    9 +
  drivers/ata/Makefile          |    1 +
  drivers/ata/pata_samsung_cf.c |  683 +++++++++++++++++++++++++++++++++++++++++
  3 files changed, 693 insertions(+), 0 deletions(-)

create mode 100644 drivers/ata/pata_samsung_cf.c

applied