[libbsd 0/4] Replace LPC Ethernet interface driver

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jun 23 09:20:16 UTC 2022


The standard FreeBSD MII support causes severe problems on the LPC3200
chip family.  If an Ethernet module register is accessed while there is
no clock from the PHY, the chip completely locks up and only an external
watchdog can recover from this state.  The legacy driver had a custom
PHY management code which helped to avoid such issues.  The if_lpe.c
driver is no longer maintained by FreeBSD.

Sebastian Huber (4):
  if_lpe.c: Import legacy LPC Ethernet driver
  if_lpe.c: Port to LibBSD
  if_lpe.c: Move transmit initialization
  if_lpe.c: Use interface transmit

 rtemsbsd/sys/arm/lpc/if_lpe.c    | 2860 +++++++++++++++++-------------
 rtemsbsd/sys/arm/lpc/if_lpereg.h |  210 ---
 2 files changed, 1602 insertions(+), 1468 deletions(-)
 delete mode 100644 rtemsbsd/sys/arm/lpc/if_lpereg.h

-- 
2.35.3



More information about the devel mailing list