1178172Simp/*-
2178172Simp * Copyright 1998 Massachusetts Institute of Technology
3178172Simp *
4178172Simp * Permission to use, copy, modify, and distribute this software and
5178172Simp * its documentation for any purpose and without fee is hereby
6178172Simp * granted, provided that both the above copyright notice and this
7178172Simp * permission notice appear in all copies, that both the above
8178172Simp * copyright notice and this permission notice appear in all
9178172Simp * supporting documentation, and that the name of M.I.T. not be used
10178172Simp * in advertising or publicity pertaining to distribution of the
11178172Simp * software without specific, written prior permission.	 M.I.T. makes
12178172Simp * no representations about the suitability of this software for any
13178172Simp * purpose.  It is provided "as is" without express or implied
14178172Simp * warranty.
15178172Simp *
16178172Simp * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''.  M.I.T. DISCLAIMS
17178172Simp * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
18178172Simp * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19178172Simp * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
20178172Simp * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21178172Simp * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22178172Simp * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23178172Simp * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24178172Simp * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25178172Simp * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
26178172Simp * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27178172Simp * SUCH DAMAGE.
28178172Simp *	from: src/sys/i386/include/resource.h,v 1.3 1999/10/14 21:38:30 dfr
29178172Simp *	JNPR: resource.h,v 1.3 2006/08/07 05:38:57 katta
30178172Simp * $FreeBSD$
31178172Simp */
32178172Simp
33178172Simp#ifndef _MACHINE_RESOURCE_H_
34178172Simp#define	_MACHINE_RESOURCE_H_	1
35178172Simp
36178172Simp/*
37178172Simp * Definitions of resource types for Intel Architecture machines
38178172Simp * with support for legacy ISA devices and drivers.
39178172Simp */
40178172Simp
41178172Simp#define	SYS_RES_IRQ	1	/* interrupt lines */
42178172Simp#define	SYS_RES_DRQ	2	/* isa dma lines */
43178172Simp#define	SYS_RES_MEMORY	3	/* i/o memory */
44178172Simp#define	SYS_RES_IOPORT	4	/* i/o ports */
45297849Ssgalabov#ifdef NEW_PCIB
46297849Ssgalabov#define	PCI_RES_BUS	5
47297849Ssgalabov#endif
48178172Simp
49178172Simp#endif /* !_MACHINE_RESOURCE_H_ */
50