diff options
Diffstat (limited to 'drivers/net/via-velocity.c')
-rw-r--r-- | drivers/net/via-velocity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index e56cf6b548d6..ced1446dec04 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c | |||
@@ -1789,7 +1789,7 @@ static void velocity_error(struct velocity_info *vptr, int status) | |||
1789 | * mode | 1789 | * mode |
1790 | */ | 1790 | */ |
1791 | if (vptr->rev_id < REV_ID_VT3216_A0) { | 1791 | if (vptr->rev_id < REV_ID_VT3216_A0) { |
1792 | if (vptr->mii_status | VELOCITY_DUPLEX_FULL) | 1792 | if (vptr->mii_status & VELOCITY_DUPLEX_FULL) |
1793 | BYTE_REG_BITS_ON(TCR_TB2BDIS, ®s->TCR); | 1793 | BYTE_REG_BITS_ON(TCR_TB2BDIS, ®s->TCR); |
1794 | else | 1794 | else |
1795 | BYTE_REG_BITS_OFF(TCR_TB2BDIS, ®s->TCR); | 1795 | BYTE_REG_BITS_OFF(TCR_TB2BDIS, ®s->TCR); |