18d7e7a98SRuslan Bukin /*- 28d7e7a98SRuslan Bukin * Copyright 1998 Massachusetts Institute of Technology 38d7e7a98SRuslan Bukin * 48d7e7a98SRuslan Bukin * Permission to use, copy, modify, and distribute this software and 58d7e7a98SRuslan Bukin * its documentation for any purpose and without fee is hereby 68d7e7a98SRuslan Bukin * granted, provided that both the above copyright notice and this 78d7e7a98SRuslan Bukin * permission notice appear in all copies, that both the above 88d7e7a98SRuslan Bukin * copyright notice and this permission notice appear in all 98d7e7a98SRuslan Bukin * supporting documentation, and that the name of M.I.T. not be used 108d7e7a98SRuslan Bukin * in advertising or publicity pertaining to distribution of the 118d7e7a98SRuslan Bukin * software without specific, written prior permission. M.I.T. makes 128d7e7a98SRuslan Bukin * no representations about the suitability of this software for any 138d7e7a98SRuslan Bukin * purpose. It is provided "as is" without express or implied 148d7e7a98SRuslan Bukin * warranty. 158d7e7a98SRuslan Bukin * 168d7e7a98SRuslan Bukin * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS 178d7e7a98SRuslan Bukin * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE, 188d7e7a98SRuslan Bukin * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 198d7e7a98SRuslan Bukin * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT 208d7e7a98SRuslan Bukin * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 218d7e7a98SRuslan Bukin * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 228d7e7a98SRuslan Bukin * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 238d7e7a98SRuslan Bukin * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 248d7e7a98SRuslan Bukin * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 258d7e7a98SRuslan Bukin * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 268d7e7a98SRuslan Bukin * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 278d7e7a98SRuslan Bukin * SUCH DAMAGE. 288d7e7a98SRuslan Bukin */ 298d7e7a98SRuslan Bukin 308d7e7a98SRuslan Bukin #ifndef _MACHINE_RESOURCE_H_ 318d7e7a98SRuslan Bukin #define _MACHINE_RESOURCE_H_ 1 328d7e7a98SRuslan Bukin 338d7e7a98SRuslan Bukin /* 348d7e7a98SRuslan Bukin * Definitions of resource types for Intel Architecture machines 358d7e7a98SRuslan Bukin * with support for legacy ISA devices and drivers. 368d7e7a98SRuslan Bukin */ 378d7e7a98SRuslan Bukin 388d7e7a98SRuslan Bukin #define SYS_RES_IRQ 1 /* interrupt lines */ 398d7e7a98SRuslan Bukin #define SYS_RES_DRQ 2 /* isa dma lines */ 408d7e7a98SRuslan Bukin #define SYS_RES_MEMORY 3 /* i/o memory */ 418d7e7a98SRuslan Bukin #define SYS_RES_IOPORT 4 /* i/o ports */ 428d7e7a98SRuslan Bukin #define SYS_RES_GPIO 5 /* general purpose i/o */ 43*79a6ce8bSRuslan Bukin #define PCI_RES_BUS 6 /* PCI bus numbers */ 448d7e7a98SRuslan Bukin 458d7e7a98SRuslan Bukin #endif /* !_MACHINE_RESOURCE_H_ */ 46