From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Fri, 3 Sep 2010 15:51:03 -0400 Subject: [U-Boot] [PATCH] NET: add ENC28J60 driver using SPI framework In-Reply-To: <4C813564.7010703@emk-elektronik.de> References: <1282740459-7941-1-git-send-email-u-boot@emk-elektronik.de> <201008252355.22876.vapier@gentoo.org> <4C813564.7010703@emk-elektronik.de> Message-ID: <201009031551.04080.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 Friday, September 03, 2010 13:50:28 Reinhard Meyer wrote: > Something like this? yes > I agree that's more perfect but kind of overkill, too; > assuming that only one enc can be active at any given time;) yes and no. the spi bus/cs/mode/speed is established at initialize() time, not init(), so you'd need to store that per-instance information somewhere. and how the discussion about netconsole handling falls out (not calling init/halt after every transaction), this base assumption may not be valid. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20100903/3300012f/attachment.pgp