Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa build fix: isa_detach_hook() needs isa_chipset_t...



details:   https://anonhg.NetBSD.org/src/rev/0b0cc198f835
branches:  trunk
changeset: 746777:0b0cc198f835
user:      cegger <cegger%NetBSD.org@localhost>
date:      Wed Aug 19 16:23:28 2009 +0000

description:
build fix: isa_detach_hook() needs isa_chipset_tag_t as first argument.

diffstat:

 sys/dev/isa/isa.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2a18f96c2da7 -r 0b0cc198f835 sys/dev/isa/isa.c
--- a/sys/dev/isa/isa.c Wed Aug 19 15:43:02 2009 +0000
+++ b/sys/dev/isa/isa.c Wed Aug 19 16:23:28 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isa.c,v 1.136 2009/08/18 16:52:42 dyoung Exp $ */
+/*     $NetBSD: isa.c,v 1.137 2009/08/19 16:23:28 cegger Exp $ */
 
 /*-
  * Copyright (c) 1998, 2001, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa.c,v 1.136 2009/08/18 16:52:42 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa.c,v 1.137 2009/08/19 16:23:28 cegger Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -154,7 +154,7 @@
 #if NISADMA > 0
        isa_dmadestroy(sc->sc_ic);
 #endif
-       isa_detach_hook(self);
+       isa_detach_hook(sc->sc_ic, self);
 
        return 0;
 }



Home | Main Index | Thread Index | Old Index