summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoogle <google@daverabbitz.ath.cx>2012-09-02 11:31:53 +1200
committergoogle <google@daverabbitz.ath.cx>2012-09-02 11:31:53 +1200
commit59d3ba2ce0980ce17312341f165fdcfabd507bde (patch)
treeed9523a9a58f22901ea06d173bd7a843a1d0e0ac
parentc74eff09060cc74c3580b952452d6fc7151dff7c (diff)
downloadplan9front-59d3ba2ce0980ce17312341f165fdcfabd507bde.tar.xz
Intel 82567V does not support jumbo frames.
-rw-r--r--sys/src/9/pc/ether82563.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/src/9/pc/ether82563.c b/sys/src/9/pc/ether82563.c
index ae1b9a45e..a39d880ee 100644
--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -428,6 +428,7 @@ enum {
i82566,
i82567,
i82567m,
+ i82567v,
i82571,
i82572,
i82573,
@@ -467,6 +468,7 @@ static Ctlrtype cttab[Nctlrtype] = {
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,13 +1891,14 @@ didtype(int d)
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 */
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 @@ i82566pnp(Ether *e)
static int
i82567pnp(Ether *e)
{
- return pnp(e, i82567m) & pnp(e, i82567);
+ return pnp(e, i82567v) & pnp(e, i82567m) & pnp(e, i82567);
}
static int