From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2Dfp-00017q-4w for barebox@lists.infradead.org; Wed, 02 Jul 2014 06:05:42 +0000 Date: Wed, 2 Jul 2014 08:05:18 +0200 From: Sascha Hauer Message-ID: <20140702060518.GX14257@pengutronix.de> References: <1404158389-14632-1-git-send-email-antonynpavlov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1404158389-14632-1-git-send-email-antonynpavlov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [RFC v4 0/6] barebox PCI support To: Antony Pavlov Cc: barebox@lists.infradead.org Hi Antony, I have some minor stuff to fix, but otherwise it looks good and Lukas also indicated he is fine with this series. So it's time to remove the RFC tag and to apply this series. Sascha On Mon, Jun 30, 2014 at 11:59:43PM +0400, Antony Pavlov wrote: > This patchseries introduce simple PCI bus support for barebox. > > Changes since RFC v3: > > * rebase over latest 'next'; > * use list for pci_root_buses; > * move common PCI Kconfig stuff from arch/mips to drivers/pci; > * make pci_*_write_config_* PCIe-friendly (use 'int' type for > config register address); > * drop some unused stuff; > * change lspci "no pci" error message to "No PCI bus detected"; > * rtl8139: use dma_alloc_coherent(); > * rtl8139: use pci_set_master() & pci_clear_master(). > > TODOs for RFC v3: > > * no PCI bridges support; > * introduce pci_resource_start(); > * introduce pci_iomap(); > * clean '#if 0'. > > This patchseries can be found on github: > > https://github.com/frantony/barebox/tree/pci.20140630 > > Antony Pavlov (6): > MIPS: add dma_alloc_coherent() > PCI: initial commit > commands: add 'lspci' command > net: add RealTek RTL-8139 PCI Ethernet driver > MIPS: add PCI support for GT64120-based Malta board > MIPS: qemu-malta_defconfig: enable PCI & network stuff > > arch/mips/Kconfig | 1 + > arch/mips/configs/qemu-malta_defconfig | 4 + > arch/mips/include/asm/dma-mapping.h | 25 + > arch/mips/include/asm/gt64120.h | 53 ++ > arch/mips/mach-malta/Makefile | 1 + > arch/mips/mach-malta/include/mach/mach-gt64120.h | 2 + > arch/mips/mach-malta/pci.c | 236 +++++++++ > commands/Kconfig | 8 + > commands/Makefile | 1 + > commands/lspci.c | 52 ++ > drivers/Kconfig | 1 + > drivers/Makefile | 1 + > drivers/net/Kconfig | 8 + > drivers/net/Makefile | 1 + > drivers/net/rtl8139.c | 616 +++++++++++++++++++++++ > drivers/pci/Kconfig | 29 ++ > drivers/pci/Makefile | 8 + > drivers/pci/bus.c | 110 ++++ > drivers/pci/pci.c | 285 +++++++++++ > include/linux/mod_devicetable.h | 20 + > include/linux/pci.h | 292 +++++++++++ > include/linux/pci_ids.h | 141 ++++++ > include/linux/pci_regs.h | 110 ++++ > 23 files changed, 2005 insertions(+) > create mode 100644 arch/mips/include/asm/dma-mapping.h > create mode 100644 arch/mips/mach-malta/pci.c > create mode 100644 commands/lspci.c > create mode 100644 drivers/net/rtl8139.c > create mode 100644 drivers/pci/Kconfig > create mode 100644 drivers/pci/Makefile > create mode 100644 drivers/pci/bus.c > create mode 100644 drivers/pci/pci.c > create mode 100644 include/linux/mod_devicetable.h > create mode 100644 include/linux/pci.h > create mode 100644 include/linux/pci_ids.h > create mode 100644 include/linux/pci_regs.h > > -- > 1.9.2 > > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox