Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Use device_t for sc_dev



details:   https://anonhg.NetBSD.org/src/rev/22b0fe788cc9
branches:  trunk
changeset: 1010627:22b0fe788cc9
user:      sevan <sevan%NetBSD.org@localhost>
date:      Sat May 30 22:27:55 2020 +0000

description:
Use device_t for sc_dev

diffstat:

 sys/dev/pci/if_rgereg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r cbf4a98b37f1 -r 22b0fe788cc9 sys/dev/pci/if_rgereg.h
--- a/sys/dev/pci/if_rgereg.h   Sat May 30 22:01:05 2020 +0000
+++ b/sys/dev/pci/if_rgereg.h   Sat May 30 22:27:55 2020 +0000
@@ -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 @@
 #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 */



Home | Main Index | Thread Index | Old Index