[PULL] u-boot-sh/next network cleanup part 1

Marek Vasut marex at denx.de
Fri May 1 17:54:04 CEST 2020


This is part 1 of big network cleanup / DM conversion.
The dc2114x/rtl8139/pcnet/tulip PCI adapter drivers received checkpatch
cleanups in preparation for DM conversion. The smc911x is converted to
DM completely. The dwc_eth_qos cache fixes are applied.

I hope this is a one-off thing where I am picking my own network patches
(sigh :-( ) and Joe comes back soon.

The following changes since commit 78021b63373de32335bd204471d6cb7c7e18bc52:

  Merge tag 'efi-2020-07-rc2' of
https://gitlab.denx.de/u-boot/custodians/u-boot-efi (2020-04-30 15:11:06
-0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-sh.git next

for you to fetch changes up to 8148693b988fb36463dbc12cef4b7947acae9846:

  net: smc911x: Add DM support (2020-05-01 15:37:48 +0200)

----------------------------------------------------------------
Marek Vasut (48):
      net: Fix warning when including netdev.h on DM systems
      net: pcnet: Remove CONFIG_PCNET_79C97x
      net: tulip: Remove CONFIG_TULIP_*
      net: pcnet: Replace mips-specific accessors
      net: pcnet: Switch to PCI memory access
      net: dc2114x: Clean up init code
      net: dc2114x: Clean up dc21x4x_send()
      net: dc2114x: Clean up dc21x4x_recv()
      net: dc2114x: Clean up dc21x4x_halt()
      net: dc2114x: Clean up send_setup_frame()
      net: dc2114x: Clean up SROM operations
      net: dc2114x: Clean up remaining driver code
      net: dc2114x: Clean up DE4X5 macros
      net: dc2114x: Clean up INL/OUTL functions
      net: dc2114x: Reorganize driver
      net: dc2114x: Switch DEBUG_SROM{,2} to debug_cond()
      net: dwc_eth_qos: Fully rewrite RX descriptor field 3
      net: dwc_eth_qos: Correctly wrap around TX descriptor tail pointer
      net: dwc_eth_qos: Flush the RX descriptors on init
      net: dwc_eth_qos: Invalidate RX descriptor before reading
      net: dwc_eth_qos: Invalidate RX packet DMA buffer
      net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor
      net: rtl8139: Register macro cleanup
      net: rtl8139: Rework eeprom_delay() macro
      net: rtl8139: Minor cleanup of read_eeprom()
      net: rtl8139: Consistently use rtl8139_rx_config
      net: rtl8139: Minor cleanup of set_rx_mode()
      net: rtl8139: Minor cleanup of rtl_reset()
      net: rtl8139: Minor cleanup of rtl_transmit()
      net: rtl8139: Minor cleanup of rtl_poll()
      net: rtl8139: Minor cleanup of rtl_disable()
      net: rtl8139: Factor out hardware reset
      net: rtl8139: Finish cleanup
      net: rtl8139: Move functions around
      net: rtl8139: Fill in SPDX tag
      net: smc911x: Remove pkt_data_{push,pull}
      net: smc911x: Replace malloc()+memset() with calloc()
      net: smc911x: Rename smc911x_rx() to smc911x_recv()
      net: smc911x: Invert the logic in smc911x_miiphy_{read,write}()
      net: smc911x: Fix potential memleak() in init fail path
      net: smc911x: Pull MII registration into separate function
      net: smc911x: Inline all functions from header file
      net: smc911x: Drop weak alias from 32bit accessors
      net: smc911x: Convert IO accessors to {read,write}{w,l}()
      net: smc911x: Pass around driver private data
      net: smc911x: Clean up the status handling in smc911x_recv()
      net: smc911x: Split non-DM specific bits from common code
      net: smc911x: Add DM support

 README                               |   2 -
 drivers/net/Kconfig                  |   2 +
 drivers/net/dc2114x.c                | 965
+++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------
 drivers/net/dwc_eth_qos.c            |  18 +-
 drivers/net/pcnet.c                  |  18 +-
 drivers/net/rtl8139.c                | 742
+++++++++++++++++++++++++++++++++++++++-----------------------------------
 drivers/net/smc911x.c                | 560
++++++++++++++++++++++++++++++++++++++++++++------------
 drivers/net/smc911x.h                | 157 ----------------
 examples/standalone/Makefile         |   5 +-
 examples/standalone/smc911x_eeprom.c | 150 +++++++++++++++
 include/configs/malta.h              |   1 -
 include/netdev.h                     |   1 +
 scripts/config_whitelist.txt         |   5 -
 13 files changed, 1447 insertions(+), 1179 deletions(-)


More information about the U-Boot mailing list