diff options
author | Guo-Fu Tseng <cooldavid@cooldavid.org> | 2011-02-13 13:27:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-13 23:43:22 -0500 |
commit | 3903c023570446303a10f152cfc120dcbf9a4ccf (patch) | |
tree | c0ba9e3c9b29f1bb14f113c0ddee305e8d89202e /drivers/net/jme.h | |
parent | 51754572371491b63f70aae41dab70dfcaf771b2 (diff) |
jme: Fix hardware action of full-duplex
Clear Transmit Timer/Retry setting while full-duplex.
Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/jme.h')
-rw-r--r-- | drivers/net/jme.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/jme.h b/drivers/net/jme.h index dc4af5753a9e..b33bc5b0bb4e 100644 --- a/drivers/net/jme.h +++ b/drivers/net/jme.h | |||
@@ -658,6 +658,14 @@ enum jme_txtrhd_shifts { | |||
658 | TXTRHD_TXRL_SHIFT = 0, | 658 | TXTRHD_TXRL_SHIFT = 0, |
659 | }; | 659 | }; |
660 | 660 | ||
661 | enum jme_txtrhd_values { | ||
662 | TXTRHD_FULLDUPLEX = 0x00000000, | ||
663 | TXTRHD_HALFDUPLEX = TXTRHD_TXPEN | | ||
664 | ((0x2000 << TXTRHD_TXP_SHIFT) & TXTRHD_TXP) | | ||
665 | TXTRHD_TXREN | | ||
666 | ((8 << TXTRHD_TXRL_SHIFT) & TXTRHD_TXRL), | ||
667 | }; | ||
668 | |||
661 | /* | 669 | /* |
662 | * RX Control/Status Bits | 670 | * RX Control/Status Bits |
663 | */ | 671 | */ |