resource.h revision 139825
138786Sdfr/*-
238786Sdfr * Copyright 1998 Massachusetts Institute of Technology
338786Sdfr *
438786Sdfr * Permission to use, copy, modify, and distribute this software and
538786Sdfr * its documentation for any purpose and without fee is hereby
638786Sdfr * granted, provided that both the above copyright notice and this
738786Sdfr * permission notice appear in all copies, that both the above
838786Sdfr * copyright notice and this permission notice appear in all
938786Sdfr * supporting documentation, and that the name of M.I.T. not be used
1038786Sdfr * in advertising or publicity pertaining to distribution of the
1138786Sdfr * software without specific, written prior permission.  M.I.T. makes
1238786Sdfr * no representations about the suitability of this software for any
1338786Sdfr * purpose.  It is provided "as is" without express or implied
1438786Sdfr * warranty.
1538786Sdfr *
1638786Sdfr * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''.  M.I.T. DISCLAIMS
1738786Sdfr * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
1838786Sdfr * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1938786Sdfr * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
2038786Sdfr * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2138786Sdfr * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2238786Sdfr * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
2338786Sdfr * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
2438786Sdfr * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2538786Sdfr * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
2638786Sdfr * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2738786Sdfr * SUCH DAMAGE.
2838786Sdfr *
2950476Speter * $FreeBSD: head/sys/sparc64/include/resource.h 139825 2005-01-07 02:29:27Z imp $
3038786Sdfr */
31212500Sgjb
3249831Smpp#ifndef _MACHINE_RESOURCE_H_
3379538Sru#define	_MACHINE_RESOURCE_H_	1
3438786Sdfr
3538786Sdfr/*
3638786Sdfr * Definitions of resource types for Intel Architecture machines
3738786Sdfr * with support for legacy ISA devices and drivers.
3884306Sru */
3984306Sru
4038786Sdfr#define	SYS_RES_IRQ	1	/* interrupt lines */
4138786Sdfr#define	SYS_RES_DRQ	2	/* isa dma lines */
4238786Sdfr#define	SYS_RES_MEMORY	3	/* i/o memory */
43144628Snjl#define	SYS_RES_IOPORT	4	/* i/o ports */
4438786Sdfr
45144628Snjl#endif /* !_MACHINE_RESOURCE_H_ */
46212440Sgjb