From owner-cvs-all Mon May 31 15:13:45 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E8A8414E45; Mon, 31 May 1999 15:13:42 -0700 (PDT) (envelope-from roger@FreeBSD.org) Received: (from roger@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA00619; Mon, 31 May 1999 15:13:42 -0700 (PDT) (envelope-from roger@FreeBSD.org) Message-Id: <199905312213.PAA00619@freefall.freebsd.org> From: Roger Hardiman Date: Mon, 31 May 1999 15:13:42 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci pci.c pci_compat.c pcivar.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk roger 1999/05/31 15:13:41 PDT Modified files: sys/pci pci.c pci_compat.c pcivar.h Log: On the new Meteor cards, the Philips SAA 7116 is connected to the PCI bus via an IBM PCI-PCI bridge (82351 or 82352 or 82353) The driver must identify if it is on a secondary PCI bus, which is created via the IBM PCI-PCI bridge. If it is, then it must initialise the IBM PCI-PCI bridge correctly. To do this, the following new functions are added. Because they use the pcici_t tag, they are considered 2.2 compatibility APIs pcici_t * pci_get_parent_from_tag(pcici_t tag); int pci_get_bus_from_tag(pcici_t tag); (The _from_tag suffix is used to prevent clashes with similarly named newbus PCI API functions) Submitted by: Anton Berezin Reviewed by: Doug Rabson Reworked by: Me (roger) Revision Changes Path 1.108 +47 -1 src/sys/pci/pci.c 1.29 +13 -1 src/sys/pci/pci_compat.c 1.34 +7 -1 src/sys/pci/pcivar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message