1/* $NetBSD: openfirmio.h,v 1.4 2002/09/06 13:23:19 gehenna Exp $ */
2
3/*
4 * Copyright (c) 1992, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This software was developed by the Computer Systems Engineering group
8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
--- 29 unchanged lines hidden (view full) ---
38 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
39 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
40 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
41 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
42 * SUCH DAMAGE.
43 *
44 * @(#)openpromio.h 8.1 (Berkeley) 6/11/93
45 *
46 * $FreeBSD: head/sys/dev/ofw/openfirmio.h 105398 2002-10-18 15:23:43Z tmm $
47 */
48
49#ifndef _DEV_OFW_OPENFIRMIO_H_
50#define _DEV_OFW_OPENFIRMIO_H_
51
52#include <dev/ofw/openfirm.h>
53
54struct ofiocdesc {
--- 17 unchanged lines hidden (view full) ---
72/* Get options node. */
73#define OFIOCGETOPTNODE _IOR(OFIOC_BASE, 4, phandle_t)
74/* Get next node of node. */
75#define OFIOCGETNEXT _IOWR(OFIOC_BASE, 5, phandle_t)
76/* Get first child of node. */
77#define OFIOCGETCHILD _IOWR(OFIOC_BASE, 6, phandle_t)
78/* Find a specific device. */
79#define OFIOCFINDDEVICE _IOWR(OFIOC_BASE, 7, struct ofiocdesc)
80
81#endif /* _DEV_OFW_OPENFIRMIO_H_ */
2
3/*
4 * Copyright (c) 1992, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This software was developed by the Computer Systems Engineering group
8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
--- 29 unchanged lines hidden (view full) ---
38 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
39 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
40 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
41 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
42 * SUCH DAMAGE.
43 *
44 * @(#)openpromio.h 8.1 (Berkeley) 6/11/93
45 *
46 * $FreeBSD: head/sys/dev/ofw/openfirmio.h 105398 2002-10-18 15:23:43Z tmm $
47 */
48
49#ifndef _DEV_OFW_OPENFIRMIO_H_
50#define _DEV_OFW_OPENFIRMIO_H_
51
52#include <dev/ofw/openfirm.h>
53
54struct ofiocdesc {
--- 17 unchanged lines hidden (view full) ---
72/* Get options node. */
73#define OFIOCGETOPTNODE _IOR(OFIOC_BASE, 4, phandle_t)
74/* Get next node of node. */
75#define OFIOCGETNEXT _IOWR(OFIOC_BASE, 5, phandle_t)
76/* Get first child of node. */
77#define OFIOCGETCHILD _IOWR(OFIOC_BASE, 6, phandle_t)
78/* Find a specific device. */
79#define OFIOCFINDDEVICE _IOWR(OFIOC_BASE, 7, struct ofiocdesc)
80
81#endif /* _DEV_OFW_OPENFIRMIO_H_ */