tg3: Add phy-related preprocessor constants
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 2 Aug 2010 11:26:05 +0000 (11:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Aug 2010 22:46:32 +0000 (15:46 -0700)
commitf08aa1a8b8ff0738d42936c3ac8c5516848bca02
treea2924ae50bd60a00c08cbdf11591a2938902293b
parent6ee7c0a0a5003abd4afd724f5c2f654fe7328c0a
tg3: Add phy-related preprocessor constants

This patch replaces some instances of hardcoded phy register values with
preprocessor equivalents.

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
drivers/net/tg3.h