linux_dsm_epyc7002/drivers/net/ethernet/smsc
Mark Rutland f123826189 net: smsc911x: don't artificially limit build
Currently the SMSC911X driver may only be built for a specific set of
architectures, being limited to do so by a Kconfig depends line. This
means that if a platform wishes to use the driver, its architecture must
be added to the list explicitly, introducing pointless churn.

This may have been due to the driver's use of the {read,write}s{b,w,l}
functions, which have since been replaced with the more standard
io{read,write}{8,16,32}_rep. We can instead depend on HAS_IOMEM, which
should prevent build issues while allowing the driver to be built for
currently unlisted architectures, including x86 and arm64.

This patch removes the explicit list of architectures from the driver's
depend line, and replaces it with a dependency on HAS_IOMEM.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-22 23:58:34 -07:00
..
epic100.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
Kconfig net: smsc911x: don't artificially limit build 2013-05-22 23:58:34 -07:00
Makefile smsc: Move the SMC (SMSC) drivers 2011-08-10 20:04:03 -07:00
smc91c92_cs.c drivers/net: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:27:33 -07:00
smc91x.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
smc91x.h net: smc91x: use io{read, write}*_rep accessors instead of string functions 2012-12-10 15:43:58 -05:00
smc911x.c smsc: smc911x: Fix sparse warnings 2013-01-18 14:32:39 -05:00
smc911x.h net: smc911x: use io{read,write}*_rep accessors 2012-12-11 12:49:53 -05:00
smc9194.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
smc9194.h smsc: Move the SMC (SMSC) drivers 2011-08-10 20:04:03 -07:00
smsc911x.c ARM: arm-soc non-critical fixes for 3.10 2013-05-02 08:56:55 -07:00
smsc911x.h smsc911x: Unconditionally include linux/smscphy.h in smsc911x.h 2012-01-07 12:22:11 -08:00
smsc9420.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
smsc9420.h smsc: Move the SMC (SMSC) drivers 2011-08-10 20:04:03 -07:00