]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bdb9e5453abd1c399ada011fecb67d915f98b5c
tree377e3cb707cf848213f5aeb653dd50cae572135c
parent001a6e4221ddbc4da63f5bf90397e49fda6da133
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