git: 9front

Download patch

ref: f150b5be666dcb1958cef5bf5d2df291f6d20b83
parent: c4c7352081ba1cde24e0918912afeb2044c91c0d
author: google <google@daverabbitz.ath.cx>
date: Mon Sep 3 09:40:51 EDT 2012

Intel 82567V DOES support jumbo frames, despite claims to the contrary.

--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -428,7 +428,6 @@
 	i82566,
 	i82567,
 	i82567m,
-	i82567v,
 	i82571,
 	i82572,
 	i82573,
@@ -468,7 +467,6 @@
 	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 */
@@ -1891,6 +1889,7 @@
 	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 */
@@ -1897,8 +1896,6 @@
 	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 */
@@ -2093,7 +2090,7 @@
 static int
 i82567pnp(Ether *e)
 {
-	return pnp(e, i82567v) & pnp(e, i82567m) & pnp(e, i82567);
+	return pnp(e, i82567m) & pnp(e, i82567);
 }
 
 static int
--