r6040: Move the RDC driver
Move the RDC driver into drivers/net/ethernet/rdc/ and make the necessary Kconfig and Makefile changes. CC: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
33
drivers/net/ethernet/rdc/Kconfig
Normal file
33
drivers/net/ethernet/rdc/Kconfig
Normal file
@@ -0,0 +1,33 @@
|
||||
#
|
||||
# RDC network device configuration
|
||||
#
|
||||
|
||||
config NET_VENDOR_RDC
|
||||
bool "RDC devices"
|
||||
depends on PCI
|
||||
---help---
|
||||
If you have a network (Ethernet) card belonging to this class, say Y
|
||||
and read the Ethernet-HOWTO, available from
|
||||
<http://www.tldp.org/docs.html#howto>.
|
||||
|
||||
Note that the answer to this question doesn't directly affect the
|
||||
kernel: saying N will just cause the configurator to skip all
|
||||
the questions about RDC cards. If you say Y, you will be asked for
|
||||
your specific card in the following questions.
|
||||
|
||||
if NET_VENDOR_RDC
|
||||
|
||||
config R6040
|
||||
tristate "RDC R6040 Fast Ethernet Adapter support"
|
||||
depends on PCI
|
||||
select CRC32
|
||||
select MII
|
||||
select PHYLIB
|
||||
---help---
|
||||
This is a driver for the R6040 Fast Ethernet MACs found in the
|
||||
the RDC R-321x System-on-chips.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called r6040. This is recommended.
|
||||
|
||||
endif # NET_VENDOR_RDC
|
5
drivers/net/ethernet/rdc/Makefile
Normal file
5
drivers/net/ethernet/rdc/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# Makefile for the RDC network device drivers.
|
||||
#
|
||||
|
||||
obj-$(CONFIG_R6040) += r6040.o
|
1276
drivers/net/ethernet/rdc/r6040.c
Normal file
1276
drivers/net/ethernet/rdc/r6040.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user