From 0940ad8bdc0b27989da9c9919c8d9e83ebe97ce4 Mon Sep 17 00:00:00 2001 From: sevan Date: Sat, 30 May 2020 22:27:55 +0000 Subject: [PATCH] Use device_t for sc_dev --- sys/dev/pci/if_rgereg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/if_rgereg.h b/sys/dev/pci/if_rgereg.h index c0d40cce2760..fbf87c6f9cd5 100644 --- a/sys/dev/pci/if_rgereg.h +++ b/sys/dev/pci/if_rgereg.h @@ -1,4 +1,4 @@ -/* $NetBSD: if_rgereg.h,v 1.3 2020/01/12 23:22:12 sevan Exp $ */ +/* $NetBSD: if_rgereg.h,v 1.4 2020/05/30 22:27:55 sevan Exp $ */ /* $OpenBSD: if_rgereg.h,v 1.1 2019/11/18 03:03:37 kevlo Exp $ */ /* @@ -272,7 +272,7 @@ enum rge_mac_type { #define RGE_RXCFG_CONFIG 0x40c00700 struct rge_softc { - struct device sc_dev; + device_t sc_dev; struct ethercom sc_ec; /* Ethernet common data */ void *sc_ih; /* interrupt vectoring */ bus_space_handle_t rge_bhandle; /* bus space handle */