From: Mike Frysinger Date: Tue, 10 Feb 2009 15:36:36 -0500 Subject: [U-Boot] [PATCH 01/27 v2] Blackfin: bfin_mac: force board_get_enetaddr() usage In-Reply-To: <200902031440.01665.vapier@gentoo.org> References: <49814203.7020604@gmail.com> <20090203081627.9DE518322908@gemini.denx.de> <200902031440.01665.vapier@gentoo.org> Message-ID: <200902101536.37531.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 03 February 2009 14:40:00 Mike Frysinger wrote: > i think we can agree that this does not scale at all. if, however, we > change the global data to something like: > typedef struct bd_info { > ... > #ifdef CONFIG_NET_MULTI > uchar bi_enetXaddr[CONFIG_NET_MULTI_MAX][6]; > # define bi_enetaddr bi_enetXaddr[0] > #else > uchar bi_enetaddr[6]; > #endif > ... > }; Ben: does this sound reasonable ? if so, i can start a patch series moving in this direction ... -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20090210/b27c2b9d/attachment.pgp