desktech.h revision 1.3 1 1.3 soda /* $NetBSD: desktech.h,v 1.3 2000/02/22 11:26:01 soda Exp $ */
2 1.3 soda /* $OpenBSD: desktech.h,v 1.6 1999/01/30 22:39:38 imp Exp $ */
3 1.1 soda
4 1.1 soda /*
5 1.1 soda * Copyright (c) 1996 Per Fogelstrom
6 1.1 soda *
7 1.1 soda * Redistribution and use in source and binary forms, with or without
8 1.1 soda * modification, are permitted provided that the following conditions
9 1.1 soda * are met:
10 1.1 soda * 1. Redistributions of source code must retain the above copyright
11 1.1 soda * notice, this list of conditions and the following disclaimer.
12 1.1 soda * 2. Redistributions in binary form must reproduce the above copyright
13 1.1 soda * notice, this list of conditions and the following disclaimer in the
14 1.1 soda * documentation and/or other materials provided with the distribution.
15 1.1 soda * 3. All advertising materials mentioning features or use of this software
16 1.1 soda * must display the following acknowledgement:
17 1.1 soda * This product includes software developed under OpenBSD by
18 1.1 soda * Per Fogelstrom.
19 1.1 soda * 4. The name of the author may not be used to endorse or promote products
20 1.1 soda * derived from this software without specific prior written permission.
21 1.1 soda *
22 1.1 soda * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
23 1.1 soda * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24 1.1 soda * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 1.1 soda * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
26 1.1 soda * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 1.1 soda * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 1.1 soda * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 1.1 soda * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 1.1 soda * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 1.1 soda * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 1.1 soda * SUCH DAMAGE.
33 1.1 soda *
34 1.1 soda */
35 1.1 soda
36 1.1 soda #ifndef _DESKTECH_H_
37 1.1 soda #define _DESKTECH_H_ 1
38 1.1 soda
39 1.1 soda /*
40 1.1 soda * TYNE's Physical address space
41 1.1 soda */
42 1.1 soda
43 1.1 soda #define TYNE_PHYS_MIN 0x00000000 /* 256 Meg */
44 1.1 soda #define TYNE_PHYS_MAX 0x0fffffff
45 1.1 soda
46 1.1 soda /*
47 1.1 soda * Memory map
48 1.1 soda */
49 1.1 soda
50 1.1 soda #define TYNE_PHYS_MEMORY_START 0x00000000
51 1.1 soda #define TYNE_PHYS_MEMORY_END 0x0fffffff /* 256 Meg in 4 slots */
52 1.1 soda
53 1.1 soda /*
54 1.1 soda * I/O map
55 1.1 soda */
56 1.1 soda
57 1.1 soda #define TYNE_P_ISA_IO (0x0900000000LL) /* ISA I/O Control */
58 1.1 soda #define TYNE_V_ISA_IO 0xe0000000
59 1.1 soda #define TYNE_S_ISA_IO 0x00010000
60 1.1 soda
61 1.1 soda #define TYNE_P_ISA_MEM (0x0100000000LL) /* ISA Memory control */
62 1.1 soda #define TYNE_V_ISA_MEM 0xe1000000
63 1.1 soda #define TYNE_S_ISA_MEM 0x00100000
64 1.1 soda
65 1.1 soda #define TYNE_P_BOUNCE (0x0100800000LL) /* Dma bounce buffer */
66 1.1 soda #define TYNE_V_BOUNCE 0xe2000000
67 1.1 soda #define TYNE_S_BOUNCE 0x00020000
68 1.3 soda
69 1.3 soda /*
70 1.3 soda * Deskstation rPC44 I/O map. We map these into one TLB of size 16M.
71 1.3 soda * Note: We really have EISA here, but no one has EISA cards yet to
72 1.3 soda * justify implmeneting EISA.
73 1.3 soda */
74 1.3 soda #define RPC44_P_ISA_IO (0x10000000LL) /* ISA I/O control */
75 1.3 soda #define RPC44_V_ISA_IO (0xb0000000)
76 1.3 soda #define RPC44_S_ISA_IO (0x00010000)
77 1.3 soda
78 1.3 soda #define RPC44_P_ISA_MEM (0x00000000LL) /* ISA Memory control */
79 1.3 soda #define RPC44_V_ISA_MEM (0xa0000000)
80 1.3 soda #define RPC44_S_ISA_MEM (0x01000000)
81 1.1 soda
82 1.1 soda #endif /* _DESKTECH_H_ */
83