1 /**
2 * Copyright (c) 1997 by Matthew N. Dodd <winter@jurai.net>
3 * All Rights Reserved
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions, and the following disclaimer,
10 * without modification, immediately at the beginning of the file.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * 3. The name of the author may not be used to endorse or promote products
15 * derived from this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
21 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30 /* Credits: Based on and part of the DPT driver for FreeBSD written and
31 * maintained by Simon Shapiro <shimon@simon-shapiro.org>
32 */
33
34 /*
35 * $FreeBSD$
36 */
37
38 #define DPT_EISA_SLOT_OFFSET 0xc00
39 #define DPT_EISA_IOSIZE 0x100
40
41 #define DPT_EISA_INTDEF 0x90
42 #define DPT_EISA_INT_LEVEL 0x04
43 #define DPT_EISA_INT_NUM_MASK 0x38
44 #define DPT_EISA_INT_NUM_11 0x08
45 #define DPT_EISA_INT_NUM_15 0x10
46 #define DPT_EISA_INT_NUM_14 0x20
47
48 #define DPT_EISA_EATA_REG_OFFSET 0x88
49
50 #define ISA_PRIMARY_WD_ADDRESS 0x1f8
51
52 #define DPT_EISA_DPT2402 0x12142402
53 #define DPT_EISA_DPTA401 0x1214A401
54 #define DPT_EISA_DPTA402 0x1214A402
55 #define DPT_EISA_DPTA410 0x1214A410
56 #define DPT_EISA_DPTA411 0x1214A411
57 #define DPT_EISA_DPTA412 0x1214A412
58 #define DPT_EISA_DPTA420 0x1214A420
59 #define DPT_EISA_DPTA501 0x1214A501
60 #define DPT_EISA_DPTA502 0x1214A502
61 #define DPT_EISA_DPTA701 0x1214A701
62 #define DPT_EISA_DPTBC01 0x1214BC01
63 #define DPT_EISA_NEC8200 0x12148200
64 #define DPT_EISA_ATT2408 0x12142408
65
Cache object: 33083042fc6e2db29cbcd6b16c16eadc
|