diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-07-24 17:51:26 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-13 02:47:03 -0400 |
commit | 1fe003fd4247edf0d1ccf32061b046b90492a954 (patch) | |
tree | 402789a0fa44824a74c880828161b61394d392b2 /drivers/net | |
parent | 4ee542995273f6d6a83bc76cd13d71662f1c141c (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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/Kconfig | 8 | ||||
-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/aeroflex/Kconfig | 11 | ||||
-rw-r--r-- | drivers/net/ethernet/aeroflex/Makefile | 5 | ||||
-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 fe2a8bc7d0d..75ca0da52ea 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 | ||
294 | config 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 | |||
302 | config NET_PCI | 294 | config 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 4e74d93476b..e2f1f554dd7 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -54,7 +54,6 @@ obj-$(CONFIG_VETH) += veth.o | |||
54 | obj-$(CONFIG_NET_NETX) += netx-eth.o | 54 | obj-$(CONFIG_NET_NETX) += netx-eth.o |
55 | obj-$(CONFIG_DM9000) += dm9000.o | 55 | obj-$(CONFIG_DM9000) += dm9000.o |
56 | obj-$(CONFIG_ENC28J60) += enc28j60.o | 56 | obj-$(CONFIG_ENC28J60) += enc28j60.o |
57 | obj-$(CONFIG_GRETH) += greth.o | ||
58 | 57 | ||
59 | obj-$(CONFIG_DEV_APPLETALK) += appletalk/ | 58 | obj-$(CONFIG_DEV_APPLETALK) += appletalk/ |
60 | obj-$(CONFIG_ETHERNET) += ethernet/ | 59 | obj-$(CONFIG_ETHERNET) += ethernet/ |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index e89bb279085..32561c71040 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -13,6 +13,7 @@ if ETHERNET | |||
13 | 13 | ||
14 | source "drivers/net/ethernet/3com/Kconfig" | 14 | source "drivers/net/ethernet/3com/Kconfig" |
15 | source "drivers/net/ethernet/adaptec/Kconfig" | 15 | source "drivers/net/ethernet/adaptec/Kconfig" |
16 | source "drivers/net/ethernet/aeroflex/Kconfig" | ||
16 | source "drivers/net/ethernet/amd/Kconfig" | 17 | source "drivers/net/ethernet/amd/Kconfig" |
17 | source "drivers/net/ethernet/apple/Kconfig" | 18 | source "drivers/net/ethernet/apple/Kconfig" |
18 | source "drivers/net/ethernet/atheros/Kconfig" | 19 | source "drivers/net/ethernet/atheros/Kconfig" |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index 5ef1218a6e8..94f1be8e822 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -5,6 +5,7 @@ | |||
5 | obj-$(CONFIG_NET_VENDOR_3COM) += 3com/ | 5 | obj-$(CONFIG_NET_VENDOR_3COM) += 3com/ |
6 | obj-$(CONFIG_NET_VENDOR_8390) += 8390/ | 6 | obj-$(CONFIG_NET_VENDOR_8390) += 8390/ |
7 | obj-$(CONFIG_NET_VENDOR_ADAPTEC) += adaptec/ | 7 | obj-$(CONFIG_NET_VENDOR_ADAPTEC) += adaptec/ |
8 | obj-$(CONFIG_GRETH) += aeroflex/ | ||
8 | obj-$(CONFIG_NET_VENDOR_AMD) += amd/ | 9 | obj-$(CONFIG_NET_VENDOR_AMD) += amd/ |
9 | obj-$(CONFIG_NET_VENDOR_APPLE) += apple/ | 10 | obj-$(CONFIG_NET_VENDOR_APPLE) += apple/ |
10 | obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/ | 11 | obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/ |
diff --git a/drivers/net/ethernet/aeroflex/Kconfig b/drivers/net/ethernet/aeroflex/Kconfig new file mode 100644 index 00000000000..4f4a8d78fd5 --- /dev/null +++ b/drivers/net/ethernet/aeroflex/Kconfig | |||
@@ -0,0 +1,11 @@ | |||
1 | # | ||
2 | # Aeroflex Gaisler network device configuration | ||
3 | # | ||
4 | |||
5 | config 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 00000000000..6e62a679282 --- /dev/null +++ b/drivers/net/ethernet/aeroflex/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # Makefile for the Aeroflex Gaisler network device drivers. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_GRETH) += greth.o | ||
diff --git a/drivers/net/greth.c b/drivers/net/ethernet/aeroflex/greth.c index 16ce45c1193..16ce45c1193 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 9a0040dee4d..9a0040dee4d 100644 --- a/drivers/net/greth.h +++ b/drivers/net/ethernet/aeroflex/greth.h | |||