From owner-cvs-all Sun Nov 18 12:38:50 2001 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 9A8B237B405; Sun, 18 Nov 2001 12:38:44 -0800 (PST) Received: (from tmm@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAIKcie78932; Sun, 18 Nov 2001 12:38:44 -0800 (PST) (envelope-from tmm) Message-Id: <200111182038.fAIKcie78932@freefall.freebsd.org> From: Thomas Moestl Date: Sun, 18 Nov 2001 12:38:44 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ofw ofw_pci.h openfirm.c openfirm.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tmm 2001/11/18 12:38:44 PST Modified files: sys/dev/ofw openfirm.c openfirm.h Added files: sys/dev/ofw ofw_pci.h Log: 1. Add ofw_pci.h with definitions for the OpenFirmware PCI bindings 2. Add OF_getprop_alloc(), a helper function that will malloc() a sufficient amount of memory and then retrieve a property value into it. Approved by: benno Obtained from: NetBSD (1) Revision Changes Path 1.1 +110 -0 src/sys/dev/ofw/ofw_pci.h (new) 1.7 +29 -1 src/sys/dev/ofw/openfirm.c 1.7 +6 -1 src/sys/dev/ofw/openfirm.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message