From patchwork Sat Mar 23 04:06:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2324121 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id DF716400E6 for ; Sat, 23 Mar 2013 04:11:10 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UJFjP-0001uo-RO; Sat, 23 Mar 2013 04:06:59 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UJFjL-0001tW-9M for linux-arm-kernel@lists.infradead.org; Sat, 23 Mar 2013 04:06:56 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MK3000MII3FMY80@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Sat, 23 Mar 2013 13:06:51 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.47]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 97.D4.05174.B5A2D415; Sat, 23 Mar 2013 13:06:51 +0900 (KST) X-AuditID: cbfee68f-b7f4a6d000001436-31-514d2a5b5ccb Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 48.F5.13494.A5A2D415; Sat, 23 Mar 2013 13:06:51 +0900 (KST) Received: from DOJG1HAN02 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MK300EFWI3EW830@mmp2.samsung.com>; Sat, 23 Mar 2013 13:06:50 +0900 (KST) From: Jingoo Han To: 'Kukjin Kim' , 'Bjorn Helgaas' References: <00c001ce277b$92b26ab0$b8174010$%han@samsung.com> In-reply-to: <00c001ce277b$92b26ab0$b8174010$%han@samsung.com> Subject: [PATCH 3/6] pci: infrastructure to add drivers in drivers/pci/host Date: Sat, 23 Mar 2013 13:06:50 +0900 Message-id: <00c201ce277b$d88be2f0$89a3a8d0$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac4ne5IlJNJTIxgLT4K5aVV6JypTrgAACf3A Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCKsWRmVeSWpSXmKPExsVy+t8zfd1oLd9Ag9tL2S2a/29ntVjSlGFx YPZDVotXZzayWVxeeInV4vsNU4veBVfZLDY9vsZqcXnXHDaLs/OOs1nMOL+PyWJF01ZGi8UX lzNb7F65hMXi2IwljBZPHzQxOQh4rJm3htGjb8pVNo8nmy4yeizYVOpx59oeNo/NS+o9zs9Y yOjxfUcvUMGWVYweP1/qeHzeJBfAHcVlk5Kak1mWWqRvl8CVceaBSME97oon8+6zNjA+5Oxi 5OSQEDCRWPOzixHCFpO4cG89G4gtJLCMUWLGOv8uRg6wmvYP1V2MXEDh6YwSjat2MEPU/GKU ONAnCmKzCahJfPlymB3EFhHwl7h2tZUFpIFZ4DOLxPLJZ9ghGmwl7p6cC9bMKWAn8bgVpIiT Q1jAW2LVifdgNSwCqhKNm+aygCzmBaqfucUUJMwrICjxY/I9sHJmAS2J9TuPM0HY8hKb17xl hrhTXeLRX12IE4wkFjU2MEKUiEjse/GOEeQcCYErHBLXnkD8yyIgIPFt8iEWiF5ZiU0HmCHB IClxcMUNlgmMErOQbJ6FZPMsJJtnIVmxgJFlFaNoakFyQXFSepGxXnFibnFpXrpecn7uJkZI CunfwXj3gPUhxmSg9ROZpUST84EpKK8k3tDYzMjC1MTU2Mjc0ow0YSVxXrU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mDk6pBsZoiZVvXfb5/euSrZuW7bxDovt4utSS S3/mPLkhdO1/W2LoxEx+/7STLHf4yr8cOxaye/dGU5+2Mq07bAax0pUbOeNSXnp8ztrByM4c +OSe9+TPVfs7k1NMjhW0Bkg1bdv8aUrsDdHLZ+WN1d5PWnd2RrZd7Nfm/v/dvs3nVswr+PXo 0u+sEmclluKMREMt5qLiRACItWGJlAMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130323_000655_614904_EC6FFD78 X-CRM114-Status: GOOD ( 10.57 ) X-Spam-Score: -8.9 (--------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-8.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.33 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.5 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] 0.5 HDRS_LCASE_1K Odd capitalization of message headers + long header Cc: 'Thomas Petazzoni' , 'Jason Gunthorpe' , linux-samsung-soc@vger.kernel.org, 'Siva Reddy Kallam' , linux-pci@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, 'Thierry Reding' , linux-kernel@vger.kernel.org, 'Grant Likely' , 'Surendranath Gurivireddy Balla' , 'Thomas Abraham' , 'Jingoo Han' , 'Andrew Murray' , 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 From: Thomas Petazzoni As agreed by the community, PCI host drivers will now be stored in drivers/pci/host. This commit adds this directory and the related Kconfig/Makefile changes to allow new drivers to be added in this directory. Signed-off-by: Thomas Petazzoni Signed-off-by: Jingoo Han --- drivers/pci/Kconfig | 2 ++ drivers/pci/Makefile | 3 +++ drivers/pci/host/Kconfig | 4 ++++ 3 files changed, 9 insertions(+), 0 deletions(-) create mode 100644 drivers/pci/host/Kconfig diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 6d51aa6..ac45398 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -119,3 +119,5 @@ config PCI_IOAPIC config PCI_LABEL def_bool y if (DMI || ACPI) select NLS + +source "drivers/pci/host/Kconfig" diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile index 0c3efcf..6ebf5bf 100644 --- a/drivers/pci/Makefile +++ b/drivers/pci/Makefile @@ -67,3 +67,6 @@ obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o obj-$(CONFIG_OF) += of.o ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG + +# PCI host controller drivers +obj-y += host/ diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig new file mode 100644 index 0000000..cc3a1af --- /dev/null +++ b/drivers/pci/host/Kconfig @@ -0,0 +1,4 @@ +menu "PCI host controller drivers" + depends on PCI + +endmenu