[U-Boot] [PATCH v3][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

Wolfgang Denk wd at denx.de
Sat Aug 22 15:20:11 CEST 2009


Dear Ben Warren,

In message <1250822768-18396-1-git-send-email-biggerbadderben at gmail.com> you wrote:
> All in-tree boards that use this controller have CONFIG_NET_MULTI added
> Also:
>   - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900
>   - changed CS8900_BASE to CONFIG_CS8900_BASE
>   - changed CS8900_BUS?? to CONFIG_CS8900_BUS??
>   - cleaned up line lengths
>   - modified VCMA9 command function that accesses the device
>   - removed MAC address initialization from lib_arm/board.c
> 
> Signed-off-by: Ben Warren <biggerbadderben at gmail.com>
> ---
> 
> v3: Added accessor macros to ensure proper bus access 
> v2: Fixed typo: CS8900_BUS32 -> CONFIG_CS8900_BUS32
>     Added more descriptive printf in cs8900_init as suggested by Wolfgang
>     Initialize 'priv' data structure in cs8900_initialize()

Tested on mx31ads: works like a charm.

Will try to debug the trab issues later tonight (if I manage to find a
matching JTAG connector for this board ).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Artificial Intelligence is the study of how to  make  real  computers
act like the ones in movies.


More information about the U-Boot mailing list