Module Name: src Committed By: martin Date: Thu Jun 27 19:33:11 UTC 2024
Modified Files: src/sys/dev/pci/igc [netbsd-10]: if_igc.h Log Message: Pull up following revision(s) (requested by rin in ticket #729): sys/dev/pci/igc/if_igc.h: revision 1.3 igc: Use __HAVE_ATOMIC64_LOADSTORE instead of __HAVE_ATOMIC64_OPS to detect atomic_loadstore(9) is applicable to 64-bit integers. Thanks riastradh@ for explanation in PR kern/58340 To generate a diff of this commit: cvs rdiff -u -r1.2.2.2 -r1.2.2.3 src/sys/dev/pci/igc/if_igc.h 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/igc/if_igc.h diff -u src/sys/dev/pci/igc/if_igc.h:1.2.2.2 src/sys/dev/pci/igc/if_igc.h:1.2.2.3 --- src/sys/dev/pci/igc/if_igc.h:1.2.2.2 Sun Oct 8 13:19:34 2023 +++ src/sys/dev/pci/igc/if_igc.h Thu Jun 27 19:33:11 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: if_igc.h,v 1.2.2.2 2023/10/08 13:19:34 martin Exp $ */ +/* $NetBSD: if_igc.h,v 1.2.2.3 2024/06/27 19:33:11 martin Exp $ */ /* $OpenBSD: if_igc.h,v 1.2 2022/01/09 05:42:50 jsg Exp $ */ /*- * SPDX-License-Identifier: BSD-2-Clause @@ -39,13 +39,14 @@ #endif #include <sys/types.h> +#include <sys/atomic.h> #include <sys/pcq.h> #include <sys/workqueue.h> #include <dev/pci/igc/igc_api.h> #include <dev/pci/igc/igc_i225.h> -#ifdef __HAVE_ATOMIC64_OPS +#ifdef __HAVE_ATOMIC64_LOADSTORE #define IGC_EVENT_COUNTERS #endif