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