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

    [ARM] Orion: Use the sata_mv driver for the Kurobox SATA
    
    The Kurobox 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/kurobox_pro-setup.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-orion/kurobox_pro-setup.c 
b/arch/arm/mach-orion/kurobox_pro-setup.c
index 9bdd987..6817aca 100644
--- a/arch/arm/mach-orion/kurobox_pro-setup.c
+++ b/arch/arm/mach-orion/kurobox_pro-setup.c
@@ -17,6 +17,7 @@
 #include <linux/mtd/nand.h>
 #include <linux/mv643xx_eth.h>
 #include <linux/i2c.h>
+#include <linux/ata_platform.h>
 #include <asm/mach-types.h>
 #include <asm/gpio.h>
 #include <asm/mach/arch.h>
@@ -167,6 +168,13 @@ static struct i2c_board_info __initdata 
kurobox_pro_i2c_rtc = {
 };
 
 /*****************************************************************************
+ * SATA
+ ****************************************************************************/
+static struct mv_sata_platform_data kurobox_pro_sata_data = {
+       .n_ports        = 2,
+};
+
+/*****************************************************************************
  * General Setup
  ****************************************************************************/
 
@@ -220,6 +228,7 @@ static void __init kurobox_pro_init(void)
        platform_add_devices(kurobox_pro_devices, 
ARRAY_SIZE(kurobox_pro_devices));
        i2c_register_board_info(0, &kurobox_pro_i2c_rtc, 1);
        orion_eth_init(&kurobox_pro_eth_data);
+       orion_sata_init(&kurobox_pro_sata_data);
 }
 
 MACHINE_START(KUROBOX_PRO, "Buffalo/Revogear Kurobox Pro")
-
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