tg3: Restrict ASPM workaround devlist
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 2 Aug 2010 11:26:00 +0000 (11:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Aug 2010 22:46:29 +0000 (15:46 -0700)
commit8c69b1e702527e39c0b4fbda79d2738d186a3908
tree662772644a446b20766496f8c741c84143480c5c
parentf37500d3f66ba82888315838278d56fc27308327
tg3: Restrict ASPM workaround devlist

The ASPM workaround setting obtained from NVRAM only works with devices
older than 5717.  This patch enforces the restriction.

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