]> Git Repo - linux.git/commitdiff
[ARM] Kirkwood: enable eSATA on QNAP TS-219P
authorJohn Holland <[email protected]>
Wed, 19 Aug 2009 23:24:03 +0000 (13:24 -1000)
committerNicolas Pitre <[email protected]>
Mon, 24 Aug 2009 15:56:00 +0000 (11:56 -0400)
Initialize PCI/PCIe on the QNAP TS-119, TS-219 and TS-219P hardware
allowing the use of the discrete eSATA controller connected to the PCIe
bus in the TS-219P.

Signed-off-by: John Holland <[email protected]>
Tested-by: Thomas Reitmayr <[email protected]>
Signed-off-by: Martin Michlmayr <[email protected]>
Signed-off-by: Nicolas Pitre <[email protected]>
arch/arm/configs/kirkwood_defconfig
arch/arm/mach-kirkwood/ts219-setup.c

index 0a1abb978d7efe4b8b475fc588eee5a1e4e54deb..af74cc2de8b6827448b4f40e51c9c5f9c3a4638b 100644 (file)
@@ -629,7 +629,7 @@ CONFIG_SCSI_LOWLEVEL=y
 CONFIG_ATA=y
 # CONFIG_ATA_NONSTANDARD is not set
 CONFIG_SATA_PMP=y
-# CONFIG_SATA_AHCI is not set
+CONFIG_SATA_AHCI=y
 # CONFIG_SATA_SIL24 is not set
 CONFIG_ATA_SFF=y
 # CONFIG_SATA_SVW is not set
index 01aa213c0a6ffda67086c8c3aaac24dbfd4b5113..ec1a64f263d224285b9478f04a3c79cf85e173b7 100644 (file)
@@ -206,6 +206,15 @@ static void __init qnap_ts219_init(void)
 
 }
 
+static int __init ts219_pci_init(void)
+{
+   if (machine_is_ts219())
+           kirkwood_pcie_init();
+
+   return 0;
+}
+subsys_initcall(ts219_pci_init);
+
 MACHINE_START(TS219, "QNAP TS-119/TS-219")
        /* Maintainer: Martin Michlmayr <[email protected]> */
        .phys_io        = KIRKWOOD_REGS_PHYS_BASE,
This page took 0.061663 seconds and 4 git commands to generate.