forked from Minki/linux
enic: Move the Cisco driver
Move the Cisco driver into drivers/net/ethernet/cisco/ and make the necessary Kconfig and Makefile changes. CC: Christian Benvenuti <benve@cisco.com> CC: Vasanthy Kolluri <vkolluri@cisco.com> CC: Roopa Prabhu <roprabhu@cisco.com> CC: David Wang <dwang2@cisco.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
9aa3283595
commit
a6a5580c4d
@ -1761,7 +1761,7 @@ M: Vasanthy Kolluri <vkolluri@cisco.com>
|
||||
M: Roopa Prabhu <roprabhu@cisco.com>
|
||||
M: David Wang <dwang2@cisco.com>
|
||||
S: Supported
|
||||
F: drivers/net/enic/
|
||||
F: drivers/net/ethernet/cisco/enic/
|
||||
|
||||
CIRRUS LOGIC EP93XX ETHERNET DRIVER
|
||||
M: Hartley Sweeten <hsweeten@visionengravers.com>
|
||||
|
@ -1457,12 +1457,6 @@ if NETDEV_10000
|
||||
config MDIO
|
||||
tristate
|
||||
|
||||
config ENIC
|
||||
tristate "Cisco VIC Ethernet NIC Support"
|
||||
depends on PCI && INET
|
||||
help
|
||||
This enables the support for the Cisco VIC Ethernet card.
|
||||
|
||||
config PASEMI_MAC
|
||||
tristate "PA Semi 1/10Gbit MAC"
|
||||
depends on PPC_PASEMI && PCI && INET
|
||||
|
@ -20,7 +20,6 @@ obj-$(CONFIG_ATL1C) += atl1c/
|
||||
obj-$(CONFIG_GIANFAR) += gianfar_driver.o
|
||||
obj-$(CONFIG_PTP_1588_CLOCK_GIANFAR) += gianfar_ptp.o
|
||||
obj-$(CONFIG_TEHUTI) += tehuti.o
|
||||
obj-$(CONFIG_ENIC) += enic/
|
||||
obj-$(CONFIG_JME) += jme.o
|
||||
obj-$(CONFIG_VMXNET3) += vmxnet3/
|
||||
|
||||
|
@ -17,6 +17,7 @@ source "drivers/net/ethernet/amd/Kconfig"
|
||||
source "drivers/net/ethernet/broadcom/Kconfig"
|
||||
source "drivers/net/ethernet/brocade/Kconfig"
|
||||
source "drivers/net/ethernet/chelsio/Kconfig"
|
||||
source "drivers/net/ethernet/cisco/Kconfig"
|
||||
source "drivers/net/ethernet/emulex/Kconfig"
|
||||
source "drivers/net/ethernet/neterion/Kconfig"
|
||||
source "drivers/net/ethernet/ibm/Kconfig"
|
||||
|
@ -8,6 +8,7 @@ obj-$(CONFIG_NET_VENDOR_AMD) += amd/
|
||||
obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
|
||||
obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
|
||||
obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
|
||||
obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
|
||||
obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/
|
||||
obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/
|
||||
obj-$(CONFIG_NET_VENDOR_IBM) += ibm/
|
||||
|
22
drivers/net/ethernet/cisco/Kconfig
Normal file
22
drivers/net/ethernet/cisco/Kconfig
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# Cisco device configuration
|
||||
#
|
||||
|
||||
config NET_VENDOR_CISCO
|
||||
bool "Cisco devices"
|
||||
depends on PCI && INET
|
||||
---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 Cisco cards. If you say Y, you will be asked for
|
||||
your specific card in the following questions.
|
||||
|
||||
if NET_VENDOR_CISCO
|
||||
|
||||
source "drivers/net/ethernet/cisco/enic/Kconfig"
|
||||
|
||||
endif # NET_VENDOR_CISCO
|
5
drivers/net/ethernet/cisco/Makefile
Normal file
5
drivers/net/ethernet/cisco/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
#
|
||||
# Makefile for the Cisco device drivers.
|
||||
#
|
||||
|
||||
obj-$(CONFIG_ENIC) += enic/
|
9
drivers/net/ethernet/cisco/enic/Kconfig
Normal file
9
drivers/net/ethernet/cisco/enic/Kconfig
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Cisco device configuration
|
||||
#
|
||||
|
||||
config ENIC
|
||||
tristate "Cisco VIC Ethernet NIC Support"
|
||||
depends on PCI && INET
|
||||
---help---
|
||||
This enables the support for the Cisco VIC Ethernet card.
|
Loading…
Reference in New Issue
Block a user