11a4290e7SDoug Rabson /*- 21a4290e7SDoug Rabson * Copyright (c) 1990 The Regents of the University of California. 31a4290e7SDoug Rabson * All rights reserved. 41a4290e7SDoug Rabson * 51a4290e7SDoug Rabson * This code is derived from software contributed to Berkeley by 61a4290e7SDoug Rabson * William Jolitz. 71a4290e7SDoug Rabson * 81a4290e7SDoug Rabson * Redistribution and use in source and binary forms, with or without 91a4290e7SDoug Rabson * modification, are permitted provided that the following conditions 101a4290e7SDoug Rabson * are met: 111a4290e7SDoug Rabson * 1. Redistributions of source code must retain the above copyright 121a4290e7SDoug Rabson * notice, this list of conditions and the following disclaimer. 131a4290e7SDoug Rabson * 2. Redistributions in binary form must reproduce the above copyright 141a4290e7SDoug Rabson * notice, this list of conditions and the following disclaimer in the 151a4290e7SDoug Rabson * documentation and/or other materials provided with the distribution. 16*fbbd9655SWarner Losh * 3. Neither the name of the University nor the names of its contributors 171a4290e7SDoug Rabson * may be used to endorse or promote products derived from this software 181a4290e7SDoug Rabson * without specific prior written permission. 191a4290e7SDoug Rabson * 201a4290e7SDoug Rabson * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 211a4290e7SDoug Rabson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 221a4290e7SDoug Rabson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 231a4290e7SDoug Rabson * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 241a4290e7SDoug Rabson * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 251a4290e7SDoug Rabson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 261a4290e7SDoug Rabson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 271a4290e7SDoug Rabson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 281a4290e7SDoug Rabson * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 291a4290e7SDoug Rabson * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 301a4290e7SDoug Rabson * SUCH DAMAGE. 311a4290e7SDoug Rabson * 321a4290e7SDoug Rabson * from: @(#)isa.h 5.7 (Berkeley) 5/9/91 33c3aac50fSPeter Wemm * $FreeBSD$ 341a4290e7SDoug Rabson */ 351a4290e7SDoug Rabson 36cfa84f46SDoug Rabson #ifndef _ISA_ISA_H_ 37cfa84f46SDoug Rabson #define _ISA_ISA_H_ 381a4290e7SDoug Rabson 391a4290e7SDoug Rabson /* 401a4290e7SDoug Rabson * ISA Bus conventions 411a4290e7SDoug Rabson */ 421a4290e7SDoug Rabson 431a4290e7SDoug Rabson /* 441a4290e7SDoug Rabson * Input / Output Port Assignments 451a4290e7SDoug Rabson */ 461a4290e7SDoug Rabson #ifndef IO_ISABEGIN 471a4290e7SDoug Rabson #define IO_ISABEGIN 0x000 /* 0x000 - Beginning of I/O Registers */ 481a4290e7SDoug Rabson #define IO_ICU1 0x020 /* 8259A Interrupt Controller #1 */ 491a4290e7SDoug Rabson #define IO_KBD 0x060 /* 8042 Keyboard */ 501a4290e7SDoug Rabson #define IO_RTC 0x070 /* RTC */ 511a4290e7SDoug Rabson #define IO_ICU2 0x0A0 /* 8259A Interrupt Controller #2 */ 521a4290e7SDoug Rabson 531a4290e7SDoug Rabson #define IO_MDA 0x3B0 /* Monochome Adapter */ 541a4290e7SDoug Rabson #define IO_VGA 0x3C0 /* E/VGA Ports */ 551a4290e7SDoug Rabson #define IO_CGA 0x3D0 /* CGA Ports */ 561a4290e7SDoug Rabson 571a4290e7SDoug Rabson #endif /* !IO_ISABEGIN */ 581a4290e7SDoug Rabson 591a4290e7SDoug Rabson /* 60f79309d2SWarner Losh * Input / Output Port Sizes 611a4290e7SDoug Rabson */ 62cc7495b5SKazutaka YOKOTA #define IO_CGASIZE 12 /* CGA controllers */ 63cc7495b5SKazutaka YOKOTA #define IO_MDASIZE 12 /* Monochrome display controllers */ 641a4290e7SDoug Rabson #define IO_VGASIZE 16 /* VGA controllers */ 651a4290e7SDoug Rabson 66cfa84f46SDoug Rabson #endif /* !_ISA_ISA_H_ */ 67