[U-Boot] [PATCH v3][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API
Wolfgang Denk
wd at denx.de
Sat Aug 22 14:23:47 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 "trab" with DEBUG enabled - hard hangs the board even before
printing the "Net: CS8900-0" message.
OK, gotta fetch a BDI from the office to recover the 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
Program maintenance is an entropy-increasing process, and even its
most skilfull execution only delays the subsidence of the system into
unfixable obsolescence. - Fred Brooks, "The Mythical Man Month"
More information about the U-Boot
mailing list