Re: [libbsd 0/4] Replace LPC Ethernet interface driver

2022-06-23 Thread Chris Johns
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
> 
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[libbsd 0/4] Replace LPC Ethernet interface driver

2022-06-23 Thread Sebastian Huber
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

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel