From owner-cvs-all Thu Sep 17 17:00:06 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA08350 for cvs-all-outgoing; Thu, 17 Sep 1998 17:00:06 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08196; Thu, 17 Sep 1998 16:59:20 -0700 (PDT) (envelope-from ken@FreeBSD.org) From: Kenneth Merry Received: (from ken@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA02049; Thu, 17 Sep 1998 16:58:56 -0700 (PDT) Date: Thu, 17 Sep 1998 16:58:56 -0700 (PDT) Message-Id: <199809172358.QAA02049@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/cam cam_xpt.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ken 1998/09/17 16:58:55 PDT Modified files: sys/cam cam_xpt.c Log: Fix a formatting error. Fix a problem reported by bde: setting SCSI_DELAY to 0 doesn't work. Now, when the user sets SCSI_DELAY to 0, we re-set it to the minimum allowable bus settle delay (100ms). Fix a potential panic in xptfinishconfigfunc() if the CCB passed in is NULL. Reported by, I think, Nicolas Souchu. Fix a memory leak in the same function (we created a path, but didn't free it) by allocating the getdev CCB and path on the stack. Reviewed by: gibbs Revision Changes Path 1.6 +32 -20 src/sys/cam/cam_xpt.c