Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6598
b: refs/heads/master
c: 8348b4d
h: refs/heads/master
v: v3
  • Loading branch information
Francois Romieu authored and Jeff Garzik committed Jul 30, 2005
1 parent 9a9cbe3 commit d63057d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 560d3d521decc6d05dc0d6e007f1d2e1d3048102
refs/heads/master: 8348b4db5f56d2c0d3849db06055225ec15b255a
7 changes: 6 additions & 1 deletion trunk/drivers/net/sis190.c
Original file line number Diff line number Diff line change
Expand Up @@ -952,12 +952,17 @@ static void sis190_phy_task(void * data)
0x01 | _10bpsH },
{ 0, "unknown", 0x0000 }
}, *p;
u16 adv;

val = mdio_read(ioaddr, phy_id, 0x1f);
net_link(tp, KERN_INFO "%s: mii ext = %04x.\n", dev->name, val);

val = mdio_read(ioaddr, phy_id, MII_LPA);
net_link(tp, KERN_INFO "%s: mii lpa = %04x.\n", dev->name, val);
adv = mdio_read(ioaddr, phy_id, MII_ADVERTISE);
net_link(tp, KERN_INFO "%s: mii lpa = %04x adv = %04x.\n",
dev->name, val, adv);

val &= adv;

for (p = reg31; p->ctl; p++) {
if ((val & p->val) == p->val)
Expand Down

0 comments on commit d63057d

Please sign in to comment.