[libbsd 0/4] Replace LPC Ethernet interface driver

Chris Johns chrisj at rtems.org
Fri Jun 24 00:31:09 UTC 2022


OK

Chris

On 23/6/2022 7:20 pm, Sebastian Huber wrote:
> 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
> 


More information about the devel mailing list