macb: Move the Atmel driver
Move the Atmel driver into drivers/net/ethernet/cadence/ and make the necessary Kconfig and Makefile changes. CC: Nicolas Ferre <nicolas.ferre@atmel.com> CC: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Acked-by: Jamie Iles <jamie@jamieiles.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:
44
drivers/net/ethernet/cadence/Kconfig
Normal file
44
drivers/net/ethernet/cadence/Kconfig
Normal file
@@ -0,0 +1,44 @@
|
||||
#
|
||||
# Atmel device configuration
|
||||
#
|
||||
|
||||
config HAVE_NET_MACB
|
||||
bool
|
||||
|
||||
config NET_ATMEL
|
||||
bool "Atmel devices"
|
||||
depends on HAVE_NET_MACB || (ARM && ARCH_AT91RM9200)
|
||||
---help---
|
||||
If you have a network (Ethernet) card belonging to this class, say Y.
|
||||
Make sure you know the name of your card. Read the Ethernet-HOWTO,
|
||||
available from <http://www.tldp.org/docs.html#howto>.
|
||||
|
||||
If unsure, say Y.
|
||||
|
||||
Note that the answer to this question doesn't directly affect the
|
||||
kernel: saying N will just cause the configurator to skip all
|
||||
the remaining Atmel network card questions. If you say Y, you will be
|
||||
asked for your specific card in the following questions.
|
||||
|
||||
if NET_ATMEL
|
||||
|
||||
config ARM_AT91_ETHER
|
||||
tristate "AT91RM9200 Ethernet support"
|
||||
depends on ARM && ARCH_AT91RM9200
|
||||
select MII
|
||||
---help---
|
||||
If you wish to compile a kernel for the AT91RM9200 and enable
|
||||
ethernet support, then you should always answer Y to this.
|
||||
|
||||
config MACB
|
||||
tristate "Atmel MACB support"
|
||||
depends on HAVE_NET_MACB
|
||||
select PHYLIB
|
||||
---help---
|
||||
The Atmel MACB ethernet interface is found on many AT32 and AT91
|
||||
parts. Say Y to include support for the MACB chip.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called macb.
|
||||
|
||||
endif # NET_ATMEL
|
Reference in New Issue
Block a user