Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax Compare the boot address with 1) physical a...
details: https://anonhg.NetBSD.org/src/rev/15b60acfce8a
branches: trunk
changeset: 486406:15b60acfce8a
user: ragge <ragge%NetBSD.org@localhost>
date: Sun May 21 10:03:55 2000 +0000
description:
Compare the boot address with 1) physical address and 2) correct variable.
diffstat:
sys/arch/vax/vax/autoconf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 65129416a8e8 -r 15b60acfce8a sys/arch/vax/vax/autoconf.c
--- a/sys/arch/vax/vax/autoconf.c Sun May 21 09:45:54 2000 +0000
+++ b/sys/arch/vax/vax/autoconf.c Sun May 21 10:03:55 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.51 2000/05/20 13:38:59 ragge Exp $ */
+/* $NetBSD: autoconf.c,v 1.52 2000/05/21 10:03:55 ragge Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -326,7 +326,7 @@
if (strcmp("mba", dev->dv_cfdata->cf_driver->cd_name) == 0) {
struct sbi_attach_args *sa = aux;
- mbaaddr = (int)sa->nexaddr;
+ mbaaddr = kvtophys(sa->nexaddr);
return 0;
}
@@ -336,7 +336,7 @@
if (((struct mba_attach_args *)aux)->unit != rpb.unit)
return 0;
- if (mbaaddr != rpb.csrphy)
+ if (mbaaddr != rpb.adpphy)
return 0;
return 1;
Home |
Main Index |
Thread Index |
Old Index