From 93a20f3912187701d97f7f0e3de80b8d8ce762ff Mon Sep 17 00:00:00 2001 From: dlg Date: Fri, 7 Apr 2023 09:33:51 +0000 Subject: [PATCH] register a mapping of dwqe interfaces to ofw nodes/phandles. i forgot to commit this as part of src/sys/dev/fdt/if_dwqe_fdt.c r1.7 found by mglocker@ --- sys/dev/ic/dwqevar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/ic/dwqevar.h b/sys/dev/ic/dwqevar.h index 060f61d2ac4..12c10cba686 100644 --- a/sys/dev/ic/dwqevar.h +++ b/sys/dev/ic/dwqevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dwqevar.h,v 1.3 2023/04/07 08:53:03 kettenis Exp $ */ +/* $OpenBSD: dwqevar.h,v 1.4 2023/04/07 09:33:51 dlg Exp $ */ /* * Copyright (c) 2008, 2019 Mark Kettenis * Copyright (c) 2017, 2022 Patrick Wildt @@ -53,6 +53,8 @@ struct dwqe_softc { bus_dma_tag_t sc_dmat; void *sc_ih; + struct if_device sc_ifd; + struct arpcom sc_ac; #define sc_lladdr sc_ac.ac_enaddr struct mii_data sc_mii; -- 2.20.1