isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.

This commit is contained in:
dyoung 2009-08-19 15:04:27 +00:00
parent fc51180b89
commit a1ac1a18e2
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa_machdep.h,v 1.9 2009/08/18 17:02:00 dyoung Exp $ */
/* $NetBSD: isa_machdep.h,v 1.10 2009/08/19 15:04:27 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -100,7 +100,7 @@ struct isabus_attach_args; /* XXX */
*/
void isa_attach_hook(device_t, device_t,
struct isabus_attach_args *);
void isa_detach_hook(device_t);
void isa_detach_hook(isa_chipset_tag_t, device_t);
int isa_intr_alloc(isa_chipset_tag_t, int, int, int *);
const struct evcnt *isa_intr_evcnt(isa_chipset_tag_t ic, int irq);
void *isa_intr_establish(isa_chipset_tag_t ic, int irq, int type,

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa_machdep.c,v 1.27 2009/08/18 17:02:00 dyoung Exp $ */
/* $NetBSD: isa_machdep.c,v 1.28 2009/08/19 15:04:27 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.27 2009/08/18 17:02:00 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.28 2009/08/19 15:04:27 dyoung Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -291,7 +291,7 @@ isa_attach_hook(device_t parent, device_t self,
}
void
isa_detach_hook(device_t self)
isa_detach_hook(isa_chipset_tag_t ic, device_t self)
{
extern int isa_has_been_seen;

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa_machdep.c,v 1.21 2009/08/18 17:02:01 dyoung Exp $ */
/* $NetBSD: isa_machdep.c,v 1.22 2009/08/19 15:05:01 dyoung Exp $ */
/* NetBSD isa_machdep.c,v 1.11 2004/06/20 18:04:08 thorpej Exp */
/*-
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.21 2009/08/18 17:02:01 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.22 2009/08/19 15:05:01 dyoung Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -221,7 +221,7 @@ isa_attach_hook(device_t parent, device_t self, struct isabus_attach_args *iba)
/* XXX share with x86 */
void
isa_detach_hook(device_t self)
isa_detach_hook(isa_chipset_tag_t ic, device_t self)
{
extern int isa_has_been_seen;