Module Name: src Committed By: christos Date: Tue Sep 20 18:11:51 UTC 2011
Modified Files: src/sys/arch/amiga/dev: zbus.c Log Message: try to make this compile again. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/arch/amiga/dev/zbus.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/arch/amiga/dev/zbus.c diff -u src/sys/arch/amiga/dev/zbus.c:1.65 src/sys/arch/amiga/dev/zbus.c:1.66 --- src/sys/arch/amiga/dev/zbus.c:1.65 Sat Sep 17 12:55:34 2011 +++ src/sys/arch/amiga/dev/zbus.c Tue Sep 20 14:11:51 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: zbus.c,v 1.65 2011/09/17 16:55:34 rkujawa Exp $ */ +/* $NetBSD: zbus.c,v 1.66 2011/09/20 18:11:51 christos Exp $ */ /* * Copyright (c) 1994 Christian E. Hopps @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: zbus.c,v 1.65 2011/09/17 16:55:34 rkujawa Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zbus.c,v 1.66 2011/09/20 18:11:51 christos Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -239,6 +239,7 @@ int zbusprint(void *, const char *); int zbusmatch(device_t, cfdata_t, void *); static const char *aconflookup(int, int); +static void *zbusmap(void *, u_int); /* * given a manufacturer id and product id, find quirks @@ -387,7 +388,7 @@ * Zorro devices) to have enough kva-space available, so there is no extra * range check done here. */ -void * +static void * zbusmap(void *pa, u_int size) { #if defined(__m68k__)