Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/mipssim Catch up with member renaming



details:   https://anonhg.NetBSD.org/src/rev/bf3688d94ce8
branches:  trunk
changeset: 1024765:bf3688d94ce8
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Nov 03 07:53:56 2021 +0000

description:
Catch up with member renaming

diffstat:

 sys/arch/evbmips/mipssim/virtio_mainbus.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 380b39da05c2 -r bf3688d94ce8 sys/arch/evbmips/mipssim/virtio_mainbus.c
--- a/sys/arch/evbmips/mipssim/virtio_mainbus.c Wed Nov 03 04:52:51 2021 +0000
+++ b/sys/arch/evbmips/mipssim/virtio_mainbus.c Wed Nov 03 07:53:56 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: virtio_mainbus.c,v 1.3 2021/08/07 16:18:51 thorpej Exp $ */
+/* $NetBSD: virtio_mainbus.c,v 1.4 2021/11/03 07:53:56 skrll Exp $ */
 
 /*
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: virtio_mainbus.c,v 1.3 2021/08/07 16:18:51 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: virtio_mainbus.c,v 1.4 2021/11/03 07:53:56 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -48,7 +48,7 @@
 static int     virtio_mainbus_rescan(device_t, const char *, const int *);
 static int     virtio_mainbus_detach(device_t, int);
 
-static int     virtio_mainbus_setup_interrupts(struct virtio_mmio_softc *);
+static int     virtio_mainbus_alloc_interrupts(struct virtio_mmio_softc *);
 static void    virtio_mainbus_free_interrupts(struct virtio_mmio_softc *);
 
 struct virtio_mainbus_softc {
@@ -100,7 +100,7 @@
        msc->sc_iot = ma->ma_iot;
        msc->sc_ioh = ioh;
        msc->sc_iosize = VIRTIO_STRIDE;
-       msc->sc_setup_interrupts = virtio_mainbus_setup_interrupts;
+       msc->sc_alloc_interrupts = virtio_mainbus_alloc_interrupts;
        msc->sc_free_interrupts  = virtio_mainbus_free_interrupts;
 
        vsc->sc_dev = self;
@@ -146,7 +146,7 @@
 
 
 static int
-virtio_mainbus_setup_interrupts(struct virtio_mmio_softc *msc)
+virtio_mainbus_alloc_interrupts(struct virtio_mmio_softc *msc)
 {
        struct virtio_mainbus_softc *sc = (struct virtio_mainbus_softc *) msc;
        struct virtio_softc * const vsc = &msc->sc_sc;



Home | Main Index | Thread Index | Old Index