Skip to content

barebox PCI support

Antony Pavlov barebox 3 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 8 repliesApplied
  2. v4 RFC6 patches 3 repliesSuperseded
  3. v3 RFC5 patches 5 repliesSuperseded

Changes in v5 from the cover letter

* introduce pci_iomap();
* rtl8139: use dev_err instead of printk;
* rtl8139: clean '#if 0';
* struct pci_bus: drop unused fields.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/7linux/ioport.h: include missed <linux/list.h>include/linux/ioport.h+1 -00 replies
2/7MIPS: add dma_alloc_coherent()arch/mips/include/asm/dma-mapping.h+25 -00 replies
3/7PCI: initial commitdrivers/Kconfig drivers/Makefile drivers/pci/Kconfig +8 more+1033 -07 replies
4/7commands: add 'lspci' commandcommands/Kconfig commands/Makefile commands/lspci.c+61 -00 replies
5/7net: add RealTek RTL-8139 PCI Ethernet driverdrivers/net/Kconfig drivers/net/Makefile drivers/net/rtl8139.c +1 more+619 -00 replies
6/7MIPS: add PCI support for GT64120-based Malta boardarch/mips/Kconfig arch/mips/include/asm/gt64120.h arch/mips/mach-malta/Makefile +2 more+293 -00 replies
7/7MIPS: qemu-malta_defconfig: enable PCI & network stuffarch/mips/configs/qemu-malta_defconfig+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/7] barebox PCI support

This patchseries introduce simple PCI bus support for barebox.

This patchseries can be found on github:

https://github.com/frantony/barebox/tree/pci.20140704

Changes since RFC v4:

* introduce pci_iomap();
* rtl8139: use dev_err instead of printk;
* rtl8139: clean '#if 0';
* struct pci_bus: drop unused fields.

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().

Antony Pavlov (7):
linux/ioport.h: include missed <linux/list.h>
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                            | 605 +++++++++++++++++++++++
 drivers/pci/Kconfig                              |  29 ++
 drivers/pci/Makefile                             |   8 +
 drivers/pci/bus.c                                | 110 +++++
 drivers/pci/pci.c                                | 292 +++++++++++
 drivers/pci/pci_iomap.c                          |  29 ++
 include/linux/ioport.h                           |   1 +
 include/linux/mod_devicetable.h                  |  20 +
 include/linux/pci.h                              | 297 +++++++++++
 include/linux/pci_ids.h                          | 141 ++++++
 include/linux/pci_regs.h                         | 110 +++++
 25 files changed, 2036 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 drivers/pci/pci_iomap.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
Signature · 7 lines
2.0.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox