1d8315c79SWarner Losh /*- 26fc729afSOlivier Houchard * Copyright 1998 Massachusetts Institute of Technology 36fc729afSOlivier Houchard * 46fc729afSOlivier Houchard * Permission to use, copy, modify, and distribute this software and 56fc729afSOlivier Houchard * its documentation for any purpose and without fee is hereby 66fc729afSOlivier Houchard * granted, provided that both the above copyright notice and this 76fc729afSOlivier Houchard * permission notice appear in all copies, that both the above 86fc729afSOlivier Houchard * copyright notice and this permission notice appear in all 96fc729afSOlivier Houchard * supporting documentation, and that the name of M.I.T. not be used 106fc729afSOlivier Houchard * in advertising or publicity pertaining to distribution of the 116fc729afSOlivier Houchard * software without specific, written prior permission. M.I.T. makes 126fc729afSOlivier Houchard * no representations about the suitability of this software for any 136fc729afSOlivier Houchard * purpose. It is provided "as is" without express or implied 146fc729afSOlivier Houchard * warranty. 156fc729afSOlivier Houchard * 166fc729afSOlivier Houchard * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS 176fc729afSOlivier Houchard * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE, 186fc729afSOlivier Houchard * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 196fc729afSOlivier Houchard * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT 206fc729afSOlivier Houchard * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 216fc729afSOlivier Houchard * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 226fc729afSOlivier Houchard * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 236fc729afSOlivier Houchard * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 246fc729afSOlivier Houchard * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 256fc729afSOlivier Houchard * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 266fc729afSOlivier Houchard * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 276fc729afSOlivier Houchard * SUCH DAMAGE. 286fc729afSOlivier Houchard */ 296fc729afSOlivier Houchard 306fc729afSOlivier Houchard #ifndef _MACHINE_RESOURCE_H_ 316fc729afSOlivier Houchard #define _MACHINE_RESOURCE_H_ 1 326fc729afSOlivier Houchard 336fc729afSOlivier Houchard /* 346fc729afSOlivier Houchard * Definitions of resource types for Intel Architecture machines 356fc729afSOlivier Houchard * with support for legacy ISA devices and drivers. 366fc729afSOlivier Houchard */ 376fc729afSOlivier Houchard 386fc729afSOlivier Houchard #define SYS_RES_IRQ 1 /* interrupt lines */ 396fc729afSOlivier Houchard #define SYS_RES_DRQ 2 /* isa dma lines */ 406fc729afSOlivier Houchard #define SYS_RES_MEMORY 3 /* i/o memory */ 416fc729afSOlivier Houchard #define SYS_RES_IOPORT 4 /* i/o ports */ 42373bbe25SRafal Jaworowski #define SYS_RES_GPIO 5 /* general purpose i/o */ 43*23a4fe48SMichal Meloun #define PCI_RES_BUS 6 /* PCI bus numbers */ 446fc729afSOlivier Houchard 456fc729afSOlivier Houchard #endif /* !_MACHINE_RESOURCE_H_ */ 46