Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268276
b: refs/heads/master
c: cd9bb52
h: refs/heads/master
v: v3
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Sep 6, 2011
1 parent 67a0836 commit 304e179
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b84981c80847999c23a87b9e6810978ccf14f14e
refs/heads/master: cd9bb52bfadf31ca51a5b67d967ec06061ac4b04
6 changes: 2 additions & 4 deletions trunk/drivers/staging/et131x/et1310_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,10 +498,8 @@ void et131x_mii_check(struct et131x_adapter *adapter,
}
}

if ((bmsr_ints & BMSR_ANEGCOMPLETE) ||
(adapter->ai_force_duplex == 3 && (bmsr_ints & BMSR_LSTATUS))) {
if ((bmsr & BMSR_ANEGCOMPLETE) ||
adapter->ai_force_duplex == 3) {
if (bmsr_ints & BMSR_ANEGCOMPLETE) {
if (bmsr & BMSR_ANEGCOMPLETE) {
et1310_phy_link_status(adapter,
&link_status, &autoneg_status,
&speed, &duplex, &mdi_mdix,
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/et131x/et131x_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,6 @@ struct et131x_adapter {
u32 registry_jumbo_packet; /* Max supported ethernet packet size */

/* Derived from the registry: */
u8 ai_force_duplex; /* duplex setting */
u16 ai_force_speed; /* 'Speed', user over-ride of line speed */
u8 flowcontrol; /* flow control validated by the far-end */

/* Minimize init-time */
Expand Down

0 comments on commit 304e179

Please sign in to comment.