Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/mca dmaiot is supposed to be a bus_space_tag_t...
details: https://anonhg.NetBSD.org/src/rev/b2c78f34a97d
branches: trunk
changeset: 753357:b2c78f34a97d
user: dyoung <dyoung%NetBSD.org@localhost>
date: Tue Mar 23 21:18:23 2010 +0000
description:
dmaiot is supposed to be a bus_space_tag_t, not a bus_space_handle_t.
Make it so.
diffstat:
sys/arch/i386/mca/mca_machdep.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 04707c31d9a6 -r b2c78f34a97d sys/arch/i386/mca/mca_machdep.c
--- a/sys/arch/i386/mca/mca_machdep.c Tue Mar 23 20:35:44 2010 +0000
+++ b/sys/arch/i386/mca/mca_machdep.c Tue Mar 23 21:18:23 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index