Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/vr Avoid possible future device_t/softc con...
details: https://anonhg.NetBSD.org/src/rev/1b7b967bbcb1
branches: trunk
changeset: 763290:1b7b967bbcb1
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Mar 16 13:24:42 2011 +0000
description:
Avoid possible future device_t/softc confusion.
diffstat:
sys/arch/hpcmips/vr/vrip.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r 6c5abdfbb6f5 -r 1b7b967bbcb1 sys/arch/hpcmips/vr/vrip.c
--- a/sys/arch/hpcmips/vr/vrip.c Wed Mar 16 13:23:41 2011 +0000
+++ b/sys/arch/hpcmips/vr/vrip.c Wed Mar 16 13:24:42 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vrip.c,v 1.34 2009/03/18 10:22:29 cegger Exp $ */
+/* $NetBSD: vrip.c,v 1.35 2011/03/16 13:24:42 tsutsui Exp $ */
/*-
* Copyright (c) 1999, 2002
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vrip.c,v 1.34 2009/03/18 10:22:29 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vrip.c,v 1.35 2011/03/16 13:24:42 tsutsui Exp $");
#include "opt_vr41xx.h"
#include "opt_tx39xx.h"
@@ -238,7 +238,7 @@
/*
* Level 1 interrupts are redirected to HwInt0
*/
- vr_intr_establish(VR_INTR0, vrip_intr, self);
+ vr_intr_establish(VR_INTR0, vrip_intr, sc);
the_vrip_sc = sc;
/*
* Attach each devices
@@ -491,9 +491,9 @@
}
int
-vrip_intr(void *arg, u_int32_t pc, u_int32_t statusReg)
+vrip_intr(void *arg, u_int32_t pc, u_int32_t status)
{
- struct vrip_softc *sc = (struct vrip_softc*)arg;
+ struct vrip_softc *sc = (struct vrip_softc *)arg;
bus_space_tag_t iot = sc->sc_iot;
bus_space_handle_t ioh = sc->sc_ioh;
int i;
Home |
Main Index |
Thread Index |
Old Index