1*a9643ea8Slogwang /*- 2*a9643ea8Slogwang * Copyright 1998 Massachusetts Institute of Technology 3*a9643ea8Slogwang * 4*a9643ea8Slogwang * Permission to use, copy, modify, and distribute this software and 5*a9643ea8Slogwang * its documentation for any purpose and without fee is hereby 6*a9643ea8Slogwang * granted, provided that both the above copyright notice and this 7*a9643ea8Slogwang * permission notice appear in all copies, that both the above 8*a9643ea8Slogwang * copyright notice and this permission notice appear in all 9*a9643ea8Slogwang * supporting documentation, and that the name of M.I.T. not be used 10*a9643ea8Slogwang * in advertising or publicity pertaining to distribution of the 11*a9643ea8Slogwang * software without specific, written prior permission. M.I.T. makes 12*a9643ea8Slogwang * no representations about the suitability of this software for any 13*a9643ea8Slogwang * purpose. It is provided "as is" without express or implied 14*a9643ea8Slogwang * warranty. 15*a9643ea8Slogwang * 16*a9643ea8Slogwang * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS 17*a9643ea8Slogwang * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE, 18*a9643ea8Slogwang * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19*a9643ea8Slogwang * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT 20*a9643ea8Slogwang * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 21*a9643ea8Slogwang * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22*a9643ea8Slogwang * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 23*a9643ea8Slogwang * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24*a9643ea8Slogwang * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25*a9643ea8Slogwang * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 26*a9643ea8Slogwang * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27*a9643ea8Slogwang * SUCH DAMAGE. 28*a9643ea8Slogwang * from: src/sys/i386/include/resource.h,v 1.3 1999/10/14 21:38:30 dfr 29*a9643ea8Slogwang * JNPR: resource.h,v 1.3 2006/08/07 05:38:57 katta 30*a9643ea8Slogwang * $FreeBSD$ 31*a9643ea8Slogwang */ 32*a9643ea8Slogwang 33*a9643ea8Slogwang #ifndef _MACHINE_RESOURCE_H_ 34*a9643ea8Slogwang #define _MACHINE_RESOURCE_H_ 1 35*a9643ea8Slogwang 36*a9643ea8Slogwang /* 37*a9643ea8Slogwang * Definitions of resource types for Intel Architecture machines 38*a9643ea8Slogwang * with support for legacy ISA devices and drivers. 39*a9643ea8Slogwang */ 40*a9643ea8Slogwang 41*a9643ea8Slogwang #define SYS_RES_IRQ 1 /* interrupt lines */ 42*a9643ea8Slogwang #define SYS_RES_DRQ 2 /* isa dma lines */ 43*a9643ea8Slogwang #define SYS_RES_MEMORY 3 /* i/o memory */ 44*a9643ea8Slogwang #define SYS_RES_IOPORT 4 /* i/o ports */ 45*a9643ea8Slogwang #ifdef NEW_PCIB 46*a9643ea8Slogwang #define PCI_RES_BUS 5 47*a9643ea8Slogwang #endif 48*a9643ea8Slogwang 49*a9643ea8Slogwang #endif /* !_MACHINE_RESOURCE_H_ */ 50