summaryrefslogtreecommitdiff
path: root/sys/dev/pci/siop_pci.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2002-11-16 04:37:30 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2002-11-16 04:37:30 +0000
commit7c9182f5ef212501de7b94939de5f676977a283b (patch)
tree672502963e211fe00c94923dfb8718301bcedde1 /sys/dev/pci/siop_pci.c
parent9cd7fd277caaa68895f160d5701d6ea19f301ebb (diff)
From NetBSD (bouyer@):
In siop_reset(), reset sc_ntargets to 0. The number of targets will be computed again in siop_add_reselsw(). In siop_reset(), reset the tag reseloff to 0, in addition to the lun reseloff. If siop_add_dev() fails this time we would use the old reseloff, clobbering memory now used for something else.
Diffstat (limited to 'sys/dev/pci/siop_pci.c')
-rw-r--r--sys/dev/pci/siop_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/siop_pci.c b/sys/dev/pci/siop_pci.c
index 3f87e5f9259..1556cd13d2f 100644
--- a/sys/dev/pci/siop_pci.c
+++ b/sys/dev/pci/siop_pci.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: siop_pci.c,v 1.4 2002/09/16 00:53:12 krw Exp $ */
-/* $NetBSD: siop_pci.c,v 1.11 2002/04/23 20:41:18 bouyer Exp $ */
+/* $OpenBSD: siop_pci.c,v 1.5 2002/11/16 04:37:29 krw Exp $ */
+/* $NetBSD: siop_pci.c,v 1.14 2002/10/02 16:51:54 thorpej Exp $ */
/*
* Copyright (c) 2000 Manuel Bouyer.