config.h revision 1.1 1 1.1 chuck /* $NetBSD: config.h,v 1.1 1996/05/17 21:17:58 chuck Exp $ */
2 1.1 chuck
3 1.1 chuck /*
4 1.1 chuck * Copyright (c) 1995 Theo de Raadt
5 1.1 chuck * All rights reserved.
6 1.1 chuck *
7 1.1 chuck * Redistribution and use in source and binary forms, with or without
8 1.1 chuck * modification, are permitted provided that the following conditions
9 1.1 chuck * are met:
10 1.1 chuck * 1. Redistributions of source code must retain the above copyright
11 1.1 chuck * notice, this list of conditions and the following disclaimer.
12 1.1 chuck * 2. Redistributions in binary form must reproduce the above copyright
13 1.1 chuck * notice, this list of conditions and the following disclaimer in the
14 1.1 chuck * documentation and/or other materials provided with the distribution.
15 1.1 chuck * 3. All advertising materials mentioning features or use of this software
16 1.1 chuck * must display the following acknowledgement:
17 1.1 chuck * This product includes software developed by Theo de Raadt
18 1.1 chuck * 4. The name of the Author may not be used to endorse or promote products
19 1.1 chuck * derived from this software without specific prior written permission.
20 1.1 chuck *
21 1.1 chuck * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
22 1.1 chuck * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23 1.1 chuck * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 1.1 chuck * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
25 1.1 chuck * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 1.1 chuck * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 1.1 chuck * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 1.1 chuck * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 1.1 chuck * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 1.1 chuck * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 1.1 chuck * SUCH DAMAGE.
32 1.1 chuck */
33 1.1 chuck
34 1.1 chuck /* configuration information for base-line code */
35 1.1 chuck
36 1.1 chuck #define ETHER_ADDR_147 (0xfffe0778)
37 1.1 chuck #define ETHER_ADDR_16X (0xfffc0000+7980)
38 1.1 chuck #define ERAM_ADDR (0xfffe0774)
39 1.1 chuck #define LANCE_REG_ADDR (0xfffe1800)
40 1.1 chuck #define INTEL_REG_ADDR (0xfff46000)
41 1.1 chuck
42 1.1 chuck #define CPU_147 0x147
43 1.1 chuck #define CPU_162 0x162
44 1.1 chuck #define CPU_167 0x167
45 1.1 chuck #define CPU_172 0x172
46 1.1 chuck #define CPU_177 0x177
47 1.1 chuck
48 1.1 chuck struct brdid {
49 1.1 chuck u_long eye_catcher;
50 1.1 chuck u_char rev;
51 1.1 chuck u_char month;
52 1.1 chuck u_char day;
53 1.1 chuck u_char year;
54 1.1 chuck u_short size;
55 1.1 chuck u_short rsv1;
56 1.1 chuck u_short model;
57 1.1 chuck u_short suffix;
58 1.1 chuck u_short options;
59 1.1 chuck u_char family;
60 1.1 chuck u_char cpu;
61 1.1 chuck u_short ctrlun;
62 1.1 chuck u_short devlun;
63 1.1 chuck u_short devtype;
64 1.1 chuck u_short devnum;
65 1.1 chuck u_long bug;
66 1.1 chuck };
67