]> err.no Git - linux-2.6/commit
[TG3]: Fix bug in setting a tg3_flag
authorMichael Chan <mchan@broadcom.com>
Wed, 10 Aug 2005 03:17:41 +0000 (20:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:50:49 +0000 (15:50 -0700)
commit087fe256f0aef8d16b19a30c6fb10b899bf1a701
tree64e88bc4cb0984f225ef7830aef566f5ba0d203e
parent15f5a585c6b8dac31ed0a55693aacf51934f0f5d
[TG3]: Fix bug in setting a tg3_flag

Found a bug while reviewing the patches the second time.

The TG3_FLAG_TXD_MBOX_HWBUG flag is set after the register access
methods have been determined. This patch fixes it by moving it up before
the various access methods are assigned.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c