diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-16 00:46:41 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-11 19:28:56 -0400 |
commit | ef7f54297df683665145859501f63c801f6c7ea8 (patch) | |
tree | b41a8cc3d8b786984859e0ba483ddbe796314ff7 /drivers | |
parent | ded19addf9c937d83b9bfb4d73a836732569041b (diff) |
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 <baum@tehutinetworks.net>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/Kconfig | 6 | ||||
-rw-r--r-- | drivers/net/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/tehuti/Kconfig | 26 | ||||
-rw-r--r-- | drivers/net/ethernet/tehuti/Makefile | 5 | ||||
-rw-r--r-- | drivers/net/ethernet/tehuti/tehuti.c (renamed from drivers/net/tehuti.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/tehuti/tehuti.h (renamed from drivers/net/tehuti.h) | 0 |
8 files changed, 33 insertions, 7 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 69333feb1479..d3d2febeda17 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1457,12 +1457,6 @@ if NETDEV_10000 | |||
1457 | config MDIO | 1457 | config MDIO |
1458 | tristate | 1458 | tristate |
1459 | 1459 | ||
1460 | config TEHUTI | ||
1461 | tristate "Tehuti Networks 10G Ethernet" | ||
1462 | depends on PCI | ||
1463 | help | ||
1464 | Tehuti Networks 10G Ethernet NIC | ||
1465 | |||
1466 | endif # NETDEV_10000 | 1460 | endif # NETDEV_10000 |
1467 | 1461 | ||
1468 | source "drivers/net/tokenring/Kconfig" | 1462 | source "drivers/net/tokenring/Kconfig" |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 5dfa4c37df79..8d2d677da2ee 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -19,7 +19,6 @@ obj-$(CONFIG_ATL1E) += atl1e/ | |||
19 | obj-$(CONFIG_ATL1C) += atl1c/ | 19 | obj-$(CONFIG_ATL1C) += atl1c/ |
20 | obj-$(CONFIG_GIANFAR) += gianfar_driver.o | 20 | obj-$(CONFIG_GIANFAR) += gianfar_driver.o |
21 | obj-$(CONFIG_PTP_1588_CLOCK_GIANFAR) += gianfar_ptp.o | 21 | obj-$(CONFIG_PTP_1588_CLOCK_GIANFAR) += gianfar_ptp.o |
22 | obj-$(CONFIG_TEHUTI) += tehuti.o | ||
23 | obj-$(CONFIG_JME) += jme.o | 22 | obj-$(CONFIG_JME) += jme.o |
24 | obj-$(CONFIG_VMXNET3) += vmxnet3/ | 23 | obj-$(CONFIG_VMXNET3) += vmxnet3/ |
25 | 24 | ||
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index 16c206e19a3b..8375b8b5dd73 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -31,5 +31,6 @@ source "drivers/net/ethernet/racal/Kconfig" | |||
31 | source "drivers/net/ethernet/sfc/Kconfig" | 31 | source "drivers/net/ethernet/sfc/Kconfig" |
32 | source "drivers/net/ethernet/smsc/Kconfig" | 32 | source "drivers/net/ethernet/smsc/Kconfig" |
33 | source "drivers/net/ethernet/sun/Kconfig" | 33 | source "drivers/net/ethernet/sun/Kconfig" |
34 | source "drivers/net/ethernet/tehuti/Kconfig" | ||
34 | 35 | ||
35 | endif # ETHERNET | 36 | endif # ETHERNET |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index a52dc26bd9ed..26324a115905 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -22,3 +22,4 @@ obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ | |||
22 | obj-$(CONFIG_SFC) += sfc/ | 22 | obj-$(CONFIG_SFC) += sfc/ |
23 | obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ | 23 | obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ |
24 | obj-$(CONFIG_NET_VENDOR_SUN) += sun/ | 24 | obj-$(CONFIG_NET_VENDOR_SUN) += sun/ |
25 | obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/ | ||
diff --git a/drivers/net/ethernet/tehuti/Kconfig b/drivers/net/ethernet/tehuti/Kconfig new file mode 100644 index 000000000000..914ad4059eae --- /dev/null +++ b/drivers/net/ethernet/tehuti/Kconfig | |||
@@ -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 | ||
diff --git a/drivers/net/ethernet/tehuti/Makefile b/drivers/net/ethernet/tehuti/Makefile new file mode 100644 index 000000000000..f995421ddbc8 --- /dev/null +++ b/drivers/net/ethernet/tehuti/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # Makefile for the Tehuti network device drivers. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_TEHUTI) += tehuti.o | ||
diff --git a/drivers/net/tehuti.c b/drivers/net/ethernet/tehuti/tehuti.c index 749bbf18dc6a..749bbf18dc6a 100644 --- a/drivers/net/tehuti.c +++ b/drivers/net/ethernet/tehuti/tehuti.c | |||
diff --git a/drivers/net/tehuti.h b/drivers/net/ethernet/tehuti/tehuti.h index 709ebd6e28b4..709ebd6e28b4 100644 --- a/drivers/net/tehuti.h +++ b/drivers/net/ethernet/tehuti/tehuti.h | |||