145f0aa1fSDoug Rabson /* $FreeBSD$ */ 286cb007fSWarner Losh /*- 346365a87SGarrett Wollman * Copyright 1998 Massachusetts Institute of Technology 446365a87SGarrett Wollman * 546365a87SGarrett Wollman * Permission to use, copy, modify, and distribute this software and 646365a87SGarrett Wollman * its documentation for any purpose and without fee is hereby 746365a87SGarrett Wollman * granted, provided that both the above copyright notice and this 846365a87SGarrett Wollman * permission notice appear in all copies, that both the above 946365a87SGarrett Wollman * copyright notice and this permission notice appear in all 1046365a87SGarrett Wollman * supporting documentation, and that the name of M.I.T. not be used 1146365a87SGarrett Wollman * in advertising or publicity pertaining to distribution of the 1246365a87SGarrett Wollman * software without specific, written prior permission. M.I.T. makes 1346365a87SGarrett Wollman * no representations about the suitability of this software for any 1446365a87SGarrett Wollman * purpose. It is provided "as is" without express or implied 1546365a87SGarrett Wollman * warranty. 1646365a87SGarrett Wollman * 1746365a87SGarrett Wollman * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS 1846365a87SGarrett Wollman * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE, 1946365a87SGarrett Wollman * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2046365a87SGarrett Wollman * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT 2146365a87SGarrett Wollman * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2246365a87SGarrett Wollman * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2346365a87SGarrett Wollman * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 2446365a87SGarrett Wollman * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 2546365a87SGarrett Wollman * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2646365a87SGarrett Wollman * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 2746365a87SGarrett Wollman * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2846365a87SGarrett Wollman * SUCH DAMAGE. 2946365a87SGarrett Wollman */ 3046365a87SGarrett Wollman 3146365a87SGarrett Wollman #ifndef _MACHINE_RESOURCE_H_ 3246365a87SGarrett Wollman #define _MACHINE_RESOURCE_H_ 1 3346365a87SGarrett Wollman 3446365a87SGarrett Wollman /* 3546365a87SGarrett Wollman * Definitions of resource types for Intel Architecture machines 3646365a87SGarrett Wollman * with support for legacy ISA devices and drivers. 3746365a87SGarrett Wollman */ 3846365a87SGarrett Wollman 39aa595accSDoug Rabson #define SYS_RES_IRQ 1 /* interrupt lines */ 40aa595accSDoug Rabson #define SYS_RES_DRQ 2 /* isa dma lines */ 41aa595accSDoug Rabson #define SYS_RES_MEMORY 3 /* i/o memory */ 42aa595accSDoug Rabson #define SYS_RES_IOPORT 4 /* i/o ports */ 434edef187SJohn Baldwin #ifdef NEW_PCIB 444edef187SJohn Baldwin #define PCI_RES_BUS 5 /* PCI bus numbers */ 454edef187SJohn Baldwin #endif 4646365a87SGarrett Wollman 4746365a87SGarrett Wollman #endif /* !_MACHINE_RESOURCE_H_ */ 48