[RFC v3 0/5] barebox PCI support

Antony Pavlov antonynpavlov at gmail.com
Wed Jun 25 15:32:13 PDT 2014


This patchseries introduce simple PCI bus support for barebox.

Previous (RFC v2) version can be found here:

  http://lists.infradead.org/pipermail/barebox/2012-March/006327.html

TODOs for RFC v3:

  * no PCI bridges support;
  * introduce dma_alloc_coherent();
  * introduce pci_resource_start();
  * introduce pci_iomap();
  * introduce pci_set_master() & pci_clear_master();
  * clean '#if 0'.

This patchseries can be found on github:

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

Antony Pavlov (5):
  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                                |  22 +
 arch/mips/configs/qemu-malta_defconfig           |   4 +
 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                       | 246 +++++++++
 commands/Kconfig                                 |   8 +
 commands/Makefile                                |   1 +
 commands/lspci.c                                 |  49 ++
 drivers/Makefile                                 |   1 +
 drivers/net/Kconfig                              |   8 +
 drivers/net/Makefile                             |   1 +
 drivers/net/rtl8139.c                            | 621 +++++++++++++++++++++++
 drivers/pci/Kconfig                              |  12 +
 drivers/pci/Makefile                             |   8 +
 drivers/pci/bus.c                                | 110 ++++
 drivers/pci/pci.c                                | 282 ++++++++++
 include/linux/mod_devicetable.h                  |  20 +
 include/linux/pci.h                              | 241 +++++++++
 include/linux/pci_ids.h                          | 141 +++++
 include/linux/pci_regs.h                         | 118 +++++
 21 files changed, 1949 insertions(+)
 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




More information about the barebox mailing list