Skip to content

Commit ef7f542

Browse files
author
Jeff Kirsher
committed
tehuti: Move the Tehuti driver
Move the Tehuti driver into drivers/net/ethernet/tehuti/ and make the necessary Kconfig and Makefile changes. CC: Alexander Indenbaum <[email protected]> CC: Andy Gospodarek <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent ded19ad commit ef7f542

File tree

9 files changed

+34
-8
lines changed

9 files changed

+34
-8
lines changed

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6360,7 +6360,7 @@ M: Alexander Indenbaum <[email protected]>
63606360
M: Andy Gospodarek <[email protected]>
63616361
63626362
S: Supported
6363-
F: drivers/net/tehuti*
6363+
F: drivers/net/ethernet/tehuti/*
63646364

63656365
Telecom Clock Driver for MCPL0010
63666366
M: Mark Gross <[email protected]>

drivers/net/Kconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,12 +1457,6 @@ if NETDEV_10000
14571457
config MDIO
14581458
tristate
14591459

1460-
config TEHUTI
1461-
tristate "Tehuti Networks 10G Ethernet"
1462-
depends on PCI
1463-
help
1464-
Tehuti Networks 10G Ethernet NIC
1465-
14661460
endif # NETDEV_10000
14671461

14681462
source "drivers/net/tokenring/Kconfig"

drivers/net/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ obj-$(CONFIG_ATL1E) += atl1e/
1919
obj-$(CONFIG_ATL1C) += atl1c/
2020
obj-$(CONFIG_GIANFAR) += gianfar_driver.o
2121
obj-$(CONFIG_PTP_1588_CLOCK_GIANFAR) += gianfar_ptp.o
22-
obj-$(CONFIG_TEHUTI) += tehuti.o
2322
obj-$(CONFIG_JME) += jme.o
2423
obj-$(CONFIG_VMXNET3) += vmxnet3/
2524

drivers/net/ethernet/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ source "drivers/net/ethernet/racal/Kconfig"
3131
source "drivers/net/ethernet/sfc/Kconfig"
3232
source "drivers/net/ethernet/smsc/Kconfig"
3333
source "drivers/net/ethernet/sun/Kconfig"
34+
source "drivers/net/ethernet/tehuti/Kconfig"
3435

3536
endif # ETHERNET

drivers/net/ethernet/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
2222
obj-$(CONFIG_SFC) += sfc/
2323
obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
2424
obj-$(CONFIG_NET_VENDOR_SUN) += sun/
25+
obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/

drivers/net/ethernet/tehuti/Kconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# Tehuti network device configuration
3+
#
4+
5+
config NET_VENDOR_TEHUTI
6+
bool "Tehuti devices"
7+
depends on PCI
8+
---help---
9+
If you have a network (Ethernet) card belonging to this class, say Y
10+
and read the Ethernet-HOWTO, available from
11+
<http://www.tldp.org/docs.html#howto>.
12+
13+
Note that the answer to this question doesn't directly affect the
14+
kernel: saying N will just cause the configurator to skip all
15+
the questions about Tehuti cards. If you say Y, you will be asked for
16+
your specific card in the following questions.
17+
18+
if NET_VENDOR_TEHUTI
19+
20+
config TEHUTI
21+
tristate "Tehuti Networks 10G Ethernet"
22+
depends on PCI
23+
---help---
24+
Tehuti Networks 10G Ethernet NIC
25+
26+
endif # NET_VENDOR_TEHUTI

drivers/net/ethernet/tehuti/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# Makefile for the Tehuti network device drivers.
3+
#
4+
5+
obj-$(CONFIG_TEHUTI) += tehuti.o
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)