summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/pc/ether82563.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/pc/ether82563.c b/sys/src/9/pc/ether82563.c
index a1ab0ca8d..bb5987fa6 100644
--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -1299,13 +1299,13 @@ phywrite(Ctlr *c, uint phyno, uint reg, ushort v)
static void
phyerrata(Ether *e, Ctlr *c)
{
- if(e->mbps == 0)
+ if(e->mbps == 0){
if(c->phyerrata == 0){
c->phyerrata++;
phywrite(c, 1, Phyprst, Prst); /* try a port reset */
print("%s: phy port reset\n", cname(c));
}
- else
+ }else
c->phyerrata = 0;
}