Skip to content

Commit

Permalink
tehuti: Move the Tehuti driver
Browse files Browse the repository at this point in the history
Move the Tehuti driver into drivers/net/ethernet/tehuti/ and
make the necessary Kconfig and Makefile changes.

CC: Alexander Indenbaum <baum@tehutinetworks.net>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
  • Loading branch information
Jeff Kirsher committed Aug 11, 2011
1 parent ded19ad commit ef7f542
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 8 deletions.
2 changes: 1 addition & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -6360,7 +6360,7 @@ M: Alexander Indenbaum <baum@tehutinetworks.net>
M: Andy Gospodarek <andy@greyhouse.net>
L: netdev@vger.kernel.org
S: Supported
F: drivers/net/tehuti*
F: drivers/net/ethernet/tehuti/*

Telecom Clock Driver for MCPL0010
M: Mark Gross <mark.gross@intel.com>
Expand Down
6 changes: 0 additions & 6 deletions drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1457,12 +1457,6 @@ if NETDEV_10000
config MDIO
tristate

config TEHUTI
tristate "Tehuti Networks 10G Ethernet"
depends on PCI
help
Tehuti Networks 10G Ethernet NIC

endif # NETDEV_10000

source "drivers/net/tokenring/Kconfig"
Expand Down
1 change: 0 additions & 1 deletion drivers/net/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ obj-$(CONFIG_ATL1E) += atl1e/
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_JME) += jme.o
obj-$(CONFIG_VMXNET3) += vmxnet3/

Expand Down
1 change: 1 addition & 0 deletions drivers/net/ethernet/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ source "drivers/net/ethernet/racal/Kconfig"
source "drivers/net/ethernet/sfc/Kconfig"
source "drivers/net/ethernet/smsc/Kconfig"
source "drivers/net/ethernet/sun/Kconfig"
source "drivers/net/ethernet/tehuti/Kconfig"

endif # ETHERNET
1 change: 1 addition & 0 deletions drivers/net/ethernet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
obj-$(CONFIG_SFC) += sfc/
obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
obj-$(CONFIG_NET_VENDOR_SUN) += sun/
obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/
26 changes: 26 additions & 0 deletions drivers/net/ethernet/tehuti/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# Tehuti network device configuration
#

config NET_VENDOR_TEHUTI
bool "Tehuti 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 Tehuti cards. If you say Y, you will be asked for
your specific card in the following questions.

if NET_VENDOR_TEHUTI

config TEHUTI
tristate "Tehuti Networks 10G Ethernet"
depends on PCI
---help---
Tehuti Networks 10G Ethernet NIC

endif # NET_VENDOR_TEHUTI
5 changes: 5 additions & 0 deletions drivers/net/ethernet/tehuti/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Makefile for the Tehuti network device drivers.
#

obj-$(CONFIG_TEHUTI) += tehuti.o
File renamed without changes.
File renamed without changes.

0 comments on commit ef7f542

Please sign in to comment.