Deleted Added
full compact
pccbbreg.h (94570) pccbbreg.h (100704)
1/*
2 * Copyright (c) 2000,2001 Jonathan Chen.
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

--- 11 unchanged lines hidden (view full) ---

20 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/*
2 * Copyright (c) 2000,2001 Jonathan Chen.
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

--- 11 unchanged lines hidden (view full) ---

20 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/dev/pccbb/pccbbreg.h 94570 2002-04-13 04:07:07Z imp $
28 * $FreeBSD: head/sys/dev/pccbb/pccbbreg.h 100704 2002-07-26 08:05:25Z imp $
29 */
30
31/*
32 * Copyright (c) 1998, 1999 and 2000
33 * HAYAKAWA Koichi. All rights reserved.
34 *
35 * Redistribution and use in source and binary forms, with or without
36 * modification, are permitted provided that the following conditions

--- 50 unchanged lines hidden (view full) ---

87# define CBBM_BRIDGECTRL_PREFETCH_1 0x0200
88# define CBBM_BRIDGECTRL_WRITE_POST_EN 0x0400
89 /* additional bit for RF5C46[567] */
90# define CBBM_BRIDGECTRL_RL_3E0_EN 0x0800
91# define CBBM_BRIDGECTRL_RL_3E2_EN 0x1000
92
93#define CBBR_LEGACY 0x44 /* len=4 */
94
29 */
30
31/*
32 * Copyright (c) 1998, 1999 and 2000
33 * HAYAKAWA Koichi. All rights reserved.
34 *
35 * Redistribution and use in source and binary forms, with or without
36 * modification, are permitted provided that the following conditions

--- 50 unchanged lines hidden (view full) ---

87# define CBBM_BRIDGECTRL_PREFETCH_1 0x0200
88# define CBBM_BRIDGECTRL_WRITE_POST_EN 0x0400
89 /* additional bit for RF5C46[567] */
90# define CBBM_BRIDGECTRL_RL_3E0_EN 0x0800
91# define CBBM_BRIDGECTRL_RL_3E2_EN 0x1000
92
93#define CBBR_LEGACY 0x44 /* len=4 */
94
95/* TI * */
96#define CBBR_SYSCTRL 0x80 /* len=4 */
97# define CBBM_SYSCTRL_INTRTIE 0x20000000u
98
99/* TI [14][245]xx */
100#define CBBR_MMCTRL 0x84 /* len=4 */
101
102/* TI 12xx/14xx/15xx (except 1250/1251/1251B/1450) */
103#define CBBR_MFUNC 0x8c /* len=4 */
104# define CBBM_MFUNC_PIN0 0x0000000f
105# define CBBM_MFUNC_PIN0_INTA 0x02
106# define CBBM_MFUNC_PIN1 0x000000f0
107# define CBBM_MFUNC_PIN1_INTB 0x20
108# define CBBM_MFUNC_PIN2 0x00000f00
109# define CBBM_MFUNC_PIN3 0x0000f000
110# define CBBM_MFUNC_PIN4 0x000f0000
111# define CBBM_MFUNC_PIN5 0x00f00000
112# define CBBM_MFUNC_PIN6 0x0f000000
113
95#define CBBR_CBCTRL 0x91 /* len=1 */
96 /* bits for TI 113X */
97# define CBBM_CBCTRL_113X_RI_EN 0x80
98# define CBBM_CBCTRL_113X_ZV_EN 0x40
99# define CBBM_CBCTRL_113X_PCI_IRQ_EN 0x20
100# define CBBM_CBCTRL_113X_PCI_INTR 0x10
101# define CBBM_CBCTRL_113X_PCI_CSC 0x08
102# define CBBM_CBCTRL_113X_PCI_CSC_D 0x04
103# define CBBM_CBCTRL_113X_SPEAKER_EN 0x02
104# define CBBM_CBCTRL_113X_INTR_DET 0x01
114#define CBBR_CBCTRL 0x91 /* len=1 */
115 /* bits for TI 113X */
116# define CBBM_CBCTRL_113X_RI_EN 0x80
117# define CBBM_CBCTRL_113X_ZV_EN 0x40
118# define CBBM_CBCTRL_113X_PCI_IRQ_EN 0x20
119# define CBBM_CBCTRL_113X_PCI_INTR 0x10
120# define CBBM_CBCTRL_113X_PCI_CSC 0x08
121# define CBBM_CBCTRL_113X_PCI_CSC_D 0x04
122# define CBBM_CBCTRL_113X_SPEAKER_EN 0x02
123# define CBBM_CBCTRL_113X_INTR_DET 0x01
105 /* bits for TI 12XX */
124 /* TI [14][245]xx */
106# define CBBM_CBCTRL_12XX_RI_EN 0x80
107# define CBBM_CBCTRL_12XX_ZV_EN 0x40
108# define CBBM_CBCTRL_12XX_AUD2MUX 0x04
109# define CBBM_CBCTRL_12XX_SPEAKER_EN 0x02
110# define CBBM_CBCTRL_12XX_INTR_DET 0x01
111#define CBBR_DEVCTRL 0x92 /* len=1 */
112# define CBBM_DEVCTRL_INT_SERIAL 0x04
113# define CBBM_DEVCTRL_INT_PCI 0x02

--- 91 unchanged lines hidden (view full) ---

205#include <dev/pccbb/pccbbdevid.h>
206
207#define CBB_SOCKET_EVENT 0x00
208#define CBB_SOCKET_MASK 0x04
209#define CBB_SOCKET_STATE 0x08
210#define CBB_SOCKET_FORCE 0x0c
211#define CBB_SOCKET_CONTROL 0x10
212#define CBB_SOCKET_POWER 0x14
125# define CBBM_CBCTRL_12XX_RI_EN 0x80
126# define CBBM_CBCTRL_12XX_ZV_EN 0x40
127# define CBBM_CBCTRL_12XX_AUD2MUX 0x04
128# define CBBM_CBCTRL_12XX_SPEAKER_EN 0x02
129# define CBBM_CBCTRL_12XX_INTR_DET 0x01
130#define CBBR_DEVCTRL 0x92 /* len=1 */
131# define CBBM_DEVCTRL_INT_SERIAL 0x04
132# define CBBM_DEVCTRL_INT_PCI 0x02

--- 91 unchanged lines hidden (view full) ---

224#include <dev/pccbb/pccbbdevid.h>
225
226#define CBB_SOCKET_EVENT 0x00
227#define CBB_SOCKET_MASK 0x04
228#define CBB_SOCKET_STATE 0x08
229#define CBB_SOCKET_FORCE 0x0c
230#define CBB_SOCKET_CONTROL 0x10
231#define CBB_SOCKET_POWER 0x14
232
233#define CBB_EXCA_OFFSET 0x800 /* offset for exca regs */