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: src/sys/pci/pcic_p.h,v 1.3.2.2 1999/09/05 08:21:24 peter Exp $
30 */
31
32 /* PCI/CardBus Device IDs */
33 #define PCI_DEVICE_ID_PCIC_CLPD6729 0x11001013ul
34 #define PCI_DEVICE_ID_PCIC_CLPD6832 0x11101013ul
35 #define PCI_DEVICE_ID_PCIC_O2MICRO 0x673A1217ul
36 #define PCI_DEVICE_ID_PCIC_TI1130 0xAC12104Cul
37 #define PCI_DEVICE_ID_PCIC_TI1131 0xAC15104Cul
38
39 /* CL-PD6832 CardBus defines */
40 #define CLPD6832_IO_BASE0 0x002c
41 #define CLPD6832_IO_LIMIT0 0x0030
42 #define CLPD6832_IO_BASE1 0x0034
43 #define CLPD6832_IO_LIMIT1 0x0038
44 #define CLPD6832_BRIDGE_CONTROL 0x003c
45 #define CLPD6832_LEGACY_16BIT_IOADDR 0x0044
46 #define CLPD6832_SOCKET 0x004c
47
48 /* Configuration constants */
49 #define CLPD6832_BCR_MGMT_IRQ_ENA 0x08000000
50 #define CLPD6832_BCR_ISA_IRQ 0x00800000
51 #define CLPD6832_COMMAND_DEFAULTS 0x00000045
52 #define CLPD6832_NUM_REGS 2
53
54 /* End of CL-PD6832 defines */
Cache object: 4c57b4c714dda20fa3ff2fb0cae1429a
|