[TG3]: Add ASPM workaround.
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 7 May 2007 07:25:49 +0000 (00:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 May 2007 07:25:49 +0000 (00:25 -0700)
commit8ed5d97e5e0be0fb1aebad16f4c464613a0e472d
tree4088096e3fbc02e671980db1a2f26e1068dec532
parent15700770ef7c5d12e2f1659d2ddbeb3f658d9f37
[TG3]: Add ASPM workaround.

This patch adds workaround to fix performance problems caused by slow
PCIE L1->L0 transitions on ICH8 platforms.

Changed all magic numbers to constants as suggested by Jeff Garzik.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h