152243Sdfr/* $FreeBSD: releng/10.3/sys/amd64/include/resource.h 280970 2015-04-01 21:48:54Z jhb $ */ 2139731Simp/*- 340713Swollman * Copyright 1998 Massachusetts Institute of Technology 440713Swollman * 540713Swollman * Permission to use, copy, modify, and distribute this software and 640713Swollman * its documentation for any purpose and without fee is hereby 740713Swollman * granted, provided that both the above copyright notice and this 840713Swollman * permission notice appear in all copies, that both the above 940713Swollman * copyright notice and this permission notice appear in all 1040713Swollman * supporting documentation, and that the name of M.I.T. not be used 1140713Swollman * in advertising or publicity pertaining to distribution of the 1240713Swollman * software without specific, written prior permission. M.I.T. makes 1340713Swollman * no representations about the suitability of this software for any 1440713Swollman * purpose. It is provided "as is" without express or implied 1540713Swollman * warranty. 1640713Swollman * 1740713Swollman * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS 1840713Swollman * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE, 1940713Swollman * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2040713Swollman * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT 2140713Swollman * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2240713Swollman * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2340713Swollman * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 2440713Swollman * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 2540713Swollman * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2640713Swollman * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 2740713Swollman * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2840713Swollman * SUCH DAMAGE. 2940713Swollman */ 3040713Swollman 3140713Swollman#ifndef _MACHINE_RESOURCE_H_ 3240713Swollman#define _MACHINE_RESOURCE_H_ 1 3340713Swollman 3440713Swollman/* 3540713Swollman * Definitions of resource types for Intel Architecture machines 3640713Swollman * with support for legacy ISA devices and drivers. 3740713Swollman */ 3840713Swollman 3949157Sdfr#define SYS_RES_IRQ 1 /* interrupt lines */ 4049157Sdfr#define SYS_RES_DRQ 2 /* isa dma lines */ 4149157Sdfr#define SYS_RES_MEMORY 3 /* i/o memory */ 4249157Sdfr#define SYS_RES_IOPORT 4 /* i/o ports */ 43280970Sjhb#ifdef NEW_PCIB 44280970Sjhb#define PCI_RES_BUS 5 /* PCI bus numbers */ 45280970Sjhb#endif 4640713Swollman 4740713Swollman#endif /* !_MACHINE_RESOURCE_H_ */ 48