]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14f09740a92df5a0f71dcb8b33f9b72aa249f639
tree14369a258dcdfb65fa65e4f862968fc548e8a7fe
parent19076f5c2991ee9fd0c17e69c29ec4ade319a0b9
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