From owner-cvs-src@FreeBSD.ORG Tue Aug 26 09:57:25 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AF1216A511; Tue, 26 Aug 2003 09:57:25 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE41E43FBD; Tue, 26 Aug 2003 09:57:24 -0700 (PDT) (envelope-from nectar@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 h7QGvO0U088948; Tue, 26 Aug 2003 09:57:24 -0700 (PDT) (envelope-from nectar@repoman.freebsd.org) Received: (from nectar@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7QGvOK1088947; Tue, 26 Aug 2003 09:57:24 -0700 (PDT) Message-Id: <200308261657.h7QGvOK1088947@repoman.freebsd.org> From: Jacques Vidrine Date: Tue, 26 Aug 2003 09:57:24 -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/bktr bktr_core.c src/sys/pci meteor.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 16:57:25 -0000 nectar 2003/08/26 09:57:24 PDT FreeBSD src repository Modified files: sys/dev/bktr bktr_core.c sys/pci meteor.c Log: Revision 1.126 broke the interface of the bktr driver's METEORSSIGNAL ioctl. Applications use this ioctl with the value METEOR_SIG_MODE_MASK (0xFFFF0000, -65536) to reset signal delivery, but revision 1.126 caused the driver to return EINVAL in this case. Interestingly, the same METEORSSIGNAL ioctl in the meteor driver uses 0 to reset signal delivery. This commit allows METEOR_SIG_MODE_MASK as a synonym for 0 in the bktr driver, and restructures the code a bit so that it is otherwise identical between the bktr and meteor drivers. Revision Changes Path 1.130 +13 -9 src/sys/dev/bktr/bktr_core.c 1.66 +13 -14 src/sys/pci/meteor.c