From patchwork Sun Apr 21 16:14:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Michlmayr X-Patchwork-Id: 2469051 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id A97293FD40 for ; Sun, 21 Apr 2013 16:15:29 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UTwuw-0008BQ-SJ; Sun, 21 Apr 2013 16:15:06 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UTwuh-00073W-LL; Sun, 21 Apr 2013 16:14:51 +0000 Received: from perro.cyrius.com ([86.65.39.29]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UTwuU-00072Y-73 for linux-arm-kernel@lists.infradead.org; Sun, 21 Apr 2013 16:14:39 +0000 Received: by perro.cyrius.com (Postfix, from userid 10) id D5B66122179; Sun, 21 Apr 2013 17:14:35 +0100 (BST) Received: by jirafa.cyrius.com (Postfix, from userid 1000) id 811CA15036D; Sun, 21 Apr 2013 09:14:00 -0700 (PDT) Date: Sun, 21 Apr 2013 17:14:00 +0100 From: Martin Michlmayr To: Andrew Lunn , Jason Cooper Subject: Re: [PATCH] Kirkwood: Enable PCIe port 1 on QNAP TS-11x/TS-21x Message-ID: <20130421161400.GD26943@jirafa.cyrius.com> References: <20130421152802.GA1408@jirafa.cyrius.com> <20130421154704.GV2824@lunn.ch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130421154704.GV2824@lunn.ch> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130421_121438_384538_7740C4FF X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Enable KW_PCIE1 on QNAP TS-11x/TS-21x devices as newer revisions (rev 1.3) have a USB 3.0 chip from Etron on PCIe port 1. Thanks to Marek Vasut for identifying this issue! Cc: Signed-off-by: Martin Michlmayr Tested-by: Marek Vasut Acked-by: Andrew Lunn diff --git a/arch/arm/mach-kirkwood/ts219-setup.c b/arch/arm/mach-kirkwood/ts219-setup.c index 283abff..e1267d6 100644 --- a/arch/arm/mach-kirkwood/ts219-setup.c +++ b/arch/arm/mach-kirkwood/ts219-setup.c @@ -124,7 +124,7 @@ static void __init qnap_ts219_init(void) static int __init ts219_pci_init(void) { if (machine_is_ts219()) - kirkwood_pcie_init(KW_PCIE0); + kirkwood_pcie_init(KW_PCIE1 | KW_PCIE0); return 0; }