From owner-cvs-sys Wed May 28 03:12:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA04605 for cvs-sys-outgoing; Wed, 28 May 1997 03:12:00 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA04553; Wed, 28 May 1997 03:10:15 -0700 (PDT) From: Stefan Esser Received: (from se@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA13689; Wed, 28 May 1997 03:10:04 -0700 (PDT) Date: Wed, 28 May 1997 03:10:04 -0700 (PDT) Message-Id: <199705281010.DAA13689@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pci pci_compat.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 1997/05/28 03:10:03 PDT Modified files: sys/pci pci_compat.c Log: Add consistency check to the functions that map port or memory ranges: Return failure, if the enable bit corresponding to the map type has not been set in the command register. This feature was requested by Justin Gibbs, who pointed out that some early PCI to PCI bridges do not correctly support memory windows (I assume because of the risk of deadlocks that have been taken care of in the PCI 2.2 spec) and that some BIOS clears the memory address decode enable bit in the command register of the PCI device, if it finds them behind such a bridge. Revision Changes Path 1.2 +16 -3 src/sys/pci/pci_compat.c