summaryrefslogtreecommitdiffstats
path: root/sys/conf/files
diff options
context:
space:
mode:
authorjon <jon@FreeBSD.org>2000-10-18 03:25:13 +0000
committerjon <jon@FreeBSD.org>2000-10-18 03:25:13 +0000
commit9764ffea106deb99ec9392a8d9b44a6af00d0c83 (patch)
treede924ee3021db9fa3110892757126d60330b332c /sys/conf/files
parent8aa6837dc5073e0ff1bbc1f6fbdbf9a14c4444b0 (diff)
downloadFreeBSD-src-9764ffea106deb99ec9392a8d9b44a6af00d0c83.zip
FreeBSD-src-9764ffea106deb99ec9392a8d9b44a6af00d0c83.tar.gz
Initial commit of NEWCARD cardbus side (that actually compiles and works)
Files: dev/cardbus/cardbus.c dev/cardbus/cardbusreg.h dev/cardbus/cardbusvar.h dev/cardbus/cardbus_cis.c dev/cardbus/cardbus_cis.h dev/pccbb/pccbb.c dev/pccbb/pccbbreg.h dev/pccbb/pccbbvar.h dev/pccbb/pccbb_if.m This should support: - cardbus controllers: * TI 113X * TI 12XX * TI 14XX * Ricoh 47X * Ricoh 46X * ToPIC 95 * ToPIC 97 * ToPIC 100 * Cirrus Logic CLPD683x - cardbus cards * 3c575BT * 3c575CT * Xircom X3201 (includes IBM, Xircom and, Intel cards) [ 3com support already in kernel, Xircom will be committed real soon now] This doesn't work with 16bit pccards under NEWCARD. Enable in your config by having "device pccbb" and "device cardbus". (A "device pccard" will attach a pccard bus, but it means you system have a high chance of panicing when a 16bit card is inserted) It should be fairly simple to make a driver attach to cardbus under NEWCARD -- simply add an entry for attaching to cardbus on a new DRIVER_MODULE and add new device IDs as necessary. You should also make sure the card can be detached nicely without the interrupt routine doing something weird, like going into an infinite loop. Usually that should entail adding an additional check when a pci register or the bus space is read to check if it equals 0xffffffff. Any problems, please let me know. Reviewed by: imp
Diffstat (limited to 'sys/conf/files')
-rw-r--r--sys/conf/files7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 22a2537..baec5aa 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -146,6 +146,9 @@ dev/buslogic/bt_isa.c optional bt isa
dev/buslogic/bt_mca.c optional bt mca
dev/buslogic/bt_pci.c optional bt pci
dev/cardbus/cardbus.c optional cardbus
+dev/cardbus/cardbus_cis.c optional cardbus
+dev/pccbb/pccbb_if.m optional cardbus
+dev/pccbb/pccbb_if.m optional pccbb
dev/ccd/ccd.c count ccd
dev/cs/if_cs.c optional cs
#dev/dpt/dpt_control.c optional dpt
@@ -240,10 +243,12 @@ dev/mly/mly_pci.c optional mly
dev/musycc/musycc.c optional musycc
dev/null/null.c standard
dev/pccard/card_if.m optional card
+dev/pccard/card_if.m optional cardbus
dev/pccard/card_if.m optional pccard
dev/pccard/pccard.c optional pccard
dev/pccard/pccard_cis.c optional pccard
dev/pccard/pccard_cis_quirks.c optional pccard
+dev/pccard/power_if.m optional pccbb
dev/pccard/power_if.m optional pccard
dev/pcic/i82365.c optional pcic pccard
dev/pcic/i82365_isa.c optional pcic pccard
@@ -958,7 +963,7 @@ pci/isp_pci.c optional isp
pci/meteor.c count meteor pci
pci/ncr.c optional ncr
pci/ohci_pci.c optional ohci
-pci/pccbb.c optional pccbb cardbus
+dev/pccbb/pccbb.c optional pccbb
pci/pci.c count pci
pci/pci_compat.c optional pci compat_oldpci \
warning "Old PCI driver compatability shims present."
OpenPOWER on IntegriCloud