From d239df53741516419a6f15581a759fb867beae0d Mon Sep 17 00:00:00 2001 From: bouyer Date: Thu, 19 Oct 2000 07:22:06 +0000 Subject: [PATCH] Adapt for script change: don't assume Ent_lun_switch_entry == 0 --- sys/dev/ic/siop.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/siop.c b/sys/dev/ic/siop.c index 308a287811b6..ca055ee1d419 100644 --- a/sys/dev/ic/siop.c +++ b/sys/dev/ic/siop.c @@ -1,4 +1,4 @@ -/* $NetBSD: siop.c,v 1.32 2000/10/18 20:06:54 bouyer Exp $ */ +/* $NetBSD: siop.c,v 1.33 2000/10/19 07:22:06 bouyer Exp $ */ /* * Copyright (c) 2000 Manuel Bouyer. @@ -1843,7 +1843,8 @@ siop_add_reselsw(sc, target) 0x800c0080 | target); siop_script_write(sc, sc->targets[target]->reseloff + 1, sc->sc_scriptaddr + - sc->targets[target]->lunsw->lunsw_off * 4); + sc->targets[target]->lunsw->lunsw_off * 4 + + Ent_lun_switch_entry); break; } }