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 Adopt to boot block change; check for LUN o...
details: https://anonhg.NetBSD.org/src/rev/2d50d9bafc34
branches: trunk
changeset: 536637:2d50d9bafc34
user: ragge <ragge%NetBSD.org@localhost>
date: Thu Sep 19 17:41:58 2002 +0000
description:
Adopt to boot block change; check for LUN on SCSI disks also.
diffstat:
sys/arch/vax/vax/autoconf.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 90ff1470efed -r 2d50d9bafc34 sys/arch/vax/vax/autoconf.c
--- a/sys/arch/vax/vax/autoconf.c Thu Sep 19 17:41:21 2002 +0000
+++ b/sys/arch/vax/vax/autoconf.c Thu Sep 19 17:41:58 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.71 2002/03/23 18:13:04 ragge Exp $ */
+/* $NetBSD: autoconf.c,v 1.72 2002/09/19 17:41:58 ragge Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -339,7 +339,8 @@
SCSIPI_BUSTYPE_SCSI)
return 0; /* ``Cannot happen'' */
- if (sa->sa_periph->periph_target != rpb.unit)
+ if (sa->sa_periph->periph_target != (rpb.unit/100) ||
+ sa->sa_periph->periph_lun != (rpb.unit % 100))
return 0; /* Wrong unit */
ppdev = dev->dv_parent->dv_parent;
Home |
Main Index |
Thread Index |
Old Index