From owner-cvs-src-old@FreeBSD.ORG Wed Feb 3 21:09:46 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 111C9106568B for ; Wed, 3 Feb 2010 21:09:46 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F36F78FC0C for ; Wed, 3 Feb 2010 21:09:45 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o13L9jkj021545 for ; Wed, 3 Feb 2010 21:09:45 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o13L9jwL021543 for cvs-src-old@freebsd.org; Wed, 3 Feb 2010 21:09:45 GMT (envelope-from mjacob@repoman.freebsd.org) Message-Id: <201002032109.o13L9jwL021543@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mjacob@repoman.freebsd.org using -f From: Matt Jacob Date: Wed, 3 Feb 2010 21:09:32 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/isp isp.c isp_freebsd.c isp_library.c isp_library.h isp_pci.c isp_sbus.c ispmbox.h ispvar.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2010 21:09:46 -0000 mjacob 2010-02-03 21:09:32 UTC FreeBSD src repository Modified files: sys/dev/isp isp.c isp_freebsd.c isp_library.c isp_library.h isp_pci.c isp_sbus.c ispmbox.h ispvar.h Log: SVN rev 203444 on 2010-02-03 21:09:32Z by mjacob Redo how commands handles are created and managed and implement sequence numbers and handle types in rational way. This will better protect from (unwittingly) dealing with stale handles/commands. Fix the watchdog timeout code to better protect itself from mistakes. If we run an abort on a putatively timed out command, the command may in fact get completed, so check to make sure the command we're timing it out is still around. If the abort succeeds, btw, the command should get returned via a different path. Revision Changes Path 1.159 +11 -8 src/sys/dev/isp/isp.c 1.154 +27 -7 src/sys/dev/isp/isp_freebsd.c 1.17 +73 -74 src/sys/dev/isp/isp_library.c 1.10 +3 -5 src/sys/dev/isp/isp_library.h 1.150 +12 -4 src/sys/dev/isp/isp_pci.c 1.39 +6 -2 src/sys/dev/isp/isp_sbus.c 1.63 +0 -5 src/sys/dev/isp/ispmbox.h 1.87 +54 -4 src/sys/dev/isp/ispvar.h