Module Name: src
Committed By: knakahara
Date: Tue Mar 2 07:55:16 UTC 2021
Modified Files:
src/sys/dev/pci: if_rge.c
Log Message:
Fix build failure for options NET_MPSAFE.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/if_rge.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.17 src/sys/dev/pci/if_rge.c:1.18
--- src/sys/dev/pci/if_rge.c:1.17 Mon Mar 1 17:48:52 2021
+++ src/sys/dev/pci/if_rge.c Tue Mar 2 07:55:16 2021
@@ -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 @@ rge_attach(device_t parent, device_t sel
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;