From owner-cvs-all Tue Dec 12 17:25:16 2000 From owner-cvs-all@FreeBSD.ORG Tue Dec 12 17:25:12 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 785C437B400; Tue, 12 Dec 2000 17:25:12 -0800 (PST) Received: (from msmith@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBD1PCs48656; Tue, 12 Dec 2000 17:25:12 -0800 (PST) (envelope-from msmith) Message-Id: <200012130125.eBD1PCs48656@freefall.freebsd.org> From: Mike Smith Date: Tue, 12 Dec 2000 17:25:12 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files options src/sys/dev/pci pci_user.c eisa_pci.c pci.c pci_pci.c pcireg.h pcivar.h src/sys/pci pci_compat.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG msmith 2000/12/12 17:25:12 PST Modified files: sys/conf files options sys/dev/pci eisa_pci.c pci.c pci_pci.c pcireg.h pcivar.h Added files: sys/dev/pci pci_user.c Removed files: sys/pci pci_compat.c Log: Next round of PCI subsystem updates: - Break out the /dev/pci driver into a separate file. - Kill the COMPAT_OLDPCI support. - Make the EISA bridge attach a bit more like the old code; explicitly check for the existence of eisa0/isa0 and only attach if they don't already exist. Only make one bus_generic_attach() pass over the bridge, once both busses are attached. Note that the stupid Intel bridge's class is entirely unpredictable. - Add prototypes and re-layout the core PCI modules in line with current coding standards (not a major whitespace change, just moving the module data to the top of the file). - Remove redundant type-2 bridge support from the core PCI code; the PCI-CardBus code does this itself internally. Remove the now entirely redundant header-class-specific support, as well as the secondary and subordinate bus number fields. These are bridge attributes now. - Add support for PCI Extended Capabilities. - Add support for PCI Power Management. The interface currently allows a driver to query and set the power state of a device. - Add helper functions to allow drivers to enable/disable busmastering and the decoding of I/O and memory ranges. - Use PCI_SLOTMAX and PCI_FUNCMAX rather than magic numbers in some places. - Make the PCI-PCI bridge code a little more paranoid about valid I/O and memory decodes. - Add some more PCI register definitions for the command and status registers. Correct another bogus definition for type-1 bridges. Revision Changes Path 1.453 +2 -3 src/sys/conf/files 1.239 +1 -2 src/sys/conf/options 1.3 +10 -11 src/sys/dev/pci/eisa_pci.c 1.170 +265 -540 src/sys/dev/pci/pci.c 1.3 +28 -23 src/sys/dev/pci/pci_pci.c 1.29 +68 -31 src/sys/dev/pci/pcireg.h 1.50 +75 -92 src/sys/dev/pci/pcivar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message