144603Sdcs/*- 244603Sdcs * Copyright 1998 Massachusetts Institute of Technology 344603Sdcs * 444603Sdcs * Permission to use, copy, modify, and distribute this software and 544603Sdcs * its documentation for any purpose and without fee is hereby 644603Sdcs * granted, provided that both the above copyright notice and this 744603Sdcs * permission notice appear in all copies, that both the above 844603Sdcs * copyright notice and this permission notice appear in all 950477Speter * supporting documentation, and that the name of M.I.T. not be used 1044603Sdcs * in advertising or publicity pertaining to distribution of the 1144603Sdcs * software without specific, written prior permission. M.I.T. makes 1244603Sdcs * no representations about the suitability of this software for any 1344603Sdcs * purpose. It is provided "as is" without express or implied 1444603Sdcs * warranty. 1544603Sdcs * 1644603Sdcs * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS 1765785Sdcs * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE, 1865785Sdcs * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19135986Sru * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT 2044603Sdcs * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2197201Sgordon * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2297201Sgordon * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 2397201Sgordon * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 2444603Sdcs * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2544603Sdcs * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 2644603Sdcs * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2744603Sdcs * SUCH DAMAGE. 2844603Sdcs * 2944603Sdcs * $FreeBSD$ 3044603Sdcs */ 3144603Sdcs 3247171Sdcs#ifndef _MACHINE_RESOURCE_H_ 3347171Sdcs#define _MACHINE_RESOURCE_H_ 1 3444603Sdcs 3544603Sdcs/* 3665939Sdcs * Definitions of resource types for Intel Architecture machines 3765939Sdcs * with support for legacy ISA devices and drivers. 3844603Sdcs */ 3944603Sdcs 4044603Sdcs#define SYS_RES_IRQ 1 /* interrupt lines */ 4144603Sdcs#define SYS_RES_DRQ 2 /* isa dma lines */ 4244603Sdcs#define SYS_RES_MEMORY 3 /* i/o memory */ 4344603Sdcs#define SYS_RES_IOPORT 4 /* i/o ports */ 44146421Ssobomax#define SYS_RES_GPIO 5 /* general purpose i/o */ 45146421Ssobomax#ifdef NEW_PCIB 46146421Ssobomax#define PCI_RES_BUS 6 /* PCI bus numbers */ 47172327Sru#endif 48172327Sru 49117090Sbrueffer#endif /* !_MACHINE_RESOURCE_H_ */ 50152463Sru