Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Fix build failure for options NET_MPSAFE.



details:   https://anonhg.NetBSD.org/src/rev/e731c09de1dc
branches:  trunk
changeset: 959970:e731c09de1dc
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Tue Mar 02 07:55:16 2021 +0000

description:
Fix build failure for options NET_MPSAFE.

diffstat:

 sys/dev/pci/if_rge.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2cc4f6e6f921 -r e731c09de1dc sys/dev/pci/if_rge.c
--- a/sys/dev/pci/if_rge.c      Tue Mar 02 07:44:08 2021 +0000
+++ b/sys/dev/pci/if_rge.c      Tue Mar 02 07:55:16 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_rge.c,v 1.17 2021/03/01 17:48:52 jakllsch Exp $     */
+/*     $NetBSD: if_rge.c,v 1.18 2021/03/02 07:55:16 knakahara Exp $    */
 /*     $OpenBSD: if_rge.c,v 1.9 2020/12/12 11:48:53 jan Exp $  */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.17 2021/03/01 17:48:52 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.18 2021/03/02 07:55:16 knakahara Exp $");
 
 #include <sys/types.h>
 
@@ -324,7 +324,7 @@
        strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ);
        ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
 #ifdef RGE_MPSAFE
-       ifp->if_xflags = IFEF_MPSAFE;
+       ifp->if_extflags = IFEF_MPSAFE;
 #endif
        ifp->if_ioctl = rge_ioctl;
        ifp->if_stop = rge_stop;



Home | Main Index | Thread Index | Old Index