tg3: Add some VPD preprocessor constants
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 3 Dec 2009 08:36:22 +0000 (08:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 21:18:04 +0000 (13:18 -0800)
commit141518c95870228da4e050fbe31a8f0c9df82c72
tree377e3cb707cf848213f5aeb653dd50cae572135c
parentb703df6f628ab63eaa875232551b1f2f0503b9af
tg3: Add some VPD preprocessor constants

This patch cleans up the VPD code by creating preprocessor definitions
and using them in the place of hardcoded constants.

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