summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-06-22 19:01:37 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-06-22 19:01:37 +0200
commit87d5626af038a5ab1df4f275beadd4415320d2aa (patch)
tree98eebcd8542c9b3d1f3ce12143313ab711d9d720
parente7bfa556ad2ff0058260d5b9c27705fee4b74951 (diff)
ether8169: use u16int instead of u8int for C+ command register (thanks pavel / erik)
-rw-r--r--sys/src/9/pc/ether8169.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/ether8169.c b/sys/src/9/pc/ether8169.c
index 731a0adf1..a51674599 100644
--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -670,7 +670,7 @@ rtl8169init(Ether* edev)
u32int r;
Block *bp;
Ctlr *ctlr;
- u8int cplusc;
+ u16int cplusc;
ctlr = edev->ctlr;
ilock(ctlr);