Module Name: src Committed By: dyoung Date: Tue Mar 23 21:18:23 UTC 2010
Modified Files: src/sys/arch/i386/mca: mca_machdep.c Log Message: dmaiot is supposed to be a bus_space_tag_t, not a bus_space_handle_t. Make it so. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/i386/mca/mca_machdep.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/i386/mca/mca_machdep.c diff -u src/sys/arch/i386/mca/mca_machdep.c:1.38 src/sys/arch/i386/mca/mca_machdep.c:1.39 --- src/sys/arch/i386/mca/mca_machdep.c:1.38 Mon May 4 12:19:30 2009 +++ src/sys/arch/i386/mca/mca_machdep.c Tue Mar 23 21:18:23 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: mca_machdep.c,v 1.38 2009/05/04 12:19:30 cegger Exp $ */ +/* $NetBSD: mca_machdep.c,v 1.39 2010/03/23 21:18:23 dyoung Exp $ */ /*- * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mca_machdep.c,v 1.38 2009/05/04 12:19:30 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mca_machdep.c,v 1.39 2010/03/23 21:18:23 dyoung Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -129,7 +129,8 @@ /* Used to kick MCA DMA controller */ #define DMA_CMD 0x18 /* command the controller */ #define DMA_EXEC 0x1A /* tell controller how to do things */ -static bus_space_handle_t dmaiot, dmacmdh, dmaexech; +static bus_space_handle_t dmacmdh, dmaexech; +static bus_space_tag_t dmaiot; /* * MCA DMA controller commands. The exact sense of individual bits