tg3: Create aliases for rx producer mailbox regs
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 13 Nov 2009 13:03:49 +0000 (13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2009 06:14:53 +0000 (22:14 -0800)
commit66711e66639776685aeaad774488be1857abce26
treee719edd75292bd3ac6d739f26e29613c0c2c3b03
parent2b2cdb65bec42d38268b2ac115876b066afa7f95
tg3: Create aliases for rx producer mailbox regs

The rx producer mailbox registers are used in several spots in the code.
The addition of TG3_64BIT_REG_LOW makes register references
uncomfortably long.  This patch creates an alias for the standard and
jumbo ring producer index registers to make the code cleaner.

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