Module Name: src
Committed By: cegger
Date: Wed Aug 19 16:23:28 UTC 2009
Modified Files:
src/sys/dev/isa: isa.c
Log Message:
build fix: isa_detach_hook() needs isa_chipset_tag_t as first argument.
To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/dev/isa/isa.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/isa/isa.c
diff -u src/sys/dev/isa/isa.c:1.136 src/sys/dev/isa/isa.c:1.137
--- src/sys/dev/isa/isa.c:1.136 Tue Aug 18 16:52:42 2009
+++ src/sys/dev/isa/isa.c Wed Aug 19 16:23:28 2009
@@ -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;
}