diff options
| author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-06-14 17:02:57 -0400 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-12 06:41:14 -0400 |
| commit | 554f4ffd3b2cd88e42007d069bc519563d0b459f (patch) | |
| tree | 3701f6d17551bc275d5622721c149521327faaea /drivers/net | |
| parent | b544dbac41218fd015ac79455cfc1e57736e9b0c (diff) | |
hamachi/yellowfin: Move the packet engine drivers
Move the packet engine drivers to drivers/net/ethernet/packetengines/
and the necessary Kconfig and Makefile changes.
CC: Donald Becker <becker@scyld.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
| -rw-r--r-- | drivers/net/Kconfig | 26 | ||||
| -rw-r--r-- | drivers/net/Makefile | 2 | ||||
| -rw-r--r-- | drivers/net/ethernet/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/net/ethernet/Makefile | 1 | ||||
| -rw-r--r-- | drivers/net/ethernet/packetengines/Kconfig | 46 | ||||
| -rw-r--r-- | drivers/net/ethernet/packetengines/Makefile | 6 | ||||
| -rw-r--r-- | drivers/net/ethernet/packetengines/hamachi.c (renamed from drivers/net/hamachi.c) | 0 | ||||
| -rw-r--r-- | drivers/net/ethernet/packetengines/yellowfin.c (renamed from drivers/net/yellowfin.c) | 0 |
8 files changed, 54 insertions, 28 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index e8d65fe015a2..99b209e0b78f 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
| @@ -541,32 +541,6 @@ config IP1000 | |||
| 541 | To compile this driver as a module, choose M here: the module | 541 | To compile this driver as a module, choose M here: the module |
| 542 | will be called ipg. This is recommended. | 542 | will be called ipg. This is recommended. |
| 543 | 543 | ||
| 544 | config HAMACHI | ||
| 545 | tristate "Packet Engines Hamachi GNIC-II support" | ||
| 546 | depends on PCI | ||
| 547 | select MII | ||
| 548 | help | ||
| 549 | If you have a Gigabit Ethernet card of this type, say Y and read | ||
| 550 | the Ethernet-HOWTO, available from | ||
| 551 | <http://www.tldp.org/docs.html#howto>. | ||
| 552 | |||
| 553 | To compile this driver as a module, choose M here. The module will be | ||
| 554 | called hamachi. | ||
| 555 | |||
| 556 | config YELLOWFIN | ||
| 557 | tristate "Packet Engines Yellowfin Gigabit-NIC support (EXPERIMENTAL)" | ||
| 558 | depends on PCI && EXPERIMENTAL | ||
| 559 | select CRC32 | ||
| 560 | ---help--- | ||
| 561 | Say Y here if you have a Packet Engines G-NIC PCI Gigabit Ethernet | ||
| 562 | adapter or the SYM53C885 Ethernet controller. The Gigabit adapter is | ||
| 563 | used by the Beowulf Linux cluster project. See | ||
| 564 | <http://cesdis.gsfc.nasa.gov/linux/drivers/yellowfin.html> for more | ||
| 565 | information about this driver in particular and Beowulf in general. | ||
| 566 | |||
| 567 | To compile this driver as a module, choose M here: the module | ||
| 568 | will be called yellowfin. This is recommended. | ||
| 569 | |||
| 570 | config XILINX_LL_TEMAC | 544 | config XILINX_LL_TEMAC |
| 571 | tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver" | 545 | tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver" |
| 572 | depends on PPC || MICROBLAZE | 546 | depends on PPC || MICROBLAZE |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 96112ddfb9bb..d8c286effbba 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
| @@ -19,7 +19,6 @@ obj-$(CONFIG_PLIP) += plip.o | |||
| 19 | obj-$(CONFIG_ROADRUNNER) += rrunner.o | 19 | obj-$(CONFIG_ROADRUNNER) += rrunner.o |
| 20 | 20 | ||
| 21 | obj-$(CONFIG_R6040) += r6040.o | 21 | obj-$(CONFIG_R6040) += r6040.o |
| 22 | obj-$(CONFIG_YELLOWFIN) += yellowfin.o | ||
| 23 | obj-$(CONFIG_FEALNX) += fealnx.o | 22 | obj-$(CONFIG_FEALNX) += fealnx.o |
| 24 | obj-$(CONFIG_SKFP) += skfp/ | 23 | obj-$(CONFIG_SKFP) += skfp/ |
| 25 | obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o | 24 | obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o |
| @@ -30,7 +29,6 @@ obj-$(CONFIG_SH_ETH) += sh_eth.o | |||
| 30 | # end link order section | 29 | # end link order section |
| 31 | # | 30 | # |
| 32 | 31 | ||
| 33 | obj-$(CONFIG_HAMACHI) += hamachi.o | ||
| 34 | obj-$(CONFIG_NET) += Space.o loopback.o | 32 | obj-$(CONFIG_NET) += Space.o loopback.o |
| 35 | obj-$(CONFIG_NET_SB1000) += sb1000.o | 33 | obj-$(CONFIG_NET_SB1000) += sb1000.o |
| 36 | obj-$(CONFIG_HP100) += hp100.o | 34 | obj-$(CONFIG_HP100) += hp100.o |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index 3983e702b97a..140dd73420d6 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
| @@ -39,6 +39,7 @@ source "drivers/net/ethernet/natsemi/Kconfig" | |||
| 39 | source "drivers/net/ethernet/8390/Kconfig" | 39 | source "drivers/net/ethernet/8390/Kconfig" |
| 40 | source "drivers/net/ethernet/nuvoton/Kconfig" | 40 | source "drivers/net/ethernet/nuvoton/Kconfig" |
| 41 | source "drivers/net/ethernet/oki-semi/Kconfig" | 41 | source "drivers/net/ethernet/oki-semi/Kconfig" |
| 42 | source "drivers/net/ethernet/packetengines/Kconfig" | ||
| 42 | source "drivers/net/ethernet/pasemi/Kconfig" | 43 | source "drivers/net/ethernet/pasemi/Kconfig" |
| 43 | source "drivers/net/ethernet/qlogic/Kconfig" | 44 | source "drivers/net/ethernet/qlogic/Kconfig" |
| 44 | source "drivers/net/ethernet/racal/Kconfig" | 45 | source "drivers/net/ethernet/racal/Kconfig" |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index 873d27591466..8a97b193f6ef 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
| @@ -30,6 +30,7 @@ obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/ | |||
| 30 | obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/ | 30 | obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/ |
| 31 | obj-$(CONFIG_NET_VENDOR_NUVOTON) += nuvoton/ | 31 | obj-$(CONFIG_NET_VENDOR_NUVOTON) += nuvoton/ |
| 32 | obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/ | 32 | obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/ |
| 33 | obj-$(CONFIG_NET_PACKET_ENGINE) += packetengines/ | ||
| 33 | obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ | 34 | obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ |
| 34 | obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ | 35 | obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ |
| 35 | obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ | 36 | obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ |
diff --git a/drivers/net/ethernet/packetengines/Kconfig b/drivers/net/ethernet/packetengines/Kconfig new file mode 100644 index 000000000000..4add1db20f1e --- /dev/null +++ b/drivers/net/ethernet/packetengines/Kconfig | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | # | ||
| 2 | # Packet engine device configuration | ||
| 3 | # | ||
| 4 | |||
| 5 | config NET_PACKET_ENGINE | ||
| 6 | bool "Packet Engine 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 packet engine devices. If you say Y, you will | ||
| 16 | be asked for your specific card in the following questions. | ||
| 17 | |||
| 18 | if NET_PACKET_ENGINE | ||
| 19 | |||
| 20 | config HAMACHI | ||
| 21 | tristate "Packet Engines Hamachi GNIC-II support" | ||
| 22 | depends on PCI | ||
| 23 | select MII | ||
| 24 | ---help--- | ||
| 25 | If you have a Gigabit Ethernet card of this type, say Y and read | ||
| 26 | the Ethernet-HOWTO, available from | ||
| 27 | <http://www.tldp.org/docs.html#howto>. | ||
| 28 | |||
| 29 | To compile this driver as a module, choose M here. The module will be | ||
| 30 | called hamachi. | ||
| 31 | |||
| 32 | config YELLOWFIN | ||
| 33 | tristate "Packet Engines Yellowfin Gigabit-NIC support (EXPERIMENTAL)" | ||
| 34 | depends on PCI && EXPERIMENTAL | ||
| 35 | select CRC32 | ||
| 36 | ---help--- | ||
| 37 | Say Y here if you have a Packet Engines G-NIC PCI Gigabit Ethernet | ||
| 38 | adapter or the SYM53C885 Ethernet controller. The Gigabit adapter is | ||
| 39 | used by the Beowulf Linux cluster project. See | ||
| 40 | <http://cesdis.gsfc.nasa.gov/linux/drivers/yellowfin.html> for more | ||
| 41 | information about this driver in particular and Beowulf in general. | ||
| 42 | |||
| 43 | To compile this driver as a module, choose M here: the module | ||
| 44 | will be called yellowfin. This is recommended. | ||
| 45 | |||
| 46 | endif # NET_PACKET_ENGINE | ||
diff --git a/drivers/net/ethernet/packetengines/Makefile b/drivers/net/ethernet/packetengines/Makefile new file mode 100644 index 000000000000..995ccd077d0c --- /dev/null +++ b/drivers/net/ethernet/packetengines/Makefile | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | # | ||
| 2 | # Makefile for the Packet Engine network device drivers. | ||
| 3 | # | ||
| 4 | |||
| 5 | obj-$(CONFIG_HAMACHI) += hamachi.o | ||
| 6 | obj-$(CONFIG_YELLOWFIN) += yellowfin.o | ||
diff --git a/drivers/net/hamachi.c b/drivers/net/ethernet/packetengines/hamachi.c index c274b3d77eb5..c274b3d77eb5 100644 --- a/drivers/net/hamachi.c +++ b/drivers/net/ethernet/packetengines/hamachi.c | |||
diff --git a/drivers/net/yellowfin.c b/drivers/net/ethernet/packetengines/yellowfin.c index 3e5ac60b89ac..3e5ac60b89ac 100644 --- a/drivers/net/yellowfin.c +++ b/drivers/net/ethernet/packetengines/yellowfin.c | |||
