From 87d5626af038a5ab1df4f275beadd4415320d2aa Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 22 Jun 2014 19:01:37 +0200 Subject: ether8169: use u16int instead of u8int for C+ command register (thanks pavel / erik) --- sys/src/9/pc/ether8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3