freebsd-src/sys
Jonathan Chen 6672edd320 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
..
alpha Implement write combining for crashdumps. This is useful when 2000-10-17 10:05:49 +00:00
amd64 Use appropriate resource management accessors instead of directly 2000-10-18 00:09:26 +00:00
boot Convert from the Alpha compontents to PowerPC ones. 2000-10-16 19:58:32 +00:00
cam Implement write combining for crashdumps. This is useful when 2000-10-17 10:05:49 +00:00
coda Forward-declare struct mbuf so that this file is less self-insufficient 2000-10-05 11:58:22 +00:00
compat A start at an implemention of linux_rt_sendsig & linux_rt_sigreturn 2000-10-17 00:00:20 +00:00
compile
conf Initial commit of NEWCARD cardbus side (that actually compiles and works) 2000-10-18 03:25:13 +00:00
contrib/dev Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
crypto Fix broken const'ness in declaration of sha1_loop(). 2000-10-09 18:49:14 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev Initial commit of NEWCARD cardbus side (that actually compiles and works) 2000-10-18 03:37:21 +00:00
fs Fix nullfs breakage caused by incomplete migration of v_interlock from 2000-10-15 06:25:42 +00:00
geom Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
gnu Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
i4b Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
i386 Use appropriate resource management accessors instead of directly 2000-10-18 00:09:26 +00:00
ia64 Implement write combining for crashdumps. This is useful when 2000-10-17 10:05:49 +00:00
isa Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
isofs/cd9660 Blow away the v_specmountpoint define, replacing it with what it was 2000-10-09 17:31:39 +00:00
kern - Wrap the sanity checks for staying in the idle loop for absurdly long 2000-10-17 23:12:37 +00:00
libkern Fix compilation of profiled kernels by including <machine/lock.h> 2000-10-14 08:34:27 +00:00
miscfs Fix nullfs breakage caused by incomplete migration of v_interlock from 2000-10-15 06:25:42 +00:00
modules After some complaints about the dir names, the random device is 2000-10-14 10:59:56 +00:00
msdosfs Blow away the v_specmountpoint define, replacing it with what it was 2000-10-09 17:31:39 +00:00
net BPF wants packets in host byte order whereas TUN_IFHEAD wants them 2000-10-15 18:49:17 +00:00
netatalk Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netatm Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
netgraph Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
netinet Backout my wrong attempt to fix the compilation warning in ip_input.c 2000-10-12 16:33:41 +00:00
netinet6 Fix broken const'ness in declaration of sha1_loop(). 2000-10-09 18:49:14 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey make sure we have IV that is random enough. memory allocator on 2000-08-28 08:24:46 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
netns Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs Make nfs PDIRUNLOCK aware. Now it is possible to use nullfs mounts on top 2000-10-15 08:06:32 +00:00
nfsclient Make nfs PDIRUNLOCK aware. Now it is possible to use nullfs mounts on top 2000-10-15 08:06:32 +00:00
nfsserver Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
ntfs Blow away the v_specmountpoint define, replacing it with what it was 2000-10-09 17:31:39 +00:00
nwfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
pc98 Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
pccard Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
pci Use appropriate resource management accessors instead of directly 2000-10-18 00:09:26 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc Move DELAY() from <machine/clock.h> to <sys/systm.h> 2000-10-15 09:51:49 +00:00
rpc
sys Add rman_get_size(), which does what you would expect. 2000-10-17 23:45:28 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs Initial commit of IFS - a inode-namespaced FFS. Here is a short 2000-10-14 03:02:30 +00:00
vm Implement write combining for crashdumps. This is useful when 2000-10-17 10:05:49 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00