1. 11 Aug, 2011 32 commits
    • Jeff Kirsher's avatar
      pasemic_mac*: Move the PA Semi driver · ded19add
      Jeff Kirsher authored
      Move the PA Semi driver into drivers/net/ethernet/pasemi/ and
      make the necessary Kconfig and Makefile changes.
      
      CC: Olof Johansson <olof@lixom.net>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Acked-by: default avatarOlof Johansson <olof@lixom.net>
      ded19add
    • Jiri Pirko's avatar
      rtnetlink: remove initialization of dev->real_num_tx_queues · e7c379d2
      Jiri Pirko authored
      dev->real_num_tx_queues is correctly set already in alloc_netdev_mqs.
      Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e7c379d2
    • Jiri Pirko's avatar
      bonding: implement get_tx_queues rtnk_link_op · d5da4510
      Jiri Pirko authored
      If bonding device is created via rtnl, it is created with default number
      of rx/tx queues. This patch implements callback in bonding so the
      correct value (previously specified by bonding module param) is used.
      Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d5da4510
    • Rasesh Mody's avatar
      bna: Driver Version changed to 3.0.2.0 · 5098af0a
      Rasesh Mody authored
      Signed-off-by: default avatarRasesh Mody <rmody@brocade.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5098af0a
    • Rasesh Mody's avatar
      bna: Remove Obsolete Files · e827e326
      Rasesh Mody authored
      Change details:
       - Removec bfi_ll.h bna_hw.h bna_ctrl.c and bna_txrx.c due to ENET, MSGQ
         and TXRX changes for new FW Driver interface and TX RX re-design.
      Signed-off-by: default avatarRasesh Mody <rmody@brocade.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e827e326
    • Rasesh Mody's avatar
      bna: Remove Unused Code · f6d46a2e
      Rasesh Mody authored
      Remove unused code.
      Signed-off-by: default avatarRasesh Mody <rmody@brocade.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f6d46a2e
    • Rasesh Mody's avatar
      bna: ENET and Tx Rx Redesign Enablement · 078086f3
      Rasesh Mody authored
      Change details:
      This patch contains additional structure and function definition changes
      that are required to enable the new msgq/enet/txrx redesign introduced
      by the previous 4 patches.
       - structure and function definition changes to header files as a result
         of Ethport, Enet, IOCEth, Tx, Rx redesign.
       - ethtool changes to use new enet function and definitions
       - Set number of Tx and Rx queues bassed on underlying hardware. Define
         separate macros for maximum and supported numbers of Tx and Rx queues
         based on underlying hardware. Take VLAN header into account for MTU
         calculation. Default to INTx mode when pci_enable_msix() fails. Set a
         bit in Rx poll routine, check and wait for that bit to be cleared in
         the cleanup routine before proceeding.
       - The TX and Rx coalesce settings are programmed in steps of 5 us. The value
         that are not divisible by 5 are rounded to the next lower number. This was
         causing the value os 1 to 4 to be rounded to 0, which is an invalid setting.
         When creating Rx and Tx object, we are currently assigning the default
         values of Rx and Tx coalescing_timeo. If these values are changed in the
         driver to a different value, the change is lost during such operations as
         MTU change. In order to avoid that, pass the configured value of
         coalescing_timeo before Rx and Tx object creation. Fix
         bnad_tx_coalescing_timeo_set() so it applies to all the Tx objects.
       - Reorg uninitialization path in case of pci_probe failure.
       - Hardware clock setup changes to pass asic generation, port modes and
         asic mode as part firmware boot parameters to firmware.
       - FW mailbox interface changes to defined asic specific mailbox interfaces.
         h/w mailbox interfaces take 8-bit FIDs and 2-bit port id for owner. Cleaned
         up mailbox definitions and usage for new and old HW. Eliminated usage of
         ASIC ID. MSI-X vector assignment and programming done by firmware. Fixed
         host offsets for CPE/RME queue registers.
       - Implement polling mechanism for FW ready to have poll mechanism replaces
         the current interrupt based FW READY method. The timer based poll routine
         in IOC will query the ioc_fwstate register to see if there is a state
         change in FW, and sends the READY event. Removed infrastructure needed to
         support mbox READY event from fw as well as IOC code.
       - Move FW init to HW init. Handle the case where PCI mapping goes away when
         IOCPF state machine is waiting for semaphore.
       - Add IOC mbox call back to client indicating that the command is sent.
      Signed-off-by: default avatarRasesh Mody <rmody@brocade.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      078086f3
    • Rasesh Mody's avatar
      bna: Add New HW Defs · 6849c6b3
      Rasesh Mody authored
      Change details:
       - Add new file bna_hw_defs.h to support new code MSGQ, ENET and TX RX redign.
         This makes bna_hw.h obsolete and is removed in a later patch. bna_hw_defs.h
         removes all unused HW register definition that were part of bna_hw.h.
      Signed-off-by: default avatarRasesh Mody <rmody@brocade.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6849c6b3
    • Rasesh Mody's avatar
      bna: Tx and Rx Redesign · f3bd5173
      Rasesh Mody authored
      Change details:
       - This patch contains the changes as a result of redesigning of Tx, Rx data
         path setup. In the old design, setting up Txqs, Rxqs were done in the driver.
         With the new design, most of the hardware setup steps for the Txq, Rxqs are
         moved to FW. Host driver issues commands to FW through the message queue to
         setup/teardown tx, rx data path. FW performs necessary steps and responds
         back to the driver with a status.
       - As a result of this redesign, the state machine implementation for Tx, Rx
         objects have changed significantly. Instead of doing the raw register access,
         these state machines mostly send a command to FW and wait for response and
         take the next action. In addition to tx, rx datapath setup, this patch also
         deals with rx filter configuration - such as unicast address, multicast
         address, vlan filter, promiscuous mode etc.
      Signed-off-by: default avatarRasesh Mody <rmody@brocade.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f3bd5173
    • Rasesh Mody's avatar
      bna: Introduce ENET as New Driver and FW Interface · 45979c1e
      Rasesh Mody authored
      Change details:
       - This patch contains the messages, opcodes and structure format for the
         messages and responses exchanged between driver and the FW. In addition
         this patch contains the state machine implementation for Ethport, Enet,
         IOCEth.
       - Ethport object is responsible for receiving link state events, sending
         port enable/disable commands to FW.
       - Enet object is responsible for synchronizing initialization/teardown of
         tx & rx datapath configuration.
       - IOCEth object is responsible for init/un-init of IO Controller in the
         adapter which runs the FW.
       - This patch also contains code for initialization and resource assignment
         for Ethport, Enet, IOCEth, Tx, Rx objects.
      Signed-off-by: default avatarRasesh Mody <rmody@brocade.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      45979c1e
    • Rasesh Mody's avatar
      bna: MSGQ Implementation · af027a34
      Rasesh Mody authored
      Change details:
       - Currently modules communicate with the FW using 32 byte command and
         response register. This limits the size of the command and response
         messages exchanged with the FW to 32 bytes. We need a mechanism to
         exchange the comamnds and responses exchange with FW that exceeds 32 bytes.
      
       - MSGQ implementation provides that facility. It removes the assumption that
         command/response queue size is precisely calculated to accommodate all
         concurrent FW commands/responses. The queue depth is made variable now, defined
         by a macro. A waiting command list is implemented to hold all the commands
         when there is no place in the command queue. Callback is implemented for
         each command entry to invoke the module posting the command, when there is
         space in the command queue and the command was finally posted to the queue.
         Module/Object information is embedded in the response for tracking purpose.
      Signed-off-by: default avatarRasesh Mody <rmody@brocade.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      af027a34
    • Jeff Kirsher's avatar
      enic: Move the Cisco driver · a6a5580c
      Jeff Kirsher authored
      Move the Cisco driver into drivers/net/ethernet/cisco/ and make the
      necessary Kconfig and Makefile changes.
      
      CC: Christian Benvenuti <benve@cisco.com>
      CC: Vasanthy Kolluri <vkolluri@cisco.com>
      CC: Roopa Prabhu <roprabhu@cisco.com>
      CC: David Wang <dwang2@cisco.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      a6a5580c
    • Jeff Kirsher's avatar
      ehea/ibm*: Move the IBM drivers · 9aa32835
      Jeff Kirsher authored
      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>
      9aa32835
    • Jeff Kirsher's avatar
      s2io/vxge: Move the Exar drivers · 86387e1a
      Jeff Kirsher authored
      Move the Exar drivers into drivers/net/ethernet/neterion/ and make the
      necessary Kconfig and Makefile changes.
      
      CC: Jon Mason <jdmason@kudzu.us>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      86387e1a
    • Jeff Kirsher's avatar
      myri*: Move the Myricom drivers · 93f7848b
      Jeff Kirsher authored
      Move the Myricom drivers into drivers/net/ethernet/myricom/ and make
      the necessary Kconfig and Makefile changes.
      
      CC: Andrew Gallatin <gallatin@myri.com>
      CC: Brice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      93f7848b
    • Jeff Kirsher's avatar
      mlx4: Move the Mellanox driver · 5a2cc190
      Jeff Kirsher authored
      Moves the Mellanox driver into drivers/net/ethernet/mellanox/ and
      make the necessary Kconfig and Makefile changes.
      
      CC: Roland Dreier <roland@kernel.org>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      5a2cc190
    • Jeff Kirsher's avatar
      bna: Move the Brocade driver · f844a0ea
      Jeff Kirsher authored
      Moves the Brocade driver into drivers/net/ethernet/brocade/ and make
      the necessary Kconfig and Makefile changes.
      
      CC: Rasesh Mody <rmody@brocade.com>
      CC: Debashis Dutt <ddutt@brocade.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      f844a0ea
    • Jeff Kirsher's avatar
      be2net: Move the Emulex driver · 9aebddd1
      Jeff Kirsher authored
      Moves the Emulex driver into drivers/net/ethernet/emulex/ and
      make the necessary Kconfig and Makefile changes.
      
      CC: Sathya Perla <sathya.perla@emulex.com>
      CC: Subbu Seetharaman <subbu.seetharaman@emulex.com>
      CC: Ajit Khaparde <ajit.khaparde@emulex.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      9aebddd1
    • Jeff Kirsher's avatar
      sfc: Move the Solarflare drivers · 874aeea5
      Jeff Kirsher authored
      Moves the Solarflare drivers into drivers/net/ethernet/sfc/ and
      make the necessary Kconfig and Makefile changes.
      
      CC: Steve Hodgson <shodgson@solarflare.com>
      CC: Ben Hutchings <bhutchings@solarflare.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      874aeea5
    • Jeff Kirsher's avatar
      cassini/niu/sun*: Move the Sun drivers · e689cf4a
      Jeff Kirsher authored
      Moves the Sun drivers into drivers/net/ethernet/sun/ and make
      the necessary Kconfig and Makefile changes.
      
      Oliver Hartkopp <socketcan@hartkopp.net> suggested removing the
      sun* prefix on the driver names.  This type of change I will
      leave up to the driver maintainers.
      
      CC: Sam Creasey <sammy@sammy.net>
      CC: Adrian Sun <asun@darksunrising.com>
      CC: Benjamin Herrenscmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      e689cf4a
    • Jeff Kirsher's avatar
      ni5010: Move the Racal-Interlan (Micom) driver · 8efc9125
      Jeff Kirsher authored
      Moves the Racal-Interlan driver into drivers/net/ethernet/racal/ and
      make the necessary Kconfig and Makefile changes.
      
      CC: "Jan-Pascal van Best" <janpascal@vanbest.org>
      CC: Andreas Mohr <andi@lisas.de>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      8efc9125
    • David S. Miller's avatar
    • Jeff Kirsher's avatar
      i825xx: Move the Intel 82586/82593/82596 based drivers · 11597885
      Jeff Kirsher authored
      Move the drivers that use the i82586/i82593/i82596 chipsets into
      drivers/net/ethernet/i825xx/ and make the necessary Kconfig and
      Makefile changes.  There were 4 3Com drivers which were initially
      moved into 3com/, which now reside in i825xx since they all used
      the i82586 chip.
      
      CC: Philip Blundell <philb@gnu.org>
      CC: Russell King <linux@arm.linux.org.uk>
      CC: <aris@cathedrallabs.org>
      CC: Donald Becker <becker@scyld.com>
      CC: Chris Beauregard <cpbeaure@undergrad.math.uwaterloo.ca>
      CC: Richard Procter <rnp@paradise.net.nz>
      CC: Andries Brouwer <aeb@cwi.nl>
      CC: "M.Hipp" <hippm@informatik.uni-tuebingen.de>
      CC: Richard Hirst <richard@sleepie.demon.co.uk>
      CC: Sam Creasey <sammy@oh.verio.com>
      CC: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      11597885
    • Jeff Kirsher's avatar
      smsc: Move the SMC (SMSC) drivers · ae150435
      Jeff Kirsher authored
      Moves the SMC (SMSC) drivers into drivers/net/ethernet/smsc/ and the
      necessary Kconfig and Makefile changes.  Also did some cleanup
      of NET_VENDOR_SMC Kconfig tag for the 8390 based drivers.
      
      CC: Nicolas Pitre <nico@fluxnic.net>
      CC: Donald Becker <becker@scyld.com>
      CC: Erik Stahlman <erik@vt.edu>
      CC: Dustin McIntire <dustin@sensoria.com>
      CC: Steve Glendinning <steve.glendinning@smsc.com>
      CC: David Hinds <dahinds@users.sourceforge.net>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      ae150435
    • Jeff Kirsher's avatar
      qlogic: Move the QLogic drivers · aa43c215
      Jeff Kirsher authored
      Moves the QLogic drivers into drivers/net/ethernet/qlogic/ and
      the necessary Kconfig and Makefile changes.
      
      CC: Ron Mercer <ron.mercer@qlogic.com>
      CC: Amit Kumar Salecha <amit.salecha@qlogic.com>
      CC: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Acked-by: default avatarAnirban Chakraborty <anirban.chakraborty@qlogic.com>
      aa43c215
    • Jeff Kirsher's avatar
      intel: Move the Intel wired LAN drivers · dee1ad47
      Jeff Kirsher authored
      Moves the Intel wired LAN drivers into drivers/net/ethernet/intel/ and
      the necessary Kconfig and Makefile changes.
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      dee1ad47
    • Jeff Kirsher's avatar
      chelsio: Move the Chelsio drivers · f7917c00
      Jeff Kirsher authored
      Moves the drivers for the Chelsio chipsets into
      drivers/net/ethernet/chelsio/ and the necessary Kconfig and Makefile
      changes.
      
      CC: Divy Le Ray <divy@chelsio.com>
      CC: Dimitris Michailidis <dm@chelsio.com>
      CC: Casey Leedom <leedom@chelsio.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      f7917c00
    • Jeff Kirsher's avatar
      broadcom: Move the Broadcom drivers · adfc5217
      Jeff Kirsher authored
      Moves the drivers for Broadcom devices into
      drivers/net/ethernet/broadcom/ and the necessary Kconfig and Makefile
      changes.
      
      CC: Eilon Greenstein <eilong@broadcom.com>
      CC: Michael Chan <mchan@broadcom.com>
      CC: Matt Carlson <mcarlson@broadcom.com>
      CC: Gary Zambrano <zambrano@broadcom.com>
      CC: "Maciej W. Rozycki" <macro@linux-mips.org>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      adfc5217
    • Jeff Kirsher's avatar
      8390: Move the 8390 related drivers · 644570b8
      Jeff Kirsher authored
      Moves the drivers for the National Semi-conductor 8390 chipset into
      drivers/net/ethernet/8390/ and the necessary Kconfig and Makefile
      changes.
      
      CC: Donald Becker <becker@scyld.com>
      CC: Paul Gortmaker <paul.gortmaker@windriver.com>
      CC: Alain Malek <alain.malek@cryogen.com>
      CC: Peter De Schrijver <p2@mind.be>
      CC: "David Huggins-Daines" <dhd@debian.org>
      CC: Wim Dumon <wimpie@kotnet.org>
      CC: Yoshinori Sato <ysato@users.sourceforge.jp>
      CC: David Hinds <dahinds@users.sourceforge.net>
      CC: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      644570b8
    • Jeff Kirsher's avatar
      amd: Move AMD (Lance) chipset drivers · b955f6ca
      Jeff Kirsher authored
      Moves the drivers for the AMD chipsets into drivers/net/ethernet/amd/
      and the necessary Kconfig and Makfile changes.
      
      The au1000 (Alchemy) driver was also moved into the same directory
      even though it is not a "Lance" driver.
      
      CC: Peter Maydell <pmaydell@chiark.greenend.org.uk>
      CC: Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
      CC: "Maciej W. Rozycki" <macro@linux-mips.org>
      CC: Donald Becker <becker@scyld.com>
      CC: Sam Creasey <sammy@users.qual.net>
      CC: Miguel de Icaza <miguel@nuclecu.unam.mx>
      CC: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      CC: Don Fry <pcnet32@frontier.com>
      CC: Geert Uytterhoeven <geert@linux-m68k.org>
      CC: Russell King <linux@arm.linux.org.uk>
      CC: David Davies <davies@maniac.ultranet.com>
      CC: "M.Hipp" <hippm@informatik.uni-tuebingen.de>
      CC: Pete Popov <ppopov@embeddedalley.com>
      CC: David Hinds <dahinds@users.sourceforge.net>
      CC: "Roger C. Pao" <rpao@paonet.org>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      b955f6ca
    • Jeff Kirsher's avatar
      3c*/acenic/typhoon: Move 3Com Ethernet drivers · ca7a8e85
      Jeff Kirsher authored
      Moves the 3Com drivers into drivers/net/ethernet/3com/ and the necessary
      Kconfig and Makefile changes.
      
      Did not move the following drivers becuase they use a non-3Com
      chipset: 3c503, 3c505, 3c507, 3c523 and 3c527
      
      CC: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
      CC: David Dillow <dave@thedillows.org>
      CC: Jes Sorensen <jes@trained-monkey.org>
      CC: Alan Cox <alan@linux.intel.com>
      CC: David Hinds <dahinds@users.sourceforge.net>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Acked-by: default avatarDavid Dillow <dave@thedillows.org>
      ca7a8e85
    • Jeff Kirsher's avatar
      drivers/net/ethernet: Add ethernet dir and config option · c1abc95b
      Jeff Kirsher authored
      This is the initial patch to organize the drivers/net directory
      structure and networking device driver config options.  This patch
      does the following:
        - add drivers/net/ethernet/Kconfig
        - integrate the new files into the existing config
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      c1abc95b
  2. 10 Aug, 2011 1 commit
  3. 08 Aug, 2011 7 commits