[U-Boot] [PATCH v3] net: add opencore 10/100 ethernet mac driver

Ben Warren biggerbadderben at gmail.com
Mon Apr 26 08:12:42 CEST 2010


Thomas,

On 4/15/2010 7:32 AM, Thomas Chou wrote:
> This patch ports the opencore 10/100 ethernet mac driver ethoc.c
> from linux kernel to u-boot.
>
> Signed-off-by: Thomas Chou<thomas at wytron.com.tw>
> ---
> use iobase of struct eth_device.
> add dev_num to ethoc_initialize.
>
>   drivers/net/Makefile |    1 +
>   drivers/net/ethoc.c  |  511 ++++++++++++++++++++++++++++++++++++++++++++++++++
>   include/netdev.h     |    1 +
>   3 files changed, 513 insertions(+), 0 deletions(-)
>   create mode 100644 drivers/net/ethoc.c
>    
applied to net repo.

If you'd like this driver to automatically program MAC addresses after 
initialization (see a patch that I submitted tonight), please submit a 
follow-on to this one and I'll accept for the current release.
regards,
Ben


More information about the U-Boot mailing list