Module Name: src
Committed By: bouyer
Date: Tue Mar 24 21:13:07 UTC 2009
Modified Files:
src/sys/arch/macppc/include [netbsd-4]: bus.h
Log Message:
Apply patch, requested by martin in ticket #1283:
src/sys/arch/macppc/include/bus.h patch
Provide dummy bus_space_alloc() and bus_space_free(), some driver needs it.
To generate a diff of this commit:
cvs rdiff -u -r1.21.18.1 -r1.21.18.2 src/sys/arch/macppc/include/bus.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/macppc/include/bus.h
diff -u src/sys/arch/macppc/include/bus.h:1.21.18.1 src/sys/arch/macppc/include/bus.h:1.21.18.2
--- src/sys/arch/macppc/include/bus.h:1.21.18.1 Thu Mar 8 18:59:18 2007
+++ src/sys/arch/macppc/include/bus.h Tue Mar 24 21:13:07 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.21.18.1 2007/03/08 18:59:18 bouyer Exp $ */
+/* $NetBSD: bus.h,v 1.21.18.2 2009/03/24 21:13:07 bouyer Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -197,9 +197,7 @@
* Allocate a region of bus space.
*/
-#if 0
-#define bus_space_alloc(t, rs, re, s, a, b, f, ap, hp) !!! unimplemented !!!
-#endif
+#define bus_space_alloc(t, rs, re, s, a, b, f, ap, hp) /* !!! unimplemented !!! */
/*
* int bus_space_free __P((bus_space_tag_t t,
@@ -207,9 +205,7 @@
*
* Free a region of bus space.
*/
-#if 0
-#define bus_space_free(t, h, s) !!! unimplemented !!!
-#endif
+#define bus_space_free(t, h, s) /* !!! unimplemented !!! */
/*
* u_intN_t bus_space_read_N __P((bus_space_tag_t tag,