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: 2323991 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 12BEE400E6 for ; Sat, 23 Mar 2013 04:06:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752592Ab3CWEGy (ORCPT ); Sat, 23 Mar 2013 00:06:54 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:59528 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752580Ab3CWEGw (ORCPT ); Sat, 23 Mar 2013 00:06:52 -0400 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>; 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' Cc: linux-samsung-soc@vger.kernel.org, linux-pci@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, 'Grant Likely' , 'Andrew Murray' , 'Thomas Petazzoni' , 'Thierry Reding' , 'Jason Gunthorpe' , 'Surendranath Gurivireddy Balla' , 'Siva Reddy Kallam' , 'Thomas Abraham' , 'Jingoo Han' 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 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit 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/I9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CkcSixgZGiBIRiX0v3jFOYBSahWTSLCSTZiGZNAtJywJGllWM oqkFyQXFSem5RnrFibnFpXnpesn5uZsYwQnqmfQOxlUNFocYBTgYlXh4A6p9AoVYE8uKK3MP MUpwMCuJ8N7T8A0U4k1JrKxKLcqPLyrNSS0+xJgM9OdEZinR5Hxg8swriTc0NjEzsjQyszAy MTcnTVhJnPdgq3WgkEB6YklqdmpqQWoRzBYmDk6pBsZoiZVvXfb5/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 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.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