From owner-cvs-all@FreeBSD.ORG Fri Sep 12 18:55:45 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0F1716A4BF; Fri, 12 Sep 2003 18:55:45 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66FAA43FEC; Fri, 12 Sep 2003 18:55:45 -0700 (PDT) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h8D1tj0U032838; Fri, 12 Sep 2003 18:55:45 -0700 (PDT) (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h8D1tjXv032837; Fri, 12 Sep 2003 18:55:45 -0700 (PDT) Message-Id: <200309130155.h8D1tjXv032837@repoman.freebsd.org> From: Matt Jacob Date: Fri, 12 Sep 2003 18:55:45 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/isp isp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2003 01:55:46 -0000 mjacob 2003/09/12 18:55:45 PDT FreeBSD src repository Modified files: sys/dev/isp isp.c Log: On reset, make sure that we have some parameters set correctly. This fixes a longstanding issue WRT resetting the chip after startup- it would fail if we were connected as an F-port to a switch. If we were connected as an F-port, we got assigned a hard loop ID of 255, which is really a bogus loop id. Then when we turned around to reset ourselves, the firmware would reject the ICB_INIT request because the loop id was bogus. *sputter* Minor fixlet from somebody in NetBSD with too much time on their hands (dma -> DMA). Revision Changes Path 1.108 +18 -1 src/sys/dev/isp/isp.c