Re: [PATCH 1/3] net: smc1111: allow platform specific accessors

2015-01-30 Thread Robert Jarzmik
Sascha Hauer s.ha...@pengutronix.de writes: That sounds better. Using accessors in platform_data really is more flexible, but when switching to device tree we'll need a width/shift approach anyway. Ok, I'm on it, for v2. Cheers. -- Robert ___

Re: [PATCH 1/3] net: smc1111: allow platform specific accessors

2015-01-29 Thread Sascha Hauer
Hi Robert, On Mon, Jan 26, 2015 at 10:34:08PM +0100, Robert Jarzmik wrote: Smc network IPs can be wired up in different funny ways. For example the lubbock pxa25x development platform wires all address lines shifted by 2, ie. bus A2 is smc91c96 A0, bus A3 is smc91c96 A1 etc ... Yeah I know,

Re: [PATCH 1/3] net: smc1111: allow platform specific accessors

2015-01-29 Thread robert . jarzmik
- Mail original - De: Sascha Hauer s.ha...@pengutronix.de À: Robert Jarzmik robert.jarz...@free.fr Cc: barebox@lists.infradead.org Envoyé: Jeudi 29 Janvier 2015 10:47:20 Objet: Re: [PATCH 1/3] net: smc: allow platform specific accessors Yeah I know, connecting the 91c111 inspired

Re: [PATCH 1/3] net: smc1111: allow platform specific accessors

2015-01-29 Thread Sascha Hauer
On Thu, Jan 29, 2015 at 03:01:03PM +0100, robert.jarz...@free.fr wrote: - Mail original - De: Sascha Hauer s.ha...@pengutronix.de À: Robert Jarzmik robert.jarz...@free.fr Cc: barebox@lists.infradead.org Envoyé: Jeudi 29 Janvier 2015 10:47:20 Objet: Re: [PATCH 1/3] net: smc: allow

[PATCH 1/3] net: smc1111: allow platform specific accessors

2015-01-26 Thread Robert Jarzmik
Smc network IPs can be wired up in different funny ways. For example the lubbock pxa25x development platform wires all address lines shifted by 2, ie. bus A2 is smc91c96 A0, bus A3 is smc91c96 A1 etc ... In order to cope with the different possible combination without clobbering the driver, allow