summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc64
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-09-08 10:22:08 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-09-08 10:22:08 +0000
commitfae7b82c435ab26e6a5ae158943c81f3fb25a86a (patch)
tree6c7257f491c1be38c4a0dc409fb14d959d1a712b /sys/arch/powerpc64
parent8250e2cc1a067efb0f8df6265fbb03eefb97f05f (diff)
Rename global ifnet TAILQ
Naming the list like the struct itself makes for awful grepping. Call the global variable "ifnetlist" from now on. There used to be kvm(3) consumers in base picking up this symbol, but those have long been converted to other interfaces. A few potential ports users remain, same deal as sys/net/if_var.h r1.116 "Remove struct ifnet's unused if_switchport member": they get bumped. Previous users pointed out by deraadt OK bluhm
Diffstat (limited to 'sys/arch/powerpc64')
-rw-r--r--sys/arch/powerpc64/powerpc64/autoconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/powerpc64/autoconf.c b/sys/arch/powerpc64/powerpc64/autoconf.c
index e6250ef365c..482087a8e66 100644
--- a/sys/arch/powerpc64/powerpc64/autoconf.c
+++ b/sys/arch/powerpc64/powerpc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.8 2022/09/02 20:06:56 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.9 2022/09/08 10:22:06 kn Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
@@ -54,7 +54,7 @@ diskconf(void)
if (bootmac) {
struct ifnet *ifp;
- TAILQ_FOREACH(ifp, &ifnet, if_list) {
+ TAILQ_FOREACH(ifp, &ifnetlist, if_list) {
if (ifp->if_type == IFT_ETHER &&
memcmp(bootmac, ((struct arpcom *)ifp)->ac_enaddr,
ETHER_ADDR_LEN) == 0)