freebsd-skq/sys/dev
jon 8d4d849c73 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
2000-10-18 03:37:21 +00:00
..
aac Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
acpi Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
advansys Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
agp Use appropriate resource management accessors instead of directly 2000-10-18 00:09:26 +00:00
aha Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ahb Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
aic Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
aic7xxx Bring back the ability to send cdbs of length 13->32 bytes. This was lost 2000-10-12 14:36:27 +00:00
amd Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
amr Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
an Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ar Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
asr Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ata Implement write combining for crashdumps. This is useful when 2000-10-17 10:05:49 +00:00
atkbdc Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
awi Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
bktr Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
buslogic Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
cardbus Initial commit of NEWCARD cardbus side (that actually compiles and works) 2000-10-18 03:37:21 +00:00
ccd Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
cs Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
cy Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
dc Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
de Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
dec
dgb Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
dpt Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ed Network modules are all "if_foo" not "foo". Avoid the confusing spew that 2000-10-15 20:23:27 +00:00
eisa
en Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ep Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ex Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
fb * Completely rewrite the alpha busspace to hide the implementation from 2000-08-28 21:48:13 +00:00
fdc Untangle some resource matching loops that were getting on my nerves 2000-10-15 08:50:45 +00:00
fe Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
fxp Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
hea Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
hfa Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ic
ichsmb Driver for the Intel 82801AA (ICH) SMBus controller and compatibles. 2000-10-06 00:09:46 +00:00
ida Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ie Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
iicbus Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
isp Roll minor revision- for once we'll use this because.... if revision >= 5.4, 2000-10-17 18:18:14 +00:00
ispfw some copyright cleanups 2000-09-21 20:16:04 +00:00
joy
kbd Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
lmc Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
lnc
mc146818
mca
mcd Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
md Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
mii Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
mlx Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
mly Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
mse Initiate deorbit burn sequence for <machine/mouse.h>. 2000-10-09 08:08:36 +00:00
musycc Many and sundry changes. Still alpha quality. 2000-08-29 12:32:01 +00:00
null During a verbose boot, call the null device 'null' rather than 'null0' to 2000-10-06 00:46:29 +00:00
ofw "Ok, my loader's now up to putting up a prompt. It probes disks partially 2000-10-16 10:46:22 +00:00
pccard o Remove a boatload of debugging printfs. 2000-10-18 02:21:00 +00:00
pccbb Initial commit of NEWCARD cardbus side (that actually compiles and works) 2000-10-18 03:25:13 +00:00
pcf Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
pci Forgot to commit this last night. 2000-10-16 19:43:44 +00:00
pcic Remove some silly debug writes and code that we don't need 2000-10-18 02:22:39 +00:00
pdq Use appropriate resource management accessors instead of directly 2000-10-18 00:09:26 +00:00
ppbus Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ppc
random After some complaints about the dir names, the random device is 2000-10-14 10:59:56 +00:00
ray
rc Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
rp Fix a bug upon initialization. (_INDX_ADDR -> _INDX_DATA) 2000-08-21 13:18:56 +00:00
scd Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
sf Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
si Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
sio Add MAE0021 - Jetstream Int V.90 56k Voice Series 2. 2000-10-10 10:06:26 +00:00
sk Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
smbus Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
sn Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
snc Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
snp
sound Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
speaker
sr
streams Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-09-01 08:47:14 +00:00
sym Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
syscons Initiate deorbit burn sequence for <machine/mouse.h>. 2000-10-09 08:08:36 +00:00
tdfx Added some handling code to work with SLI configs, and removed some unused 2000-10-10 03:51:54 +00:00
ti Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
twe Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
tx Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
usb Undo previous commit. <machine/clock.h> is needed for the prototype 2000-10-16 18:50:00 +00:00
vinum Avoid impending world breakage. 2000-10-13 13:43:37 +00:00
vn Call make_dev() with the correct minor number. 2000-09-26 19:09:44 +00:00
vr Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
vx Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
wi Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
wl Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
xe Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00