Skip to content

smc91x: request bus width using platform data

Magnus Damm netdev 1 version NAK

Status from this message: NAK.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/4smc91x: pass along private datadrivers/net/smc91x.c drivers/net/smc91x.h+284 -2793 replies
2/4smc91x: introduce platform data flagsdrivers/net/smc91x.c drivers/net/smc91x.h include/linux/smc91x.h+67 -273 replies
3/4smc91x: make superh use default configdrivers/net/smc91x.h+0 -300 replies
4/4smc91x: add insw/outsw to default configdrivers/net/smc91x.h+2 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/04] smc91x: request bus width using platform data

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.

---

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