From owner-cvs-all@FreeBSD.ORG Wed Jul 12 07:48:51 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 9470B16A4E1; Wed, 12 Jul 2006 07:48:51 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5277B43D58; Wed, 12 Jul 2006 07:48:51 +0000 (GMT) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6C7mp99089396; Wed, 12 Jul 2006 07:48:51 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6C7mpha089395; Wed, 12 Jul 2006 07:48:51 GMT (envelope-from mjacob) Message-Id: <200607120748.k6C7mpha089395@repoman.freebsd.org> From: Matt Jacob Date: Wed, 12 Jul 2006 07:48:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mpt mpt.c mpt.h mpt_cam.c mpt_debug.c mpt_pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 12 Jul 2006 07:48:51 -0000 mjacob 2006-07-12 07:48:51 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c mpt.h mpt_cam.c mpt_debug.c mpt_pci.c Log: Fix config page writes to not strip out the attributes when you actually go write the config page. This fixes the long standing problem about updating NVRAM on Fibre Channel cards and seems so far to not break SPI config page writes. Put back role setting into mpt. That is, you can set a desired role for mpt as a hint. On the next reboot, it'll pick that up and redo the NVRAM settings appropriately and warn you that this won't take effect until the next reboot. This saves people the step of having to find a BIOS utilities disk to set target and/or initiator role for the MPT cards. Revision Changes Path 1.33 +29 -10 src/sys/dev/mpt/mpt.c 1.27 +7 -4 src/sys/dev/mpt/mpt.h 1.27 +67 -20 src/sys/dev/mpt/mpt_cam.c 1.17 +15 -0 src/sys/dev/mpt/mpt_debug.c 1.36 +29 -4 src/sys/dev/mpt/mpt_pci.c