[U-Boot] [PATCH 00/18] x86: minnowmax: Move USB and Ethernet to driver model

Simon Glass sjg at chromium.org
Tue Jul 7 00:47:39 CEST 2015


This series aims to move minnowmax (an x86 board) to use driver model for
USB and Ethernet.

Since there is some support lacking, it includes:
- driver-model conversion of asix USB Ethernet driver
- driver-model conversion of Realtek 8169 Ethernet driver
- PCI device matching without using device tree
- driver-model conversion of USB Ethernet layer
- driver-model conversion of ehci_pci driver

Also it includes a proposed change to the Ethernet uclass recv method to
support slow devices better.


Simon Glass (18):
  dm: core: Add \n to two dm_warn() messages
  usb: ehci: Correct a missing hypen in an error message
  usb: Update some EHCI driver licenses to use SPDX
  x86: Show the un-relocated IP address in exceptions
  dm: pci: Add support for PCI driver matching
  dm: eth: Add driver-model support to the rtl8169 driver
  dm: pci: Add a function to get the BDF for a device
  dm: usb: Correct the struct usb_driver_entry comment
  dm: usb: Avoid using USB ethernet with CONFIG_DM_USB and no DM_ETH
  dm: eth: Avoid blocking on packet reception
  dm: usb: eth: Support driver model with USB Ethernet
  dm: usb: Adjust the USB_DEVICE() macro naming
  x86: minnowmax: Drop the cache line size hack
  dm: usb: Add driver-model support to ehci-pci
  dm: usb: eth: Add driver-model support to the asix driver
  net: Allow drivers to return -ENOSYS with the write_hwaddr() method
  x86: Convert minnowmax to use CONFIG_DM_NET
  x86: Convert minnowmax to use CONFIG_DM_USB

 arch/x86/cpu/interrupts.c         |   2 +
 board/intel/minnowmax/minnowmax.c |   6 -
 common/cmd_usb.c                  |  14 ++-
 common/usb_hub.c                  |   2 +-
 common/usb_kbd.c                  |   4 +-
 common/usb_storage.c              |   2 +-
 configs/minnowmax_defconfig       |   3 +
 drivers/core/device.c             |   4 +-
 drivers/net/designware.c          |   2 +-
 drivers/net/rtl8169.c             | 236 +++++++++++++++++++++++++++++--------
 drivers/net/sandbox-raw.c         |   2 +-
 drivers/net/sandbox.c             |   2 +-
 drivers/net/sunxi_emac.c          |   2 +-
 drivers/pci/pci-uclass.c          | 144 ++++++++++++++++++++---
 drivers/pci/pci_compat.c          |   8 +-
 drivers/usb/Kconfig               |   4 +-
 drivers/usb/eth/asix.c            | 237 ++++++++++++++++++++++++++++++++++----
 drivers/usb/eth/usb_ether.c       | 131 ++++++++++++++++++++-
 drivers/usb/host/ehci-hcd.c       |  17 +--
 drivers/usb/host/ehci-pci.c       | 112 ++++++++++++------
 drivers/usb/host/ehci.h           |  15 +--
 drivers/usb/host/r8a66597-hcd.c   |  14 +--
 drivers/usb/host/r8a66597.h       |  14 +--
 include/configs/minnowmax.h       |   3 -
 include/net.h                     |  14 ++-
 include/pci.h                     |  87 +++++++++++++-
 include/usb.h                     |  22 +++-
 include/usb_ether.h               |  89 ++++++++++++--
 net/eth.c                         |  11 +-
 29 files changed, 971 insertions(+), 232 deletions(-)

-- 
2.4.3.573.g4eafbef



More information about the U-Boot mailing list