aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-07-24 17:51:26 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-13 02:47:03 -0400
commit1fe003fd4247edf0d1ccf32061b046b90492a954 (patch)
tree402789a0fa44824a74c880828161b61394d392b2
parent4ee542995273f6d6a83bc76cd13d71662f1c141c (diff)
greth: Move the Aeroflex Gaisler driver
Move the Aeroflex Gaisler driver into drivers/net/ethernet/aeroflex/ and make the necessary Kconfig and Makefile changes. CC: Kristoffer Glembo <kristoffer@gaisler.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/Kconfig8
-rw-r--r--drivers/net/Makefile1
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/aeroflex/Kconfig11
-rw-r--r--drivers/net/ethernet/aeroflex/Makefile5
-rw-r--r--drivers/net/ethernet/aeroflex/greth.c (renamed from drivers/net/greth.c)0
-rw-r--r--drivers/net/ethernet/aeroflex/greth.h (renamed from drivers/net/greth.h)0
8 files changed, 18 insertions, 9 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index fe2a8bc7d0de..75ca0da52ea2 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -291,14 +291,6 @@ config ENC28J60_WRITEVERIFY
291 Enable the verify after the buffer write useful for debugging purpose. 291 Enable the verify after the buffer write useful for debugging purpose.
292 If unsure, say N. 292 If unsure, say N.
293 293
294config GRETH
295 tristate "Aeroflex Gaisler GRETH Ethernet MAC support"
296 depends on SPARC
297 select PHYLIB
298 select CRC32
299 help
300 Say Y here if you want to use the Aeroflex Gaisler GRETH Ethernet MAC.
301
302config NET_PCI 294config NET_PCI
303 bool "EISA, VLB, PCI and on board controllers" 295 bool "EISA, VLB, PCI and on board controllers"
304 depends on ISA || EISA || PCI 296 depends on ISA || EISA || PCI
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 4e74d93476bc..e2f1f554dd73 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -54,7 +54,6 @@ obj-$(CONFIG_VETH) += veth.o
54obj-$(CONFIG_NET_NETX) += netx-eth.o 54obj-$(CONFIG_NET_NETX) += netx-eth.o
55obj-$(CONFIG_DM9000) += dm9000.o 55obj-$(CONFIG_DM9000) += dm9000.o
56obj-$(CONFIG_ENC28J60) += enc28j60.o 56obj-$(CONFIG_ENC28J60) += enc28j60.o
57obj-$(CONFIG_GRETH) += greth.o
58 57
59obj-$(CONFIG_DEV_APPLETALK) += appletalk/ 58obj-$(CONFIG_DEV_APPLETALK) += appletalk/
60obj-$(CONFIG_ETHERNET) += ethernet/ 59obj-$(CONFIG_ETHERNET) += ethernet/
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index e89bb2790855..32561c71040d 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -13,6 +13,7 @@ if ETHERNET
13 13
14source "drivers/net/ethernet/3com/Kconfig" 14source "drivers/net/ethernet/3com/Kconfig"
15source "drivers/net/ethernet/adaptec/Kconfig" 15source "drivers/net/ethernet/adaptec/Kconfig"
16source "drivers/net/ethernet/aeroflex/Kconfig"
16source "drivers/net/ethernet/amd/Kconfig" 17source "drivers/net/ethernet/amd/Kconfig"
17source "drivers/net/ethernet/apple/Kconfig" 18source "drivers/net/ethernet/apple/Kconfig"
18source "drivers/net/ethernet/atheros/Kconfig" 19source "drivers/net/ethernet/atheros/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 5ef1218a6e8e..94f1be8e822b 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -5,6 +5,7 @@
5obj-$(CONFIG_NET_VENDOR_3COM) += 3com/ 5obj-$(CONFIG_NET_VENDOR_3COM) += 3com/
6obj-$(CONFIG_NET_VENDOR_8390) += 8390/ 6obj-$(CONFIG_NET_VENDOR_8390) += 8390/
7obj-$(CONFIG_NET_VENDOR_ADAPTEC) += adaptec/ 7obj-$(CONFIG_NET_VENDOR_ADAPTEC) += adaptec/
8obj-$(CONFIG_GRETH) += aeroflex/
8obj-$(CONFIG_NET_VENDOR_AMD) += amd/ 9obj-$(CONFIG_NET_VENDOR_AMD) += amd/
9obj-$(CONFIG_NET_VENDOR_APPLE) += apple/ 10obj-$(CONFIG_NET_VENDOR_APPLE) += apple/
10obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/ 11obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/
diff --git a/drivers/net/ethernet/aeroflex/Kconfig b/drivers/net/ethernet/aeroflex/Kconfig
new file mode 100644
index 000000000000..4f4a8d78fd54
--- /dev/null
+++ b/drivers/net/ethernet/aeroflex/Kconfig
@@ -0,0 +1,11 @@
1#
2# Aeroflex Gaisler network device configuration
3#
4
5config GRETH
6 tristate "Aeroflex Gaisler GRETH Ethernet MAC support"
7 depends on SPARC
8 select PHYLIB
9 select CRC32
10 ---help---
11 Say Y here if you want to use the Aeroflex Gaisler GRETH Ethernet MAC.
diff --git a/drivers/net/ethernet/aeroflex/Makefile b/drivers/net/ethernet/aeroflex/Makefile
new file mode 100644
index 000000000000..6e62a679282f
--- /dev/null
+++ b/drivers/net/ethernet/aeroflex/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the Aeroflex Gaisler network device drivers.
3#
4
5obj-$(CONFIG_GRETH) += greth.o
diff --git a/drivers/net/greth.c b/drivers/net/ethernet/aeroflex/greth.c
index 16ce45c11934..16ce45c11934 100644
--- a/drivers/net/greth.c
+++ b/drivers/net/ethernet/aeroflex/greth.c
diff --git a/drivers/net/greth.h b/drivers/net/ethernet/aeroflex/greth.h
index 9a0040dee4da..9a0040dee4da 100644
--- a/drivers/net/greth.h
+++ b/drivers/net/ethernet/aeroflex/greth.h