Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/tc Fix DEC3000/300 TC slot numbering. There ...
details: https://anonhg.NetBSD.org/src/rev/b144ff0e6288
branches: trunk
changeset: 483611:b144ff0e6288
user: nisimura <nisimura%NetBSD.org@localhost>
date: Tue Mar 14 05:53:33 2000 +0000
description:
Fix DEC3000/300 TC slot numbering. There is an address space hole
between two TC option cards and 3 builtin TC devices. Was uncovered by
mrg's change made at Nov 1999 and pointed by tsutsui.
diffstat:
sys/arch/alpha/tc/tc_3000_300.c | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diffs (44 lines):
diff -r 53c0edf220ae -r b144ff0e6288 sys/arch/alpha/tc/tc_3000_300.c
--- a/sys/arch/alpha/tc/tc_3000_300.c Tue Mar 14 05:34:04 2000 +0000
+++ b/sys/arch/alpha/tc/tc_3000_300.c Tue Mar 14 05:53:33 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tc_3000_300.c,v 1.21 2000/02/03 08:13:45 nisimura Exp $ */
+/* $NetBSD: tc_3000_300.c,v 1.22 2000/03/14 05:53:33 nisimura Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: tc_3000_300.c,v 1.21 2000/02/03 08:13:45 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tc_3000_300.c,v 1.22 2000/03/14 05:53:33 nisimura Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -69,17 +69,19 @@
struct tc_slotdesc tc_3000_300_slots[] = {
{ KV(0x100000000), C(TC_3000_300_DEV_OPT0), }, /* 0 - opt slot 0 */
{ KV(0x120000000), C(TC_3000_300_DEV_OPT1), }, /* 1 - opt slot 1 */
- { KV(0x180000000), C(TC_3000_300_DEV_BOGUS), }, /* 2 - TCDS ASIC */
- { KV(0x1a0000000), C(TC_3000_300_DEV_BOGUS), }, /* 3 - IOCTL ASIC */
- { KV(0x1c0000000), C(TC_3000_300_DEV_CXTURBO), }, /* 4 - CXTurbo */
+ { KV(0x140000000), C(TC_3000_300_DEV_BOGUS), }, /* 2 - unused */
+ { KV(0x160000000), C(TC_3000_300_DEV_BOGUS), }, /* 3 - unused */
+ { KV(0x180000000), C(TC_3000_300_DEV_BOGUS), }, /* 4 - TCDS ASIC */
+ { KV(0x1a0000000), C(TC_3000_300_DEV_BOGUS), }, /* 5 - IOCTL ASIC */
+ { KV(0x1c0000000), C(TC_3000_300_DEV_BOGUS), }, /* 6 - CXTurbo */
};
int tc_3000_300_nslots =
sizeof(tc_3000_300_slots) / sizeof(tc_3000_300_slots[0]);
struct tc_builtin tc_3000_300_builtins[] = {
- { "PMAGB-BA", 4, 0x02000000, C(TC_3000_300_DEV_CXTURBO), },
- { "FLAMG-IO", 3, 0x00000000, C(TC_3000_300_DEV_IOASIC), },
- { "PMAZ-DS ", 2, 0x00000000, C(TC_3000_300_DEV_TCDS), },
+ { "PMAGB-BA", 6, 0x02000000, C(TC_3000_300_DEV_CXTURBO), },
+ { "FLAMG-IO", 5, 0x00000000, C(TC_3000_300_DEV_IOASIC), },
+ { "PMAZ-DS ", 4, 0x00000000, C(TC_3000_300_DEV_TCDS), },
};
int tc_3000_300_nbuiltins =
sizeof(tc_3000_300_builtins) / sizeof(tc_3000_300_builtins[0]);
Home |
Main Index |
Thread Index |
Old Index