Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/arch/alpha/jensenio Pullup rev. 1.2:



details:   https://anonhg.NetBSD.org/src/rev/60db4b170454
branches:  netbsd-1-5
changeset: 489106:60db4b170454
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Aug 14 02:25:08 2000 +0000

description:
Pullup rev. 1.2:
Add support for EISA configuration space on the Jensen (it's
mapped differently than on other EISA sysetms).

diffstat:

 sys/arch/alpha/jensenio/jensenio.c |  16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r 5cbe8d15d7a4 -r 60db4b170454 sys/arch/alpha/jensenio/jensenio.c
--- a/sys/arch/alpha/jensenio/jensenio.c        Sun Aug 13 22:38:39 2000 +0000
+++ b/sys/arch/alpha/jensenio/jensenio.c        Mon Aug 14 02:25:08 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jensenio.c,v 1.1.2.2 2000/07/12 20:59:11 thorpej Exp $ */
+/* $NetBSD: jensenio.c,v 1.1.2.3 2000/08/14 02:25:08 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: jensenio.c,v 1.1.2.2 2000/07/12 20:59:11 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: jensenio.c,v 1.1.2.3 2000/08/14 02:25:08 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -66,6 +66,8 @@
 #include <alpha/jensenio/jensenioreg.h>
 #include <alpha/jensenio/jenseniovar.h>
 
+#include "eisa.h"
+
 /*
  * The devices built-in to the VLSI VL82C106 junk I/O chip.
  */
@@ -261,7 +263,15 @@
     struct eisabus_attach_args *eba)
 {
 
-       /* Nothing to do. */
+#if NEISA > 0
+       /*
+        * Jensen's EISA config info is sparse, and is mapped at a
+        * different location that on other EISA systems.
+        */
+       eisa_config_stride = 0x200;
+       eisa_config_addr = JENSEN_FEPROM1;
+       eisa_init();
+#endif
 }
 
 int



Home | Main Index | Thread Index | Old Index