bna: Introduce ENET as New Driver and FW Interface
authorRasesh Mody <rmody@brocade.com>
Mon, 8 Aug 2011 16:21:36 +0000 (16:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Aug 2011 14:30:12 +0000 (07:30 -0700)
commit45979c1e424f6a14495a4988343df176cb745f84
tree6cca0a555549c5d98534af18ca3f9c71c41c8ea6
parentaf027a34f34a8c0794a72dae8367e268eae89dbb
bna: Introduce ENET as New Driver and FW Interface

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: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bfi_enet.h [new file with mode: 0644]
drivers/net/ethernet/brocade/bna/bna_enet.c [new file with mode: 0644]