Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/uba Must set correct HW unibus number so that d...
details: https://anonhg.NetBSD.org/src/rev/2edc740ddf64
branches: trunk
changeset: 535642:2edc740ddf64
user: ragge <ragge%NetBSD.org@localhost>
date: Sat Aug 24 10:48:10 2002 +0000
description:
Must set correct HW unibus number so that disk autodetection on other
Unibuses than the first work.
diffstat:
sys/arch/vax/uba/uba_cmi.c | 3 ++-
sys/arch/vax/uba/uba_sbi.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 44d57ac7a9de -r 2edc740ddf64 sys/arch/vax/uba/uba_cmi.c
--- a/sys/arch/vax/uba/uba_cmi.c Sat Aug 24 06:39:48 2002 +0000
+++ b/sys/arch/vax/uba/uba_cmi.c Sat Aug 24 10:48:10 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uba_cmi.c,v 1.6 2001/05/13 15:24:18 ragge Exp $ */
+/* $NetBSD: uba_cmi.c,v 1.7 2002/08/24 10:48:10 ragge Exp $ */
/*
* Copyright (c) 1996 Jonathan Stone.
* Copyright (c) 1994, 1996 Ludd, University of Lule}, Sweden.
@@ -113,6 +113,7 @@
sc->uv_sc.uh_iot = &vax_mem_bus_space;
sc->uv_sc.uh_dmat = &sc->uv_dmat;
sc->uv_sc.uh_type = UBA_UBA;
+ sc->uv_sc.uh_nr = sa->sa_type == NEX_UBA1;
/*
* Fill in variables used by the sgmap system.
diff -r 44d57ac7a9de -r 2edc740ddf64 sys/arch/vax/uba/uba_sbi.c
--- a/sys/arch/vax/uba/uba_sbi.c Sat Aug 24 06:39:48 2002 +0000
+++ b/sys/arch/vax/uba/uba_sbi.c Sat Aug 24 10:48:10 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uba_sbi.c,v 1.15 2002/07/25 12:02:00 ragge Exp $ */
+/* $NetBSD: uba_sbi.c,v 1.16 2002/08/24 10:48:10 ragge Exp $ */
/*
* Copyright (c) 1996 Jonathan Stone.
* Copyright (c) 1994, 1996 Ludd, University of Lule}, Sweden.
@@ -147,6 +147,7 @@
sc->uv_sc.uh_errchk = dw780_errchk;
sc->uv_sc.uh_iot = &vax_mem_bus_space;
sc->uv_sc.uh_dmat = &sc->uv_dmat;
+ sc->uv_sc.uh_nr = ubaddr;
sc->uv_uba = (void *)sa->sa_ioh;
sc->uh_ibase = VAX_NBPG + ubaddr * VAX_NBPG;
sc->uv_sc.uh_type = UBA_UBA;
Home |
Main Index |
Thread Index |
Old Index