FreeBSD/Linux Kernel Cross Reference
sys/pci/pcic_p.h
1 /*
2 * Copyright (c) 1997 Ted Faber
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 *
9 * 1. Redistributions of source code must retain the above copyright
10 * notice immediately at the beginning of the file, without modification,
11 * this list of conditions, and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 * 3. Absolutely no warranty of function or purpose is made by the author
16 * Ted Faber.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * $FreeBSD$
30 */
31
32 /* PCI/CardBus Device IDs */
33 #define PCI_DEVICE_ID_PCIC_OZ6729 0x67291217ul
34 #define PCI_DEVICE_ID_PCIC_OZ6730 0x673A1217ul
35 #define PCI_DEVICE_ID_PCIC_CLPD6729 0x11001013ul
36 #define PCI_DEVICE_ID_PCIC_CLPD6832 0x11101013ul
37 #define PCI_DEVICE_ID_PCIC_TI1130 0xac12104cul
38 #define PCI_DEVICE_ID_PCIC_TI1131 0xac15104cul
39 #define PCI_DEVICE_ID_PCIC_TI1220 0xac17104cul
40 #define PCI_DEVICE_ID_PCIC_TI1221 0xac19104cul
41 #define PCI_DEVICE_ID_PCIC_TI1250 0xac16104cul
42 #define PCI_DEVICE_ID_PCIC_TI1251 0xac1d104cul
43 #define PCI_DEVICE_ID_TOSHIBA_TOPIC95 0x060a1179ul
44 #define PCI_DEVICE_ID_TOSHIBA_TOPIC97 0x060f1179ul
45 #define PCI_DEVICE_ID_RICOH_RL5C465 0x04651180ul
46 #define PCI_DEVICE_ID_RICOH_RL5C475 0x04751180ul
47 #define PCI_DEVICE_ID_RICOH_RL5C476 0x04761180ul
48 #define PCI_DEVICE_ID_RICOH_RL5C478 0x04781180ul
49
50 /* CL-PD6832 CardBus defines */
51 #define CLPD6832_IO_BASE0 0x002c
52 #define CLPD6832_IO_LIMIT0 0x0030
53 #define CLPD6832_IO_BASE1 0x0034
54 #define CLPD6832_IO_LIMIT1 0x0038
55 #define CLPD6832_BRIDGE_CONTROL 0x003c
56 #define CLPD6832_LEGACY_16BIT_IOADDR 0x0044
57 #define CLPD6832_SOCKET 0x004c
58
59 /* Configuration constants */
60 #define CLPD6832_BCR_MGMT_IRQ_ENA 0x08000000
61 #define CLPD6832_BCR_ISA_IRQ 0x00800000
62 #define CLPD6832_COMMAND_DEFAULTS 0x00000045
63 #define CLPD6832_NUM_REGS 2
64
65 /* End of CL-PD6832 defines */
Cache object: d09c6faf353afa9d6fd911a00d56546b
|