Add support for Designware SATA controller driver
PATCH 1/2 Add support for Designware SATA controller driver
--- drivers/ata/Kconfig | 76 +- drivers/ata/Makefile | 1 + drivers/ata/sata_dwc.c | 2047 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 2091 insertions(+), 33 deletions(-) create mode 100644 drivers/ata/sata_dwc.c
drivers/ata/Kconfig +43 -33
@@ -72,56 +72,66 @@ config SATA_FSL If unsure, say N. -config ATA_SFF - bool "ATA SFF support" - default y +config SATA_DWC + tristate "DesignWare Cores SATA support" + depends on 460EX help - This option adds support for ATA controllers with SFF - compliant or similar programming interface. + This option enables support for the Synopsys DesignWare Cores SATA + controller. + It can be found on the AMCC 460EX. - SFF is the legacy IDE interface that has been around since - the dawn of time. Almost all PATA controllers have an - SFF interface. Many SATA controllers have an SFF interface - when configured into a legacy compatibility mode. + If unsure, say N. - For users with exclusively modern controllers like AHCI, - Silicon Image 3124, or Marvell 6440, you may choose to - disable this uneeded SFF support. +config ATA_SFF +bool "ATA SFF support" +default y +help + This option adds support for ATA controllers with SFF + compliant or similar programming interface. - If unsure, say Y. + SFF is the legacy IDE interface that has been around since + the dawn of time. Almost all PATA controllers have an + SFF interface. Many SATA controllers have an SFF interface + when configured into a legacy compatibility mode. + + For users with exclusively modern controllers like AHCI, + Silicon Image 3124, or Marvell 6440, you may choose to + disable this uneeded SFF support. + + If unsure, say Y. if ATA_SFF config SATA_SVW - tristate "ServerWorks Frodo / Apple K2 SATA support" - depends on PCI - help - This option enables support for Broadcom/Serverworks/Apple K2 - SATA support. +tristate "ServerWorks Frodo / Apple K2 SATA support" +depends on PCI +help + This option enables support for Broadcom/Serverworks/Apple K2 + SATA support. - If unsure, say N. + If unsure, say N. config ATA_PIIX - tristate "Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support" - depends on PCI - help - This option enables support for ICH5/6/7/8 Serial ATA - and support for PATA on the Intel ESB/ICH/PIIX3/PIIX4 series - host controllers. +tristate "Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support" +depends on PCI +help + This option enables support for ICH5/6/7/8 Serial ATA + and support for PATA on the Intel ESB/ICH/PIIX3/PIIX4 series + host controllers. - If unsure, say N. + If unsure, say N. config SATA_MV - tristate "Marvell SATA support" - help - This option enables support for the Marvell Serial ATA family. - Currently supports 88SX[56]0[48][01] PCI(-X) chips, - as well as the newer [67]042 PCI-X/PCIe and SOC devices. +tristate "Marvell SATA support" +help + This option enables support for the Marvell Serial ATA family. + Currently supports 88SX[56]0[48][01] PCI(-X) chips, + as well as the newer [67]042 PCI-X/PCIe and SOC devices. - If unsure, say N. + If unsure, say N. config SATA_NV - tristate "NVIDIA SATA support" +tristate "NVIDIA SATA support" depends on PCI help This option enables support for NVIDIA Serial ATA.
drivers/ata/Makefile +1 -0
@@ -18,6 +18,7 @@ obj-$(CONFIG_SATA_MV) += sata_mv.o obj-$(CONFIG_SATA_INIC162X) += sata_inic162x.o obj-$(CONFIG_PDC_ADMA) += pdc_adma.o obj-$(CONFIG_SATA_FSL) += sata_fsl.o +obj-$(CONFIG_SATA_DWC) += sata_dwc.o obj-$(CONFIG_PATA_ALI) += pata_ali.o obj-$(CONFIG_PATA_AMD) += pata_amd.o
drivers/ata/sata_dwc.c new file +2047 -0
2,047 lines not on this page · raw message
Signature · 1 line
1.5.5
Quoted 8 lines · Feng Kan
Signed-off-by Feng Kan <[email protected]>---
drivers/ata/Kconfig | 76 +- drivers/ata/Makefile | 1 + drivers/ata/sata_dwc.c | 2047 +++++++++++++++++++++++++++++++++++++++ +++++++++ 3 files changed, 2091 insertions(+), 33 deletions(-)create mode 100644
drivers/ata/sata_dwc.c
you should copy Jeff & [email protected] on SATA drivers.
- k
Quoted 35 lines · On Wed, 29 Apr 2009 14:42:25 -0700 Feng Kan <[email protected]> wrote:
Signed-off-by Feng Kan <[email protected]>--- drivers/ata/Kconfig | 76 +- drivers/ata/Makefile | 1 + drivers/ata/sata_dwc.c | 2047 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 2091 insertions(+), 33 deletions(-) create mode 100644 drivers/ata/sata_dwc.cdrivers/ata/Kconfig +7
-9@@ -72,56 +72,66 @@ config SATA_FSL If unsure, say N. -config ATA_SFF - bool "ATA SFF support" - default y +config SATA_DWC + tristate "DesignWare Cores SATA support" + depends on 460EX help - This option adds support for ATA controllers with SFF - compliant or similar programming interface. + This option enables support for the Synopsys DesignWare Cores SATA + controller. + It can be found on the AMCC 460EX. - SFF is the legacy IDE interface that has been around since - the dawn of time. Almost all PATA controllers have an - SFF interface. Many SATA controllers have an SFF interface - when configured into a legacy compatibility mode. + If unsure, say N.
drivers/ata/Kconfig config SATA_FSL · line 90
Quoted 10 lines
drivers/ata/Kconfig +6
-3- For users with exclusively modern controllers like AHCI, - Silicon Image 3124, or Marvell 6440, you may choose to - disable this uneeded SFF support. +config ATA_SFF +bool "ATA SFF support" +default y +help + This option adds support for ATA controllers with SFF + compliant or similar programming interface.
You seem to have reformatted some of this file (hopefully) unintentionally ...
And the linuxppc-embedded mailing list has gone away.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Quoted 13 lines · Feng Kan
Signed-off-by Feng Kan <[email protected]>--- drivers/ata/Kconfig | 76 +- drivers/ata/Makefile | 1 + drivers/ata/sata_dwc.c | 2047 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 2091 insertions(+), 33 deletions(-) create mode 100644 drivers/ata/sata_dwc.cdrivers/ata/Kconfig +0
-0
drivers/ata/Kconfig config SATA_FSL · line 77
Quoted 6 lines
drivers/ata/Kconfig +0
-3@@ -72,56 +72,66 @@ config SATA_FSL If unsure, say N. -config ATA_SFF - bool "ATA SFF support" - default y
Hi Feng !
Nice to see this driver finally submitted !
However, it should be sent to the linux-ide mailing list in order to be reviewed by the right people (though you should keep linuxppc-dev on CC).
Also, I think you want to avoid that Kconfig churn, just add your option as a drop-in, don't re-arrange half of the file while at it :-)
Cheers,
Ben.