shithub: riscv

Download patch

ref: 87d5626af038a5ab1df4f275beadd4415320d2aa
parent: e7bfa556ad2ff0058260d5b9c27705fee4b74951
author: cinap_lenrek <[email protected]>
date: Sun Jun 22 15:01:37 EDT 2014

ether8169: use u16int instead of u8int for C+ command register (thanks pavel / erik)

--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -670,7 +670,7 @@
 	u32int r;
 	Block *bp;
 	Ctlr *ctlr;
-	u8int cplusc;
+	u16int cplusc;
 
 	ctlr = edev->ctlr;
 	ilock(ctlr);