tg3: Add 57766 device support.
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 14 Feb 2013 14:27:51 +0000 (14:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Feb 2013 19:02:58 +0000 (14:02 -0500)
commitd3f677afb8076d09d090ff0a5d1229c9dd9f136e
tree14369a258dcdfb65fa65e4f862968fc548e8a7fe
parent9754e293491e3a4e6c1ac020d25140b1ed3d9cd2
tg3: Add 57766 device support.

The patch also adds a couple of fixes

 - For the 57766 and non Ax versions of 57765, bootcode needs to setup
   the PCIE Fast Training Sequence (FTS) value to prevent transmit hangs.
   Unfortunately, it does not have enough room in the selfboot case (i.e.
   devices with no NVRAM).  The driver needs to implement this.

 - For performance reasons, the 2k DMA engine mode on the 57766 should
   be enabled and dma size limited to 2k for standard sized packets.

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/broadcom/tg3.h