Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cs89x0: Move the driver into the Cirrus dir

The cs89x0 driver was initial placed in the apple/ when it
should have been placed in the cirrus/. This resolves the
issue by moving the dirver and fixing up the respective
Kconfig(s) and Makefile(s).

Thanks to Sascha for reporting the issue.

-v2 Fix a config error that was introduced with v1 by removing
the dependency on MACE for NET_VENDOR_APPLE.

CC: Russell Nelson <nelson@crynwr.com>
CC: Andrew Morton <akpm@linux-foundation.org>
Reported-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jeff Kirsher and committed by
David S. Miller
b340a207 09df57ca

+23 -23
+1 -21
drivers/net/ethernet/apple/Kconfig
··· 5 5 config NET_VENDOR_APPLE 6 6 bool "Apple devices" 7 7 default y 8 - depends on (PPC_PMAC && PPC32) || MAC || ISA || EISA || MACH_IXDP2351 \ 9 - || ARCH_IXDP2X01 || MACH_MX31ADS || MACH_QQ2440 8 + depends on (PPC_PMAC && PPC32) || MAC 10 9 ---help--- 11 10 If you have a network (Ethernet) card belonging to this class, say Y 12 11 and read the Ethernet-HOWTO, available from ··· 73 74 the 660AV and 840AV Macintosh. If you have one of these Macintoshes 74 75 say Y and read the Ethernet-HOWTO, available from 75 76 <http://www.tldp.org/docs.html#howto>. 76 - 77 - config CS89x0 78 - tristate "CS89x0 support" 79 - depends on (ISA || EISA || MACH_IXDP2351 \ 80 - || ARCH_IXDP2X01 || MACH_MX31ADS || MACH_QQ2440) 81 - ---help--- 82 - Support for CS89x0 chipset based Ethernet cards. If you have a 83 - network (Ethernet) card of this type, say Y and read the 84 - Ethernet-HOWTO, available from 85 - <http://www.tldp.org/docs.html#howto> as well as 86 - <file:Documentation/networking/cs89x0.txt>. 87 - 88 - To compile this driver as a module, choose M here. The module 89 - will be called cs89x0. 90 - 91 - config CS89x0_NONISA_IRQ 92 - def_bool y 93 - depends on CS89x0 != n 94 - depends on MACH_IXDP2351 || ARCH_IXDP2X01 || MACH_MX31ADS || MACH_QQ2440 95 77 96 78 endif # NET_VENDOR_APPLE
-1
drivers/net/ethernet/apple/Makefile
··· 5 5 obj-$(CONFIG_MACE) += mace.o 6 6 obj-$(CONFIG_BMAC) += bmac.o 7 7 obj-$(CONFIG_MAC89x0) += mac89x0.o 8 - obj-$(CONFIG_CS89x0) += cs89x0.o 9 8 obj-$(CONFIG_MACMACE) += macmace.o
drivers/net/ethernet/apple/cs89x0.c drivers/net/ethernet/cirrus/cs89x0.c
drivers/net/ethernet/apple/cs89x0.h drivers/net/ethernet/cirrus/cs89x0.h
+21 -1
drivers/net/ethernet/cirrus/Kconfig
··· 5 5 config NET_VENDOR_CIRRUS 6 6 bool "Cirrus devices" 7 7 default y 8 - depends on ARM && ARCH_EP93XX 8 + depends on ISA || EISA || MACH_IXDP2351 || ARCH_IXDP2X01 \ 9 + || MACH_MX31ADS || MACH_QQ2440 || (ARM && ARCH_EP93XX) 9 10 ---help--- 10 11 If you have a network (Ethernet) card belonging to this class, say Y 11 12 and read the Ethernet-HOWTO, available from ··· 18 17 for your specific card in the following questions. 19 18 20 19 if NET_VENDOR_CIRRUS 20 + 21 + config CS89x0 22 + tristate "CS89x0 support" 23 + depends on (ISA || EISA || MACH_IXDP2351 \ 24 + || ARCH_IXDP2X01 || MACH_MX31ADS || MACH_QQ2440) 25 + ---help--- 26 + Support for CS89x0 chipset based Ethernet cards. If you have a 27 + network (Ethernet) card of this type, say Y and read the 28 + Ethernet-HOWTO, available from 29 + <http://www.tldp.org/docs.html#howto> as well as 30 + <file:Documentation/networking/cs89x0.txt>. 31 + 32 + To compile this driver as a module, choose M here. The module 33 + will be called cs89x0. 34 + 35 + config CS89x0_NONISA_IRQ 36 + def_bool y 37 + depends on CS89x0 != n 38 + depends on MACH_IXDP2351 || ARCH_IXDP2X01 || MACH_MX31ADS || MACH_QQ2440 21 39 22 40 config EP93XX_ETH 23 41 tristate "EP93xx Ethernet support"
+1
drivers/net/ethernet/cirrus/Makefile
··· 2 2 # Makefile for the Cirrus network device drivers. 3 3 # 4 4 5 + obj-$(CONFIG_CS89x0) += cs89x0.o 5 6 obj-$(CONFIG_EP93XX_ETH) += ep93xx_eth.o