Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ee44391eae5d1fabd6eacf89b3bb2e3fbc315e7d
Commit:     ee44391eae5d1fabd6eacf89b3bb2e3fbc315e7d
Parent:     3b277c2965b0c707b76f89368ebe6e6da6605c23
Author:     Byron Bradley <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 8 18:20:23 2008 +0000
Committer:  Nicolas Pitre <[EMAIL PROTECTED]>
CommitDate: Fri Feb 8 13:31:06 2008 -0500

    [ARM] Orion: Use the sata_mv driver for the TS-209 SATA
    
    The TS-209 has a two port integrated SATA controller.
    Use the sata_mv driver for this.
    
    Signed-off-by: Byron Bradley <[EMAIL PROTECTED]>
    Signed-off-by: Nicolas Pitre <[EMAIL PROTECTED]>
---
 arch/arm/mach-orion/ts209-setup.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-orion/ts209-setup.c 
b/arch/arm/mach-orion/ts209-setup.c
index 8edb2ac..306dbcd 100644
--- a/arch/arm/mach-orion/ts209-setup.c
+++ b/arch/arm/mach-orion/ts209-setup.c
@@ -21,6 +21,7 @@
 #include <linux/input.h>
 #include <linux/i2c.h>
 #include <linux/serial_reg.h>
+#include <linux/ata_platform.h>
 #include <asm/mach-types.h>
 #include <asm/gpio.h>
 #include <asm/mach/arch.h>
@@ -232,6 +233,14 @@ static struct platform_device qnap_ts209_button_device = {
 };
 
 /*****************************************************************************
+ * SATA
+ ****************************************************************************/
+static struct mv_sata_platform_data qnap_ts209_sata_data = {
+       .n_ports        = 2,
+};
+
+/*****************************************************************************
+
  * General Setup
  ****************************************************************************/
 
@@ -321,6 +330,7 @@ static void __init qnap_ts209_init(void)
                                ARRAY_SIZE(qnap_ts209_devices));
        i2c_register_board_info(0, &qnap_ts209_i2c_rtc, 1);
        orion_eth_init(&qnap_ts209_eth_data);
+       orion_sata_init(&qnap_ts209_sata_data);
 }
 
 MACHINE_START(TS209, "QNAP TS-109/TS-209")
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to