From owner-cvs-all Sun Sep 22 22:14: 4 2002 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 32A3B37B401; Sun, 22 Sep 2002 22:14:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7F7543E65; Sun, 22 Sep 2002 22:14:02 -0700 (PDT) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (mjacob@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8N5E2Co022038; Sun, 22 Sep 2002 22:14:02 -0700 (PDT) (envelope-from mjacob@freefall.freebsd.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8N5E2nt022037; Sun, 22 Sep 2002 22:14:02 -0700 (PDT) Message-Id: <200209230514.g8N5E2nt022037@freefall.freebsd.org> From: Matt Jacob Date: Sun, 22 Sep 2002 22:14:02 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mpt mpt.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mjacob 2002/09/22 22:14:02 PDT Modified files: sys/dev/mpt mpt.c Log: When freeing a request, zero out the sequence number. Define the CFG_DAGA_OFF offset as 128 bytes instead of 40- gives us a more reasonable headroom. When reading a config page, zero out the entire request area- not just the length of the request. This is because we cleverly (cheezily) return configuration data back into the allocated request area, so it's nice to make sure we start with a clean area to write on. MFC after: 1 week Revision Changes Path 1.5 +3 -2 src/sys/dev/mpt/mpt.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message