From patchwork Wed Jun 18 04:54:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 4373101 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 574AABEEAA for ; Wed, 18 Jun 2014 04:57:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8AB122025B for ; Wed, 18 Jun 2014 04:57:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 90E77201BC for ; Wed, 18 Jun 2014 04:57:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wx7tf-0003RS-D4; Wed, 18 Jun 2014 04:54:55 +0000 Received: from mail-pa0-f48.google.com ([209.85.220.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wx7tW-0003M2-Ul for linux-arm-kernel@lists.infradead.org; Wed, 18 Jun 2014 04:54:47 +0000 Received: by mail-pa0-f48.google.com with SMTP id et14so319919pad.21 for ; Tue, 17 Jun 2014 21:54:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EdSTAQXJGzHoqmg7PaLM+ppRzXjqGjIQfaM7WyfZRN4=; b=byBhXbVwl0B7ltoZuxAZ5Kh7xaiiLVZgCgGDUt+UL3wSaAKgcPLAQ0PI1iu3rawXnj F+MFWflZZhlmBxV00Zr1OYp/kMPsUrJXczTorgukLa/10cz5OCxzw/i+oVYJDjUFd39K 7GnG7vlsgBoEnP3lvw1S7hO+LVf72meGOt5gqOltSIkSSnBCj3FURWEWuRiqQHKqhtdO +NTOs7fTtJGhVexC9917m2IbgRApGhJk/hUbcf91HF6HUq0YzJi8KFy70mNMhjxUMiaH NxBlB1weIm+4zW0fjW2dCoNe8soaInALY/ypOxynihU5oXQFnSfxUA4uBAwLGFRVogKj HIOg== X-Gm-Message-State: ALoCoQkV2c9b8GT+liFYC4rgWWlnt9hf9bsK7eRzQ4lkVXq/85c70a7sJife3xmwPb2rNAualN7r X-Received: by 10.68.220.137 with SMTP id pw9mr37956859pbc.24.1403067265716; Tue, 17 Jun 2014 21:54:25 -0700 (PDT) Received: from localhost.localdomain ([180.150.148.224]) by mx.google.com with ESMTPSA id oa3sm1060507pbb.15.2014.06.17.21.54.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Jun 2014 21:54:25 -0700 (PDT) From: Zhangfei Gao To: tj@kernel.org, hdegoede@redhat.com, arnd@arndb.de, mark.rutland@arm.com Subject: [PATCH RFC 2/2] ahci: remove AHCI_HFLAG_NO_FBS setting Date: Wed, 18 Jun 2014 12:54:09 +0800 Message-Id: <1403067249-8021-3-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403067249-8021-1-git-send-email-zhangfei.gao@linaro.org> References: <1403067249-8021-1-git-send-email-zhangfei.gao@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140617_215447_024180_2908C8B0 X-CRM114-Status: UNSURE ( 8.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: linux-ide@vger.kernel.org, Zhangfei Gao , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP AHCI_HFLAG can be set directly in dts. For example ahci:sata@f9900000 { no-fbs; no-ncq; }; Signed-off-by: Zhangfei Gao --- drivers/ata/ahci_platform.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c index ebe505c17763..d6dedaa94280 100644 --- a/drivers/ata/ahci_platform.c +++ b/drivers/ata/ahci_platform.c @@ -57,9 +57,6 @@ static int ahci_probe(struct platform_device *pdev) goto disable_resources; } - if (of_device_is_compatible(dev->of_node, "hisilicon,hisi-ahci")) - hflags |= AHCI_HFLAG_NO_FBS; - rc = ahci_platform_init_host(pdev, hpriv, &ahci_port_info, hflags, 0, 0); if (rc)