From owner-cvs-all@FreeBSD.ORG Wed Jun 25 17:04:00 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 D228F37B401; Wed, 25 Jun 2003 17:04:00 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80C8944011; Wed, 25 Jun 2003 17:03:59 -0700 (PDT) (envelope-from scottl@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 h5Q03x0U002313; Wed, 25 Jun 2003 17:03:59 -0700 (PDT) (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5Q03xUj002309; Wed, 25 Jun 2003 17:03:59 -0700 (PDT) Message-Id: <200306260003.h5Q03xUj002309@repoman.freebsd.org> From: Scott Long Date: Wed, 25 Jun 2003 17:03:59 -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/ips ips.c ips.h ips_commands.c ips_pci.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: Thu, 26 Jun 2003 00:04:01 -0000 scottl 2003/06/25 17:03:59 PDT FreeBSD src repository Modified files: sys/dev/ips ips.c ips.h ips_commands.c ips_pci.c Log: - Zero the buffers used to hold configuration data from the card. Not doing so can leave stale data in the buffer and confuse the driver. - enable the ability to set the 'disable' hint for the driver to keep it from attaching. i.e. 'hw.ips.0.disable=1' will prevent the driver from attaching. - Only detach if attach suceeded. Submitted by: mjacob Revision Changes Path 1.2 +8 -2 src/sys/dev/ips/ips.c 1.2 +2 -1 src/sys/dev/ips/ips.h 1.2 +6 -6 src/sys/dev/ips/ips_commands.c 1.2 +22 -6 src/sys/dev/ips/ips_pci.c