From owner-cvs-src@FreeBSD.ORG Fri Aug 26 01:00:41 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 CF69E16A42A; Fri, 26 Aug 2005 01:00:41 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E204B43D5A; Fri, 26 Aug 2005 01:00:19 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7Q10JEX002456; Fri, 26 Aug 2005 01:00:19 GMT (envelope-from ps@repoman.freebsd.org) Received: (from ps@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7Q10Jhd002455; Fri, 26 Aug 2005 01:00:19 GMT (envelope-from ps) Message-Id: <200508260100.j7Q10Jhd002455@repoman.freebsd.org> From: Paul Saab Date: Fri, 26 Aug 2005 01:00:19 +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/pci pci_user.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 26 Aug 2005 01:00:42 -0000 ps 2005-08-26 01:00:19 UTC FreeBSD src repository Modified files: sys/dev/pci pci_user.c Log: For FreeBSD 4 binaries, when trying to read from a device that does not exsist, do not have ioctl return an error, but instead set -1 in the data returned to the user. This allows the HP bios flash utilities to work without requiring changes to their code. Reviewed by: jhb Revision Changes Path 1.20 +8 -1 src/sys/dev/pci/pci_user.c