netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/04] smc91x: request bus width using platform data
@ 2008-02-20  9:57 Magnus Damm
  2008-02-20  9:57 ` [PATCH 01/04] smc91x: pass along private data Magnus Damm
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Magnus Damm @ 2008-02-20  9:57 UTC (permalink / raw)
  To: netdev; +Cc: Magnus Damm, lethal, nico, akpm

These patches make it possible to request bus width in the platform data.

Instead of keep on updating smc91x.h with board specific configuration,
use platform data to pass along bus width and irq flags to the driver.
This change is designed to be backwards-compatible, so all boards configured
in the header file should just work as usual.

[PATCH 01/04] smc91x: pass along private data
[PATCH 02/04] smc91x: introduce platform data flags
[PATCH 03/04] smc91x: make superh use default config
[PATCH 04/04] smc91x: add insw/outsw to default config

Tested with and without platform data on a SuperH sh7722 MigoR board.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 drivers/net/smc91x.c   |  340 +++++++++++++++++++++++++-----------------------
 drivers/net/smc91x.h   |  336 ++++++++++++++++++++++-------------------------
 include/linux/smc91x.h |   13 +
 3 files changed, 353 insertions(+), 336 deletions(-)

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-02-21  3:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20  9:57 [PATCH 00/04] smc91x: request bus width using platform data Magnus Damm
2008-02-20  9:57 ` [PATCH 01/04] smc91x: pass along private data Magnus Damm
2008-02-20 15:42   ` Nicolas Pitre
2008-02-21  2:14     ` Magnus Damm
2008-02-21  3:35       ` Nicolas Pitre
2008-02-20  9:58 ` [PATCH 02/04] smc91x: introduce platform data flags Magnus Damm
2008-02-20 15:58   ` Nicolas Pitre
2008-02-21  2:34     ` Magnus Damm
2008-02-21  3:28       ` Nicolas Pitre
2008-02-20  9:58 ` [PATCH 03/04] smc91x: make superh use default config Magnus Damm
2008-02-20  9:58 ` [PATCH 04/04] smc91x: add insw/outsw to " Magnus Damm
2008-02-20 16:00   ` Nicolas Pitre
2008-02-21  2:41     ` Magnus Damm
2008-02-20 15:36 ` [PATCH 00/04] smc91x: request bus width using platform data Nicolas Pitre
2008-02-21  2:46   ` Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).