Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/acorn32/podulebus Adapt to new wdcattach calling co...
details: https://anonhg.NetBSD.org/src/rev/1a1a37269f69
branches: trunk
changeset: 552198:1a1a37269f69
user: matt <matt%NetBSD.org@localhost>
date: Sun Sep 21 15:11:04 2003 +0000
description:
Adapt to new wdcattach calling conventions.
diffstat:
sys/arch/acorn32/podulebus/icside.c | 6 +++---
sys/arch/acorn32/podulebus/rapide.c | 6 +++---
sys/arch/acorn32/podulebus/simide.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r 17753693eaf4 -r 1a1a37269f69 sys/arch/acorn32/podulebus/icside.c
--- a/sys/arch/acorn32/podulebus/icside.c Sun Sep 21 15:10:05 2003 +0000
+++ b/sys/arch/acorn32/podulebus/icside.c Sun Sep 21 15:11:04 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: icside.c,v 1.10 2002/10/02 03:31:59 thorpej Exp $ */
+/* $NetBSD: icside.c,v 1.11 2003/09/21 15:11:04 matt Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@@ -42,7 +42,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: icside.c,v 1.10 2002/10/02 03:31:59 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icside.c,v 1.11 2003/09/21 15:11:04 matt Exp $");
#include <sys/systm.h>
#include <sys/conf.h>
@@ -289,7 +289,7 @@
/* Disable interrupts */
(void)bus_space_read_1(iot, icp->ic_irqioh, 0);
/* Call common attach routines */
- wdcattach(cp);
+ wdcattach(self);
/* Disable interrupts */
(void)bus_space_read_1(iot, icp->ic_irqioh, 0);
pa->pa_podule->irq_addr = iobase + ide->irqstatregs[channel];
diff -r 17753693eaf4 -r 1a1a37269f69 sys/arch/acorn32/podulebus/rapide.c
--- a/sys/arch/acorn32/podulebus/rapide.c Sun Sep 21 15:10:05 2003 +0000
+++ b/sys/arch/acorn32/podulebus/rapide.c Sun Sep 21 15:11:04 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rapide.c,v 1.9 2003/07/14 22:48:26 lukem Exp $ */
+/* $NetBSD: rapide.c,v 1.10 2003/09/21 15:11:04 matt Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rapide.c,v 1.9 2003/07/14 22:48:26 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rapide.c,v 1.10 2003/09/21 15:11:04 matt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -289,7 +289,7 @@
bus_space_write_1(iot, sc->sc_ctlioh, IRQ_MASK_REGISTER_OFFSET,
sc->sc_intr_enable_mask);
/* XXX - Issue 1 cards will need to clear any pending interrupts */
- wdcattach(cp);
+ wdcattach(self);
ihp = &rcp->rc_ih;
ihp->ih_func = rapide_intr;
ihp->ih_arg = rcp;
diff -r 17753693eaf4 -r 1a1a37269f69 sys/arch/acorn32/podulebus/simide.c
--- a/sys/arch/acorn32/podulebus/simide.c Sun Sep 21 15:10:05 2003 +0000
+++ b/sys/arch/acorn32/podulebus/simide.c Sun Sep 21 15:11:04 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: simide.c,v 1.8 2003/07/14 22:48:27 lukem Exp $ */
+/* $NetBSD: simide.c,v 1.9 2003/09/21 15:11:04 matt Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: simide.c,v 1.8 2003/07/14 22:48:27 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: simide.c,v 1.9 2003/09/21 15:11:04 matt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -278,7 +278,7 @@
sc->sc_ctl_reg &= ~scp->sc_irqmask;
bus_space_write_1(sc->sc_ctliot, sc->sc_ctlioh,
CONTROL_REGISTER_OFFSET, sc->sc_ctl_reg);
- wdcattach(cp);
+ wdcattach(self);
ihp = &scp->sc_ih;
ihp->ih_func = simide_intr;
ihp->ih_arg = scp;
Home |
Main Index |
Thread Index |
Old Index