Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch isa_detach_hook() needs two arguments, the first an...



details:   https://anonhg.NetBSD.org/src/rev/5b8ee735e1c6
branches:  trunk
changeset: 746765:5b8ee735e1c6
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Aug 19 15:04:27 2009 +0000

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

diffstat:

 sys/arch/x86/include/isa_machdep.h |  4 ++--
 sys/arch/x86/isa/isa_machdep.c     |  6 +++---
 sys/arch/xen/xen/isa_machdep.c     |  6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r d3e6e9a27e20 -r 5b8ee735e1c6 sys/arch/x86/include/isa_machdep.h
--- a/sys/arch/x86/include/isa_machdep.h        Wed Aug 19 15:02:47 2009 +0000
+++ b/sys/arch/x86/include/isa_machdep.h        Wed Aug 19 15:04:27 2009 +0000
@@ -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 @@
  */
 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,
diff -r d3e6e9a27e20 -r 5b8ee735e1c6 sys/arch/x86/isa/isa_machdep.c
--- a/sys/arch/x86/isa/isa_machdep.c    Wed Aug 19 15:02:47 2009 +0000
+++ b/sys/arch/x86/isa/isa_machdep.c    Wed Aug 19 15:04:27 2009 +0000
@@ -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 @@
 }
 
 void
-isa_detach_hook(device_t self)
+isa_detach_hook(isa_chipset_tag_t ic, device_t self)
 {
        extern int isa_has_been_seen;
 
diff -r d3e6e9a27e20 -r 5b8ee735e1c6 sys/arch/xen/xen/isa_machdep.c
--- a/sys/arch/xen/xen/isa_machdep.c    Wed Aug 19 15:02:47 2009 +0000
+++ b/sys/arch/xen/xen/isa_machdep.c    Wed Aug 19 15:04:27 2009 +0000
@@ -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 @@
 
 /* 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;
 



Home | Main Index | Thread Index | Old Index