shithub: riscv

Download patch

ref: 9ea4028246632c42da7100c5f55d431a3e821033
parent: ec6714f5edc3cc40396c2843f98c6f89fbd284fc
author: cinap_lenrek <[email protected]>
date: Sat Dec 29 07:02:59 EST 2012

ether82567: x200 ethernet (thanks ftrvxmtrx)

Apparently i82567m ether (ich9) _has_ flash. Provided patch fixes the ethernet for Thinkpad X200.

--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -466,7 +466,7 @@
 	i82563,		9014,	Fpba,		"i82563",
 	i82566,		1514,	Fload,		"i82566",
 	i82567,		9234,	Fload,		"i82567",
-	i82567m,		1514,	0,		"i82567m",
+	i82567m,	1514,	Fload,		"i82567m",
 	i82571,		9234,	Fpba,		"i82571",
 	i82572,		9234,	Fpba,		"i82572",
 	i82573,		8192,	Fert,		"i82573",		/* terrible perf above 8k */
@@ -474,9 +474,9 @@
 	i82575,		9728,	F75|Fflashea,	"i82575",
 	i82576,		9728,	F75,		"i82576",
 	i82577,		4096,	Fload|Fert,	"i82577",
-	i82577m,		1514,	Fload|Fert,	"i82577",
+	i82577m,	1514,	Fload|Fert,	"i82577",
 	i82578,		4096,	Fload|Fert,	"i82578",
-	i82578m,		1514,	Fload|Fert,	"i82578",
+	i82578m,	1514,	Fload|Fert,	"i82578",
 	i82579,		9018,	Fload|Fert|F79phy,	"i82579",
 	i82580,		9728,	F75|F79phy,	"i82580",
 	i82583,		1514,	0,		"i82583",