Adapt for wdcattach() prototype change.

This commit is contained in:
bouyer 2003-10-08 11:01:16 +00:00
parent adb3f1c3c5
commit 923e187eb7
4 changed files with 14 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdc_pioc.c,v 1.9 2003/09/25 19:29:48 mycroft Exp $ */
/* $NetBSD: wdc_pioc.c,v 1.10 2003/10/08 11:01:16 bouyer Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wdc_pioc.c,v 1.9 2003/09/25 19:29:48 mycroft Exp $");
__KERNEL_RCSID(0, "$NetBSD: wdc_pioc.c,v 1.10 2003/10/08 11:01:16 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -168,7 +168,7 @@ wdc_pioc_attach(parent, self, aux)
return;
}
wdcattach(&sc->sc_wdcdev);
wdcattach(&sc->wdc_channel);
}
/* End of wdc_pioc.c */

View File

@ -1,4 +1,4 @@
/* $NetBSD: icside.c,v 1.13 2003/09/25 19:29:48 mycroft Exp $ */
/* $NetBSD: icside.c,v 1.14 2003/10/08 11:01:16 bouyer Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@ -42,7 +42,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: icside.c,v 1.13 2003/09/25 19:29:48 mycroft Exp $");
__KERNEL_RCSID(0, "$NetBSD: icside.c,v 1.14 2003/10/08 11:01:16 bouyer Exp $");
#include <sys/systm.h>
#include <sys/conf.h>
@ -304,8 +304,10 @@ icside_attach(struct device *parent, struct device *self, void *aux)
}
/* Enable interrupts */
bus_space_write_1(iot, icp->ic_irqioh, 0, 0);
/* Call common attach routines */
wdcattach(self);
}
wdcattach(&sc->sc_wdcdev);
}
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: rapide.c,v 1.12 2003/09/25 19:29:48 mycroft Exp $ */
/* $NetBSD: rapide.c,v 1.13 2003/10/08 11:01:16 bouyer Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rapide.c,v 1.12 2003/09/25 19:29:48 mycroft Exp $");
__KERNEL_RCSID(0, "$NetBSD: rapide.c,v 1.13 2003/10/08 11:01:16 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -304,8 +304,8 @@ rapide_attach(parent, self, aux)
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(self);
}
wdcattach(&sc->sc_wdcdev);
}
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: simide.c,v 1.11 2003/09/25 19:29:48 mycroft Exp $ */
/* $NetBSD: simide.c,v 1.12 2003/10/08 11:01:16 bouyer Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: simide.c,v 1.11 2003/09/25 19:29:48 mycroft Exp $");
__KERNEL_RCSID(0, "$NetBSD: simide.c,v 1.12 2003/10/08 11:01:16 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -292,8 +292,8 @@ simide_attach(parent, self, aux)
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(self);
}
wdcattach(&sc->sc_wdcdev);
}
/*