RFC net: sh_eth: modify for both modules
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: sh_eth: modify the definitions of registerarch/ drivers/ drivers/ | +537 | 3 replies | |
| 2/4 | net: sh_eth: remove the SH_TSU_ADDRdrivers/ drivers/ | +12 | 2 replies | |
| 3/4 | net: sh_eth: remove almost #ifdef of SH7763drivers/ drivers/ | +47 | 0 replies | |
| 4/4 | net: sh_eth: add support for SH7757's GETHERdrivers/ | +135 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC, PATCH 0/4] net: sh_eth: modify for both modules
This current driver supports ETHER and GETHER. But we cannot use them at same time because the defination of registers is hardcoded by #ifdef in sh_eth.h.
The patches modify the defination to arrays of const. Then we can choose the array by platform_device's data. The patches also modify for GETHER. The current driver used the "#ifdef CONFIG_CPU_SUBTYPE_SH7763". The patches remove it and check by other method for GETHER.