Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci - 82583 supports jumbo frame. Fixes PR#52773 rep...



details:   https://anonhg.NetBSD.org/src/rev/893b641e8940
branches:  trunk
changeset: 828155:893b641e8940
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Nov 30 09:24:18 2017 +0000

description:
- 82583 supports jumbo frame. Fixes PR#52773 reported by Shinichi Doyashiki.
- Cleanup comment.

diffstat:

 sys/dev/pci/if_wm.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 9d8efe46e870 -r 893b641e8940 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Thu Nov 30 08:14:03 2017 +0000
+++ b/sys/dev/pci/if_wm.c       Thu Nov 30 09:24:18 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.545 2017/11/30 03:53:24 msaitoh Exp $      */
+/*     $NetBSD: if_wm.c,v 1.546 2017/11/30 09:24:18 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -83,7 +83,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.545 2017/11/30 03:53:24 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.546 2017/11/30 09:24:18 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -2676,11 +2676,12 @@
        case WM_T_82571:
        case WM_T_82572:
        case WM_T_82574:
+       case WM_T_82583:
        case WM_T_82575:
        case WM_T_82576:
        case WM_T_82580:
        case WM_T_I350:
-       case WM_T_I354: /* XXXX ok? */
+       case WM_T_I354:
        case WM_T_I210:
        case WM_T_I211:
        case WM_T_80003:
@@ -2698,7 +2699,6 @@
                break;
        case WM_T_82542_2_0:
        case WM_T_82542_2_1:
-       case WM_T_82583:
        case WM_T_ICH8:
                /* No support for jumbo frame */
                break;



Home | Main Index | Thread Index | Old Index