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/pccbbvar.h 100704 2002-07-26 08:05:25Z imp $ |
29 */ 30 31/* 32 * Structure definitions for the Cardbus Bridge driver 33 */ 34 35struct intrhand { 36 void(*func)(void*arg); --- 29 unchanged lines hidden (view full) --- 66 struct cv cv; 67 u_int32_t flags; 68#define PCCBB_16BIT_CARD 0x02000000 69#define PCCBB_KTHREAD_RUNNING 0x04000000 70#define PCCBB_KTHREAD_DONE 0x08000000 71 int chipset; /* chipset id */ 72#define CB_UNKNOWN 0 /* NOT Cardbus-PCI bridge */ 73#define CB_TI113X 1 /* TI PCI1130/1131 */ |
74#define CB_TI12XX 2 /* TI PCI12xx/14xx/44xx/15xx/45xx */ 75#define CB_TI125X 3 /* TI PCI1250/1251(B)/1450 */ 76#define CB_RF5C47X 4 /* RICOH RF5C475/476/477 */ 77#define CB_RF5C46X 5 /* RICOH RF5C465/466/467 */ 78#define CB_CIRRUS 6 /* Cirrus Logic CLPD683x */ 79#define CB_TOPIC95 7 /* Toshiba ToPIC95 */ 80#define CB_TOPIC97 8 /* Toshiba ToPIC97/100 */ |
81 SLIST_HEAD(, pccbb_reslist) rl; 82 83 device_t cbdev; 84 device_t pccarddev; 85 86 struct proc *event_thread; 87}; 88 --- 20 unchanged lines hidden --- |