linux_dsm_epyc7002/arch/arm/mach-pxa
Arnd Bergmann b70661c708 net: smc91x: use run-time configuration on all ARM machines
The smc91x driver traditionally gets configured at compile-time
for whichever hardware it runs on. This no longer works on
ARM as we continue to move to building all-in-one kernels.

Most ARM configurations with this driver already use run-time
configuration through DT or through platform_data, but a
few have not been converted yet.

I've checked all ARM boards that use this driver in their
legacy board files, and converted the ones that were using
compile-time configuration in smc91x.h to behave like the
other ones and provide the interrupt polarity along with
the MMIO configuration (width, stride) at platform device
creation time.

In particular, these combinations were previously selectable
in Kconfig but in fact broken:

- sa1100 assabet plus pleb
- msm combined with any other armv6/v7 platform
- pxa-idp combined with any non-DMA pxa variant
- LogicPD PXA270 combined with any other pxa
- nomadik combined with any other armv4/v5 platform,
  e.g. versatile.

None of these seem critical enough to warrant a backport
to stable, but it would be nice to clean this up for good.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
----
I would like the patch to get merged through netdev, after
Robert and/or Linus have verified it on at least some hardware.

There are a few other non-ARM platforms using this driver,
I could do the same patch for those if we want to take
it further.

 arch/arm/mach-msm/board-halibut.c    |   8 ++++-
 arch/arm/mach-msm/board-qsd8x50.c    |   8 ++++-
 arch/arm/mach-pxa/idp.c              |   5 +++
 arch/arm/mach-pxa/lpd270.c           |   8 ++++-
 arch/arm/mach-realview/core.c        |   7 ++++
 arch/arm/mach-realview/realview_eb.c |   2 +-
 arch/arm/mach-sa1100/neponset.c      |   6 ++++
 arch/arm/mach-sa1100/pleb.c          |   7 ++++
 drivers/net/ethernet/smsc/smc91x.c   |   9 +++--
 drivers/net/ethernet/smsc/smc91x.h   | 114 ++----------------------------------------------------------
 10 files changed, 57 insertions(+), 117 deletions(-)
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-28 12:56:56 -05:00
..
include/mach ARM: pxa: fix broken isa interrupts for zeus and viper 2015-01-27 14:53:07 -08:00
am200epd.c
am300epd.c
balloon3.c arch/arm/mach-pxa: replace strict_strto call with kstrto 2014-08-08 15:57:27 -07:00
capc7117.c
clock-pxa2xx.c
clock-pxa3xx.c
clock.c
clock.h
cm-x2xx-pci.c
cm-x2xx-pci.h
cm-x2xx.c
cm-x255.c
cm-x270.c
cm-x300.c
colibri-evalboard.c
colibri-pxa3xx.c
colibri-pxa270-income.c
colibri-pxa270.c
colibri-pxa300.c
colibri-pxa320.c
corgi_pm.c
corgi.c ARM: pxa: add regulator_has_full_constraints to corgi board file 2014-12-26 18:03:20 +01:00
csb701.c
csb726.c
devices.c arm: pxa: specify PMUs are for XScale CPUs 2015-02-06 00:12:57 -08:00
devices.h ARM: pxa3xx: provide specific platform_devices for all ssp ports 2014-09-19 01:58:43 +08:00
em-x270.c arm: mach-pxa: Convert pr_warning to pr_warn 2014-11-19 23:53:13 +01:00
eseries.c
ezx.c
generic.c ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init 2014-09-09 16:42:25 +02:00
generic.h arm: pxa: move init functions into generic.h 2014-11-19 23:53:14 +01:00
gumstix.c arm: mach-pxa: Convert pr_warning to pr_warn 2014-11-19 23:53:13 +01:00
h5000.c
himalaya.c
hx4700.c hx4700: regulator: declare full constraints 2014-12-26 18:05:32 +01:00
icontrol.c
idp.c net: smc91x: use run-time configuration on all ARM machines 2015-02-28 12:56:56 -05:00
irq.c
Kconfig ARM: pxa: arbitrarily set first interrupt number 2014-12-26 18:03:20 +01:00
littleton.c
lpd270.c net: smc91x: use run-time configuration on all ARM machines 2015-02-28 12:56:56 -05:00
lubbock.c
magician.c
mainstone.c
Makefile arm: pxa: add pxa27x device-tree support 2014-11-19 23:53:14 +01:00
Makefile.boot
mfp-pxa2xx.c arm: mach-pxa: Convert pr_warning to pr_warn 2014-11-19 23:53:13 +01:00
mfp-pxa3xx.c
mioa701_bootresume.S
mioa701.c
mp900.c
mxm8x10.c
palm27x.c
palmld.c
palmt5.c
palmtc.c
palmte2.c
palmtreo.c
palmtx.c
palmz72.c
pcm027.c
pcm990-baseboard.c
pm.c
poodle.c ARM: pxa: add regulator_has_full_constraints to poodle board file 2014-12-26 18:03:20 +01:00
pxa2xx.c
pxa3xx-ulpi.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pxa3xx.c ARM: pxa3xx: provide specific platform_devices for all ssp ports 2014-09-19 01:58:43 +08:00
pxa25x.c
pxa27x.c arm: pxa: add device-tree irq init for pxa27x 2014-11-19 23:53:14 +01:00
pxa300.c
pxa320.c
pxa930.c
pxa-dt.c arm: pxa: add pxa27x device-tree support 2014-11-19 23:53:14 +01:00
raumfeld.c arm: mach-pxa: Convert pr_warning to pr_warn 2014-11-19 23:53:13 +01:00
reset.c
saar.c
sharpsl_pm.c
sleep.S
smemc.c
spitz_pm.c
spitz.c ARM: pxa: add regulator_has_full_constraints to spitz board file 2014-12-26 18:04:26 +01:00
standby.S
stargate2.c
tavorevb.c
tosa-bt.c ARM: mach-pxa: drop owner assignment from platform_drivers 2014-10-20 16:20:05 +02:00
tosa.c ARM: pxa: tosa: switch to gpio-charger 2014-11-19 23:53:13 +01:00
trizeps4.c
viper.c arch/arm/mach-pxa: replace strict_strto call with kstrto 2014-08-08 15:57:27 -07:00
vpac270.c
xcep.c
z2.c
zeus.c
zylonite_pxa300.c
zylonite_pxa320.c
zylonite.c