smc911x: Request bus width using platform data
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | smc911x: Remove unused 8-bit I/O operationsdrivers/ | +0 | 2 replies | |
| 2/5 | smc911x: Fix 16-bit I/O operationsdrivers/ | +3 | 0 replies | |
| 3/5 | smc911x: Pass along private data and use iomemdrivers/ drivers/ | +370 | 0 replies | |
| 4/5 | smc911x: Introduce platform data flagsdrivers/ drivers/ include/ | +109 | 0 replies | |
| 5/5 | smc911x: SuperH architecture supportdrivers/ drivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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
Signed-off-by Magnus Damm <[email protected]>
---
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(-)