From: Wolfgang Denk Date: Sat, 22 Aug 2009 15:20:11 +0200 Subject: [U-Boot] [PATCH v3][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API In-Reply-To: <1250822768-18396-1-git-send-email-biggerbadderben@gmail.com> References: <1250822768-18396-1-git-send-email-biggerbadderben@gmail.com> Message-ID: <20090822132011.B120E833DBD2@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ben Warren, In message <1250822768-18396-1-git-send-email-biggerbadderben@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 > --- > > 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.