Skip to content

smc911x: Request bus width using platform data

Magnus Damm netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5smc911x: Remove unused 8-bit I/O operationsdrivers/net/smc911x.h+0 -42 replies
2/5smc911x: Fix 16-bit I/O operationsdrivers/net/smc911x.h+3 -630 replies
3/5smc911x: Pass along private data and use iomemdrivers/net/smc911x.c drivers/net/smc911x.h+370 -3890 replies
4/5smc911x: Introduce platform data flagsdrivers/net/smc911x.c drivers/net/smc911x.h include/linux/smc911x.h+109 -10 replies
5/5smc911x: SuperH architecture supportdrivers/net/Kconfig drivers/net/smc911x.h+1 -20 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/05] smc911x: Request bus width using platform data

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

Instead of keep on updating smc911x.h with board specific configuration, use platform data to pass along bus width and irq flags to the driver. While at it, remove some dead code.

[PATCH 01/05] smc911x: Remove unused 8-bit I/O operations [PATCH 02/05] smc911x: Fix 16-bit I/O operations [PATCH 03/05] smc911x: Pass along private data and use iomem [PATCH 04/05] smc911x: Introduce platform data flags [PATCH 05/05] smc911x: SuperH architecture support

The smc91x driver has gone through a similar change a few months ago.
http://www.mail-archive.com/[email protected]/msg62427.html

---

 drivers/net/Kconfig     |    2 
 drivers/net/smc911x.c   |  423 +++++++++++++++++----------------------
 drivers/net/smc911x.h   |  505 ++++++++++++++++++++++++++---------------------
 include/linux/smc911x.h |   12 +
 4 files changed, 483 insertions(+), 459 deletions(-)