1139735Simp/*- 2129198Scognet * Copyright 1998 Massachusetts Institute of Technology 3129198Scognet * 4129198Scognet * Permission to use, copy, modify, and distribute this software and 5129198Scognet * its documentation for any purpose and without fee is hereby 6129198Scognet * granted, provided that both the above copyright notice and this 7129198Scognet * permission notice appear in all copies, that both the above 8129198Scognet * copyright notice and this permission notice appear in all 9129198Scognet * supporting documentation, and that the name of M.I.T. not be used 10129198Scognet * in advertising or publicity pertaining to distribution of the 11129198Scognet * software without specific, written prior permission. M.I.T. makes 12129198Scognet * no representations about the suitability of this software for any 13129198Scognet * purpose. It is provided "as is" without express or implied 14129198Scognet * warranty. 15236992Simp * 16129198Scognet * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS 17129198Scognet * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE, 18129198Scognet * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19129198Scognet * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT 20129198Scognet * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 21129198Scognet * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22129198Scognet * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 23129198Scognet * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24129198Scognet * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25129198Scognet * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 26129198Scognet * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27129198Scognet * SUCH DAMAGE. 28129198Scognet * 29129198Scognet * $FreeBSD$ 30129198Scognet */ 31129198Scognet 32129198Scognet#ifndef _MACHINE_RESOURCE_H_ 33129198Scognet#define _MACHINE_RESOURCE_H_ 1 34129198Scognet 35129198Scognet/* 36129198Scognet * Definitions of resource types for Intel Architecture machines 37129198Scognet * with support for legacy ISA devices and drivers. 38129198Scognet */ 39129198Scognet 40129198Scognet#define SYS_RES_IRQ 1 /* interrupt lines */ 41129198Scognet#define SYS_RES_DRQ 2 /* isa dma lines */ 42129198Scognet#define SYS_RES_MEMORY 3 /* i/o memory */ 43129198Scognet#define SYS_RES_IOPORT 4 /* i/o ports */ 44183840Sraj#define SYS_RES_GPIO 5 /* general purpose i/o */ 45291650Smmel#ifdef NEW_PCIB 46291650Smmel#define PCI_RES_BUS 6 /* PCI bus numbers */ 47291650Smmel#endif 48129198Scognet 49129198Scognet#endif /* !_MACHINE_RESOURCE_H_ */ 50