Deleted Added
full compact
isareg.h (146211) isareg.h (146214)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: @(#)isa.h 5.7 (Berkeley) 5/9/91
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: @(#)isa.h 5.7 (Berkeley) 5/9/91
33 * $FreeBSD: head/sys/isa/isareg.h 146211 2005-05-14 09:10:02Z nyan $
33 * $FreeBSD: head/sys/isa/isareg.h 146214 2005-05-14 10:14:56Z nyan $
34 */
35
36#ifdef PC98
37#error isareg.h is included from PC-9801 source
38#endif
39
40#ifndef _ISA_ISA_H_
41#define _ISA_ISA_H_

--- 6 unchanged lines hidden (view full) ---

48
49/*
50 * Input / Output Port Assignments
51 */
52#ifndef IO_ISABEGIN
53#define IO_ISABEGIN 0x000 /* 0x000 - Beginning of I/O Registers */
54
55 /* CPU Board */
34 */
35
36#ifdef PC98
37#error isareg.h is included from PC-9801 source
38#endif
39
40#ifndef _ISA_ISA_H_
41#define _ISA_ISA_H_

--- 6 unchanged lines hidden (view full) ---

48
49/*
50 * Input / Output Port Assignments
51 */
52#ifndef IO_ISABEGIN
53#define IO_ISABEGIN 0x000 /* 0x000 - Beginning of I/O Registers */
54
55 /* CPU Board */
56#define IO_DMA1 0x000 /* 8237A DMA Controller #1 */
57#define IO_ICU1 0x020 /* 8259A Interrupt Controller #1 */
58#define IO_PMP1 0x026 /* 82347 Power Management Peripheral */
59#define IO_KBD 0x060 /* 8042 Keyboard */
60#define IO_RTC 0x070 /* RTC */
61#define IO_NMI IO_RTC /* NMI Control */
56#define IO_ICU1 0x020 /* 8259A Interrupt Controller #1 */
57#define IO_PMP1 0x026 /* 82347 Power Management Peripheral */
58#define IO_KBD 0x060 /* 8042 Keyboard */
59#define IO_RTC 0x070 /* RTC */
60#define IO_NMI IO_RTC /* NMI Control */
62#define IO_DMAPG 0x080 /* DMA Page Registers */
63#define IO_ICU2 0x0A0 /* 8259A Interrupt Controller #2 */
61#define IO_ICU2 0x0A0 /* 8259A Interrupt Controller #2 */
64#define IO_DMA2 0x0C0 /* 8237A DMA Controller #2 */
65
66 /* Cards */
67 /* 0x100 - 0x16F Open */
68
69#define IO_WD2 0x170 /* Secondary Fixed Disk Controller */
70
71#define IO_PMP2 0x178 /* 82347 Power Management Peripheral */
72

--- 62 unchanged lines hidden (view full) ---

135 * Input / Output Port Sizes - these are from several sources, and tend
136 * to be the larger of what was found.
137 */
138#ifndef IO_ISASIZES
139#define IO_ISASIZES
140
141#define IO_ASCSIZE 5 /* AmiScan GI1904-based hand scanner */
142#define IO_CGASIZE 12 /* CGA controllers */
62
63 /* Cards */
64 /* 0x100 - 0x16F Open */
65
66#define IO_WD2 0x170 /* Secondary Fixed Disk Controller */
67
68#define IO_PMP2 0x178 /* 82347 Power Management Peripheral */
69

--- 62 unchanged lines hidden (view full) ---

132 * Input / Output Port Sizes - these are from several sources, and tend
133 * to be the larger of what was found.
134 */
135#ifndef IO_ISASIZES
136#define IO_ISASIZES
137
138#define IO_ASCSIZE 5 /* AmiScan GI1904-based hand scanner */
139#define IO_CGASIZE 12 /* CGA controllers */
143#define IO_DMASIZE 16 /* 8237 DMA controllers */
144#define IO_DPGSIZE 32 /* 74LS612 DMA page registers */
145#define IO_EISASIZE 256 /* EISA controllers */
146#define IO_FDCSIZE 8 /* Nec765 floppy controllers */
147#define IO_GAMSIZE 16 /* AT compatible game controllers */
148#define IO_GSCSIZE 8 /* GeniScan GS-4500G hand scanner */
149#define IO_ICUSIZE 16 /* 8259A interrupt controllers */
150#define IO_KBDSIZE 16 /* 8042 Keyboard controllers */
151
152/* The following line was changed to support more architectures (simpler

--- 37 unchanged lines hidden ---
140#define IO_EISASIZE 256 /* EISA controllers */
141#define IO_FDCSIZE 8 /* Nec765 floppy controllers */
142#define IO_GAMSIZE 16 /* AT compatible game controllers */
143#define IO_GSCSIZE 8 /* GeniScan GS-4500G hand scanner */
144#define IO_ICUSIZE 16 /* 8259A interrupt controllers */
145#define IO_KBDSIZE 16 /* 8042 Keyboard controllers */
146
147/* The following line was changed to support more architectures (simpler

--- 37 unchanged lines hidden ---