Update for new attach method.
This commit is contained in:
parent
516d857707
commit
3d7395ab71
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fdc_sableio.c,v 1.4 2002/10/02 04:06:39 thorpej Exp $ */
|
||||
/* $NetBSD: fdc_sableio.c,v 1.5 2003/09/25 01:12:43 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: fdc_sableio.c,v 1.4 2002/10/02 04:06:39 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: fdc_sableio.c,v 1.5 2003/09/25 01:12:43 mycroft Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -133,5 +133,5 @@ fdc_sableio_attach(struct device *parent, struct device *self, void *aux)
|
||||
}
|
||||
printf("%s: interrupting at %s\n", fdc->sc_dev.dv_xname, intrstr);
|
||||
|
||||
fdcattach(fdc);
|
||||
config_interrupts(self, fdcattach);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fdcisa.c,v 1.6 2003/08/07 16:27:06 agc Exp $ */
|
||||
/* $NetBSD: fdcisa.c,v 1.7 2003/09/25 01:12:43 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: fdcisa.c,v 1.6 2003/08/07 16:27:06 agc Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: fdcisa.c,v 1.7 2003/09/25 01:12:43 mycroft Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -224,5 +224,5 @@ void *aux;
|
||||
fdc->sc_ih = isa_intr_establish(ia->ia_ic, ia->ia_irq[0].ir_irq,
|
||||
IST_EDGE, IPL_BIO, fdcintr, fdc);
|
||||
|
||||
fdcattach(fdc);
|
||||
config_interrupts(self, fdcattach);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fdc_pnpbios.c,v 1.6 2002/10/02 05:47:16 thorpej Exp $ */
|
||||
/* $NetBSD: fdc_pnpbios.c,v 1.7 2003/09/25 01:12:43 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
@ -41,7 +41,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: fdc_pnpbios.c,v 1.6 2002/10/02 05:47:16 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: fdc_pnpbios.c,v 1.7 2003/09/25 01:12:43 mycroft Exp $");
|
||||
|
||||
#include "rnd.h"
|
||||
|
||||
@ -183,5 +183,5 @@ fdc_pnpbios_attach(struct device *parent,
|
||||
fdc->sc_ih = pnpbios_intr_establish(aa->pbt, aa->resc, 0, IPL_BIO,
|
||||
fdcintr, fdc);
|
||||
|
||||
fdcattach(fdc);
|
||||
config_interrupts(self, fdcattach);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fdc_acpi.c,v 1.10 2003/08/15 17:22:23 kochi Exp $ */
|
||||
/* $NetBSD: fdc_acpi.c,v 1.11 2003/09/25 01:12:43 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002 Jared D. McNeill <jmcneill@invisible.ca>
|
||||
@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: fdc_acpi.c,v 1.10 2003/08/15 17:22:23 kochi Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: fdc_acpi.c,v 1.11 2003/09/25 01:12:43 mycroft Exp $");
|
||||
|
||||
#include "rnd.h"
|
||||
|
||||
@ -234,7 +234,7 @@ fdc_acpi_attach(struct device *parent, struct device *self, void *aux)
|
||||
#endif
|
||||
}
|
||||
|
||||
fdcattach(sc);
|
||||
config_interrupts(self, fdcattach);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user