summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccbb/pccbbvar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-08-15 08:01:24 +0000
committerimp <imp@FreeBSD.org>2002-08-15 08:01:24 +0000
commit640133cf9d76111c05a63589b7cd14730c141ece (patch)
tree38a35eee5f0386e50186b2418e75aa75b5ab1245 /sys/dev/pccbb/pccbbvar.h
parentf2de8fd8b9b517212bd644bfa24d6b454efb4c84 (diff)
downloadFreeBSD-src-640133cf9d76111c05a63589b7cd14730c141ece.zip
FreeBSD-src-640133cf9d76111c05a63589b7cd14730c141ece.tar.gz
Rename the pccbb device to cbb.
Diffstat (limited to 'sys/dev/pccbb/pccbbvar.h')
-rw-r--r--sys/dev/pccbb/pccbbvar.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/pccbb/pccbbvar.h b/sys/dev/pccbb/pccbbvar.h
index c8de2dd..8bf035a 100644
--- a/sys/dev/pccbb/pccbbvar.h
+++ b/sys/dev/pccbb/pccbbvar.h
@@ -38,8 +38,8 @@ struct intrhand {
STAILQ_ENTRY(intrhand) entries;
};
-struct pccbb_reslist {
- SLIST_ENTRY(pccbb_reslist) link;
+struct cbb_reslist {
+ SLIST_ENTRY(cbb_reslist) link;
struct resource *res;
int type;
int rid;
@@ -50,9 +50,9 @@ struct pccbb_reslist {
bus_addr_t cardaddr; /* for 16-bit pccard memory */
};
-#define PCCBB_AUTO_OPEN_SMALLHOLE 0x100
+#define CBB_AUTO_OPEN_SMALLHOLE 0x100
-struct pccbb_softc {
+struct cbb_softc {
device_t dev;
struct exca_softc exca;
struct resource *base_res;
@@ -65,10 +65,10 @@ struct pccbb_softc {
struct mtx mtx;
struct cv cv;
u_int32_t flags;
-#define PCCBB_KLUDGE_ALLOC 0x10000000
-#define PCCBB_16BIT_CARD 0x20000000
-#define PCCBB_KTHREAD_RUNNING 0x40000000
-#define PCCBB_KTHREAD_DONE 0x80000000
+#define CBB_KLUDGE_ALLOC 0x10000000
+#define CBB_16BIT_CARD 0x20000000
+#define CBB_KTHREAD_RUNNING 0x40000000
+#define CBB_KTHREAD_DONE 0x80000000
int chipset; /* chipset id */
#define CB_UNKNOWN 0 /* NOT Cardbus-PCI bridge */
#define CB_TI113X 1 /* TI PCI1130/1131 */
@@ -79,7 +79,7 @@ struct pccbb_softc {
#define CB_CIRRUS 6 /* Cirrus Logic CLPD683x */
#define CB_TOPIC95 7 /* Toshiba ToPIC95 */
#define CB_TOPIC97 8 /* Toshiba ToPIC97/100 */
- SLIST_HEAD(, pccbb_reslist) rl;
+ SLIST_HEAD(, cbb_reslist) rl;
device_t cbdev;
device_t pccarddev;
OpenPOWER on IntegriCloud