Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/eisa We map in by MLX_EISA_SLOT_OFFSET, so remember ...
details: https://anonhg.NetBSD.org/src/rev/7d6be9df25c3
branches: trunk
changeset: 509541:7d6be9df25c3
user: ad <ad%NetBSD.org@localhost>
date: Sun May 06 20:34:41 2001 +0000
description:
We map in by MLX_EISA_SLOT_OFFSET, so remember that when accessing the
IOCONF registers. Pointed out by thorpej.
diffstat:
sys/dev/eisa/mlx_eisa.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 608e2ed274bc -r 7d6be9df25c3 sys/dev/eisa/mlx_eisa.c
--- a/sys/dev/eisa/mlx_eisa.c Sun May 06 20:32:20 2001 +0000
+++ b/sys/dev/eisa/mlx_eisa.c Sun May 06 20:34:41 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mlx_eisa.c,v 1.1 2001/05/06 19:55:00 ad Exp $ */
+/* $NetBSD: mlx_eisa.c,v 1.2 2001/05/06 20:34:41 ad Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -57,8 +57,8 @@
#define MLX_EISA_SLOT_OFFSET 0x0c89
#define MLX_EISA_IOSIZE (0x0ce0 - MLX_EISA_SLOT_OFFSET)
-#define MLX_EISA_IOCONF1 0x0cc1
-#define MLX_EISA_IOCONF2 0x0cc3
+#define MLX_EISA_IOCONF1 (0x0cc1 - MLX_EISA_SLOT_OFFSET)
+#define MLX_EISA_IOCONF2 (0x0cc3 - MLX_EISA_SLOT_OFFSET)
static void mlx_eisa_attach(struct device *, struct device *, void *);
static int mlx_eisa_match(struct device *, struct cfdata *, void *);
Home |
Main Index |
Thread Index |
Old Index