Commit 9aa32835 authored by Jeff Kirsher's avatar Jeff Kirsher

ehea/ibm*: Move the IBM drivers

Move the IBM drivers into drivers/net/ethernet/ibm/ and make the
necessary Kconfig and Makefile changes.

- Renamed ibm_new_emac to emac
- Cleaned up Makefile and Kconfig options which referred to
  IBM_NEW_EMAC to IBM_EMAC
- ibmlana driver is a National Semiconductor SONIC driver so
  it was not moved

CC: Christoph Raisch <raisch@de.ibm.com>
CC: Santiago Leon <santil@linux.vnet.ibm.com>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: David Gibson <dwg@au1.ibm.com>
CC: Kyle Lucke <klucke@us.ibm.com>
CC: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 86387e1a
...@@ -2465,7 +2465,7 @@ EHEA (IBM pSeries eHEA 10Gb ethernet adapter) DRIVER ...@@ -2465,7 +2465,7 @@ EHEA (IBM pSeries eHEA 10Gb ethernet adapter) DRIVER
M: Breno Leitao <leitao@linux.vnet.ibm.com> M: Breno Leitao <leitao@linux.vnet.ibm.com>
L: netdev@vger.kernel.org L: netdev@vger.kernel.org
S: Maintained S: Maintained
F: drivers/net/ehea/ F: drivers/net/ethernet/ibm/ehea/
EMBEDDED LINUX EMBEDDED LINUX
M: Paul Gortmaker <paul.gortmaker@windriver.com> M: Paul Gortmaker <paul.gortmaker@windriver.com>
...@@ -3163,7 +3163,7 @@ IBM Power Virtual Ethernet Device Driver ...@@ -3163,7 +3163,7 @@ IBM Power Virtual Ethernet Device Driver
M: Santiago Leon <santil@linux.vnet.ibm.com> M: Santiago Leon <santil@linux.vnet.ibm.com>
L: netdev@vger.kernel.org L: netdev@vger.kernel.org
S: Supported S: Supported
F: drivers/net/ibmveth.* F: drivers/net/ethernet/ibm/ibmveth.*
IBM ServeRAID RAID DRIVER IBM ServeRAID RAID DRIVER
P: Jack Hammer P: Jack Hammer
......
...@@ -627,18 +627,6 @@ config IBMLANA ...@@ -627,18 +627,6 @@ config IBMLANA
boards with this driver should be possible, but has not been tested boards with this driver should be possible, but has not been tested
up to now due to lack of hardware. up to now due to lack of hardware.
config IBMVETH
tristate "IBM LAN Virtual Ethernet support"
depends on PPC_PSERIES
---help---
This driver supports virtual ethernet adapters on newer IBM iSeries
and pSeries systems.
To compile this driver as a module, choose M here. The module will
be called ibmveth.
source "drivers/net/ibm_newemac/Kconfig"
config NET_PCI config NET_PCI
bool "EISA, VLB, PCI and on board controllers" bool "EISA, VLB, PCI and on board controllers"
depends on ISA || EISA || PCI depends on ISA || EISA || PCI
...@@ -1469,16 +1457,6 @@ if NETDEV_10000 ...@@ -1469,16 +1457,6 @@ if NETDEV_10000
config MDIO config MDIO
tristate tristate
config EHEA
tristate "eHEA Ethernet support"
depends on IBMEBUS && INET && SPARSEMEM
select INET_LRO
---help---
This driver supports the IBM pSeries eHEA ethernet adapter.
To compile the driver as a module, choose M here. The module
will be called ehea.
config ENIC config ENIC
tristate "Cisco VIC Ethernet NIC Support" tristate "Cisco VIC Ethernet NIC Support"
depends on PCI && INET depends on PCI && INET
...@@ -1573,10 +1551,6 @@ config XEN_NETDEV_BACKEND ...@@ -1573,10 +1551,6 @@ config XEN_NETDEV_BACKEND
compile this driver as a module, chose M here: the module compile this driver as a module, chose M here: the module
will be called xen-netback. will be called xen-netback.
config ISERIES_VETH
tristate "iSeries Virtual Ethernet driver support"
depends on PPC_ISERIES
config RIONET config RIONET
tristate "RapidIO Ethernet over messaging driver support" tristate "RapidIO Ethernet over messaging driver support"
depends on RAPIDIO depends on RAPIDIO
......
...@@ -10,9 +10,7 @@ obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac.o ...@@ -10,9 +10,7 @@ obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac.o
obj-$(CONFIG_TI_DAVINCI_MDIO) += davinci_mdio.o obj-$(CONFIG_TI_DAVINCI_MDIO) += davinci_mdio.o
obj-$(CONFIG_TI_DAVINCI_CPDMA) += davinci_cpdma.o obj-$(CONFIG_TI_DAVINCI_CPDMA) += davinci_cpdma.o
obj-$(CONFIG_IBM_NEW_EMAC) += ibm_newemac/
obj-$(CONFIG_IP1000) += ipg.o obj-$(CONFIG_IP1000) += ipg.o
obj-$(CONFIG_EHEA) += ehea/
obj-$(CONFIG_CAN) += can/ obj-$(CONFIG_CAN) += can/
obj-$(CONFIG_BONDING) += bonding/ obj-$(CONFIG_BONDING) += bonding/
obj-$(CONFIG_ATL1) += atlx/ obj-$(CONFIG_ATL1) += atlx/
...@@ -50,7 +48,6 @@ obj-$(CONFIG_SIS190) += sis190.o ...@@ -50,7 +48,6 @@ obj-$(CONFIG_SIS190) += sis190.o
obj-$(CONFIG_SIS900) += sis900.o obj-$(CONFIG_SIS900) += sis900.o
obj-$(CONFIG_R6040) += r6040.o obj-$(CONFIG_R6040) += r6040.o
obj-$(CONFIG_YELLOWFIN) += yellowfin.o obj-$(CONFIG_YELLOWFIN) += yellowfin.o
obj-$(CONFIG_ISERIES_VETH) += iseries_veth.o
obj-$(CONFIG_NATSEMI) += natsemi.o obj-$(CONFIG_NATSEMI) += natsemi.o
obj-$(CONFIG_NS83820) += ns83820.o obj-$(CONFIG_NS83820) += ns83820.o
obj-$(CONFIG_FEALNX) += fealnx.o obj-$(CONFIG_FEALNX) += fealnx.o
...@@ -148,7 +145,6 @@ obj-$(CONFIG_VETH) += veth.o ...@@ -148,7 +145,6 @@ obj-$(CONFIG_VETH) += veth.o
obj-$(CONFIG_NET_NETX) += netx-eth.o obj-$(CONFIG_NET_NETX) += netx-eth.o
obj-$(CONFIG_DL2K) += dl2k.o obj-$(CONFIG_DL2K) += dl2k.o
obj-$(CONFIG_R8169) += r8169.o obj-$(CONFIG_R8169) += r8169.o
obj-$(CONFIG_IBMVETH) += ibmveth.o
obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o
obj-$(CONFIG_BFIN_MAC) += bfin_mac.o obj-$(CONFIG_BFIN_MAC) += bfin_mac.o
obj-$(CONFIG_DM9000) += dm9000.o obj-$(CONFIG_DM9000) += dm9000.o
......
...@@ -19,6 +19,7 @@ source "drivers/net/ethernet/brocade/Kconfig" ...@@ -19,6 +19,7 @@ source "drivers/net/ethernet/brocade/Kconfig"
source "drivers/net/ethernet/chelsio/Kconfig" source "drivers/net/ethernet/chelsio/Kconfig"
source "drivers/net/ethernet/emulex/Kconfig" source "drivers/net/ethernet/emulex/Kconfig"
source "drivers/net/ethernet/neterion/Kconfig" source "drivers/net/ethernet/neterion/Kconfig"
source "drivers/net/ethernet/ibm/Kconfig"
source "drivers/net/ethernet/intel/Kconfig" source "drivers/net/ethernet/intel/Kconfig"
source "drivers/net/ethernet/i825xx/Kconfig" source "drivers/net/ethernet/i825xx/Kconfig"
source "drivers/net/ethernet/mellanox/Kconfig" source "drivers/net/ethernet/mellanox/Kconfig"
......
...@@ -10,6 +10,7 @@ obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ ...@@ -10,6 +10,7 @@ obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/
obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/ obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/
obj-$(CONFIG_NET_VENDOR_IBM) += ibm/
obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ obj-$(CONFIG_NET_VENDOR_INTEL) += intel/
obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
......
#
# IBM device configuration.
#
config NET_VENDOR_IBM
bool "IBM devices"
depends on MCA || PPC_PSERIES || PPC_PSERIES || PPC_DCR || \
(IBMEBUS && INET && SPARSEMEM)
---help---
If you have a network (Ethernet) card belonging to this class, say Y
and read the Ethernet-HOWTO, available from
<http://www.tldp.org/docs.html#howto>.
Note that the answer to this question doesn't directly affect the
kernel: saying N will just cause the configurator to skip all
the questions about IBM devices. If you say Y, you will be asked for
your specific card in the following questions.
if NET_VENDOR_IBM
config IBMVETH
tristate "IBM LAN Virtual Ethernet support"
depends on PPC_PSERIES
---help---
This driver supports virtual ethernet adapters on newer IBM iSeries
and pSeries systems.
To compile this driver as a module, choose M here. The module will
be called ibmveth.
config ISERIES_VETH
tristate "iSeries Virtual Ethernet driver support"
depends on PPC_ISERIES
source "drivers/net/ethernet/ibm/emac/Kconfig"
config EHEA
tristate "eHEA Ethernet support"
depends on IBMEBUS && INET && SPARSEMEM
select INET_LRO
---help---
This driver supports the IBM pSeries eHEA ethernet adapter.
To compile the driver as a module, choose M here. The module
will be called ehea.
endif # NET_VENDOR_IBM
#
# Makefile for th IBM network device drivers.
#
obj-$(CONFIG_IBMVETH) += ibmveth.o
obj-$(CONFIG_ISERIES_VETH) += iseries_veth.o
obj-$(CONFIG_IBM_EMAC) += emac/
obj-$(CONFIG_EHEA) += ehea/
config IBM_NEW_EMAC config IBM_EMAC
tristate "IBM EMAC Ethernet support" tristate "IBM EMAC Ethernet support"
depends on PPC_DCR depends on PPC_DCR
select CRC32 select CRC32
...@@ -7,29 +7,29 @@ config IBM_NEW_EMAC ...@@ -7,29 +7,29 @@ config IBM_NEW_EMAC
typically found on 4xx embedded PowerPC chips, but also on the typically found on 4xx embedded PowerPC chips, but also on the
Axon southbridge for Cell. Axon southbridge for Cell.
config IBM_NEW_EMAC_RXB config IBM_EMAC_RXB
int "Number of receive buffers" int "Number of receive buffers"
depends on IBM_NEW_EMAC depends on IBM_EMAC
default "128" default "128"
config IBM_NEW_EMAC_TXB config IBM_EMAC_TXB
int "Number of transmit buffers" int "Number of transmit buffers"
depends on IBM_NEW_EMAC depends on IBM_EMAC
default "64" default "64"
config IBM_NEW_EMAC_POLL_WEIGHT config IBM_EMAC_POLL_WEIGHT
int "MAL NAPI polling weight" int "MAL NAPI polling weight"
depends on IBM_NEW_EMAC depends on IBM_EMAC
default "32" default "32"
config IBM_NEW_EMAC_RX_COPY_THRESHOLD config IBM_EMAC_RX_COPY_THRESHOLD
int "RX skb copy threshold (bytes)" int "RX skb copy threshold (bytes)"
depends on IBM_NEW_EMAC depends on IBM_EMAC
default "256" default "256"
config IBM_NEW_EMAC_RX_SKB_HEADROOM config IBM_EMAC_RX_SKB_HEADROOM
int "Additional RX skb headroom (bytes)" int "Additional RX skb headroom (bytes)"
depends on IBM_NEW_EMAC depends on IBM_EMAC
default "0" default "0"
help help
Additional receive skb headroom. Note, that driver Additional receive skb headroom. Note, that driver
...@@ -39,38 +39,38 @@ config IBM_NEW_EMAC_RX_SKB_HEADROOM ...@@ -39,38 +39,38 @@ config IBM_NEW_EMAC_RX_SKB_HEADROOM
If unsure, set to 0. If unsure, set to 0.
config IBM_NEW_EMAC_DEBUG config IBM_EMAC_DEBUG
bool "Debugging" bool "Debugging"
depends on IBM_NEW_EMAC depends on IBM_EMAC
default n default n
# The options below has to be select'ed by the respective # The options below has to be select'ed by the respective
# processor types or platforms # processor types or platforms
config IBM_NEW_EMAC_ZMII config IBM_EMAC_ZMII
bool bool
default n default n
config IBM_NEW_EMAC_RGMII config IBM_EMAC_RGMII
bool bool
default n default n
config IBM_NEW_EMAC_TAH config IBM_EMAC_TAH
bool bool
default n default n
config IBM_NEW_EMAC_EMAC4 config IBM_EMAC_EMAC4
bool bool
default n default n
config IBM_NEW_EMAC_NO_FLOW_CTRL config IBM_EMAC_NO_FLOW_CTRL
bool bool
default n default n
config IBM_NEW_EMAC_MAL_CLR_ICINTSTAT config IBM_EMAC_MAL_CLR_ICINTSTAT
bool bool
default n default n
config IBM_NEW_EMAC_MAL_COMMON_ERR config IBM_EMAC_MAL_COMMON_ERR
bool bool
default n default n
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment