git: 9front

Download patch

ref: c4c7352081ba1cde24e0918912afeb2044c91c0d
parent: f7eddcf6faf3894d70468e14191853481c178ffd
author: google <google@daverabbitz.ath.cx>
date: Sun Sep 2 07:31:53 EDT 2012

Intel 82567V does not support jumbo frames.

--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -428,6 +428,7 @@
 	i82566,
 	i82567,
 	i82567m,
+	i82567v,
 	i82571,
 	i82572,
 	i82573,
@@ -467,6 +468,7 @@
 	i82566,		1514,	Fload,		"i82566",
 	i82567,		9234,	Fload,		"i82567",
 	i82567m,		1514,	0,		"i82567m",
+	i82567v,	1514,	Fload,		"i82567v",
 	i82571,		9234,	Fpba,		"i82571",
 	i82572,		9234,	Fpba,		"i82572",
 	i82573,		8192,	Fert,		"i82573",		/* terrible perf above 8k */
@@ -1889,7 +1891,6 @@
 	case 0x10df:		/* lf ich10 */
 	case 0x10e5:		/* lm ich9 */
 	case 0x10f5:		/* lm ich9m; “boazman” */
-	case 0x10ce:		/* v ich10 */
 		return i82567;
 	case 0x10bf:		/* lf ich9m */
 	case 0x10cb:		/* v ich9m */
@@ -1896,6 +1897,8 @@
 	case 0x10cd:		/* lf ich10 */
 	case 0x10cc:		/* lm ich10 */
 		return i82567m;
+	case 0x10ce:		/* v ich10 */
+		return i82567v;
 	case 0x105e:		/* eb */
 	case 0x105f:		/* eb */
 	case 0x1060:		/* eb */
@@ -2090,7 +2093,7 @@
 static int
 i82567pnp(Ether *e)
 {
-	return pnp(e, i82567m) & pnp(e, i82567);
+	return pnp(e, i82567v) & pnp(e, i82567m) & pnp(e, i82567);
 }
 
 static int
--