Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73465
b: refs/heads/master
c: ad4c9a0
h: refs/heads/master
i:
  73463: 15211ed
v: v3
  • Loading branch information
Ron Mercer authored and Jeff Garzik committed Nov 10, 2007
1 parent 8091c73 commit fff71fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 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: 3e23b7d3b54c07f1c4fee1ebc418d1a37248654e
refs/heads/master: ad4c9a09c7bf6aaa418679f0fb48484eab53a285
15 changes: 5 additions & 10 deletions trunk/drivers/net/qla3xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1456,16 +1456,11 @@ static void ql_phy_start_neg_ex(struct ql3_adapter *qdev)
PHYAddr[qdev->mac_index]);
reg &= ~PHY_GIG_ALL_PARAMS;

if(portConfiguration &
PORT_CONFIG_FULL_DUPLEX_ENABLED &
PORT_CONFIG_1000MB_SPEED) {
reg |= PHY_GIG_ADV_1000F;
}

if(portConfiguration &
PORT_CONFIG_HALF_DUPLEX_ENABLED &
PORT_CONFIG_1000MB_SPEED) {
reg |= PHY_GIG_ADV_1000H;
if(portConfiguration & PORT_CONFIG_1000MB_SPEED) {
if(portConfiguration & PORT_CONFIG_FULL_DUPLEX_ENABLED)
reg |= PHY_GIG_ADV_1000F;
else
reg |= PHY_GIG_ADV_1000H;
}

ql_mii_write_reg_ex(qdev, PHY_GIG_CONTROL, reg,
Expand Down

0 comments on commit fff71fe

Please sign in to comment.