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 fix booted_qe case to compare locators agai...
details: https://anonhg.NetBSD.org/src/rev/80eab9536922
branches: trunk
changeset: 485277:80eab9536922
user: matt <matt%NetBSD.org@localhost>
date: Sun Apr 23 20:30:37 2000 +0000
description:
fix booted_qe case to compare locators against controllers.
diffstat:
sys/arch/vax/vax/autoconf.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 09a94fc2aa5e -r 80eab9536922 sys/arch/vax/vax/autoconf.c
--- a/sys/arch/vax/vax/autoconf.c Sun Apr 23 20:06:09 2000 +0000
+++ b/sys/arch/vax/vax/autoconf.c Sun Apr 23 20:30:37 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.49 2000/04/22 21:40:40 matt Exp $ */
+/* $NetBSD: autoconf.c,v 1.50 2000/04/23 20:30:37 matt Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -204,8 +204,11 @@
void *aux;
{
if ((B_TYPE(bootdev) == BDEV_QE) &&
- (B_CONTROLLER(bootdev) == dev->dv_unit) &&
- !strcmp("qe", dev->dv_cfdata->cf_driver->cd_name))
+ !strcmp("qe", dev->dv_cfdata->cf_driver->cd_name) &&
+ ((dev->dv_cfdata->cf_loc[0] == 0174440 &&
+ B_CONTROLLER(bootdev) == 0) || /* XQA0 */
+ (dev->dv_cfdata->cf_loc[0] == 0174460 &&
+ B_CONTROLLER(bootdev) == 1))) /* XQB0 */
return 1;
return 0;
}
Home |
Main Index |
Thread Index |
Old Index