freebsd-dev/sys
Duncan Barclay d4f3c0d870 Moved debugging definitions to a header file.
Removed NETBSDTX spares.

Renamed a load of functions - specifcally
	start -> tx
	init has download, sj and assoc as sub-functions
	report_params and update params move to repparams/upparams

Tidied up old #define's

Got rid of old DPRINTF, made printf's RAY_PRINTF and panic's RAY_PANIC

All code KNF

Removed checking the ECF_TO_HOST area in ray_init - this gets hosed
when someone updates/read a parameter from the card so causes
unneeded grief. This required moving the tib check into ray_attach.

Changed handling of interface flags in ioctl so that promiscous mode
changes are only done as needed.

Sequences of comq entries can be added to an array and automatically
dealt with - used in ray_init_user and others.

Moved IFF_RUNNING checks from the comq commands to com_runq - still
not sure what to do so we PANIC - will be fixed.

ray_sj now checks to see if any of the parameters it can update can be
updated.

ray_sj_done now updates parameters to the current n/w set if we changed
them earlier. I was being a bit thick in earlier comments as to why this
check was done - the ECF never changes the parameters.

Assocication with APs is handled outside of ray_sj - need to add
WEP stuff if I ever get my hands on an AP.

ray_stop, ray_unload and ray_reset are currently broken - reset isn't used anyway.

ray_tx_XXX and ray_rx only have cosmetic changes.

Interrupt handler now gets command out of ccs. This is so ray_intr_ccs and
ray_intr_rcs don't need to remap CM (I'm trying to roll things up a bit as
it must be slowing us down).

ray_intr_ccs just vectors commands to functions or error checks - a
jump table could replace it in ray_intr.

Ditto for ray_intr_rcs.

mcast is currently broken - I need to do more work for ALLMULTI etc. This is reasonably easy to fix becuase of the comq array stuff.

Added a few more checks into repparams so that it is firmware version aware. It also uses the new comq framework.

Parameter updating is also much better with the update parameter return routine re-worked.

Added a couple of runq entry helper functions - one that malloc's a new
entry and fills it in with sensible defaults and another that adds and
runs a seqencue of entries.
2000-04-24 15:19:40 +00:00
..
alpha Remove unneeded <sys/buf.h> includes. 2000-04-18 15:15:39 +00:00
amd64 Disable PCI BIOS on PC-98. 2000-04-23 10:30:09 +00:00
boot Sync with the following changes. 2000-04-23 09:33:31 +00:00
cam Remove unneeded <sys/buf.h> includes. 2000-04-18 15:15:39 +00:00
coda Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
compat Fix include paths so that this builds correctly. 2000-04-21 05:54:11 +00:00
compile
conf Fix the grammar in my previous commit "lose" -> "loss". 2000-04-24 08:50:15 +00:00
contrib Enforce and respect the 8 unit limit. 2000-04-23 09:10:09 +00:00
crypto Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
ddb Add a new sysctl "debug.enter_debugger" (when the kernel is compiled 2000-01-27 22:27:34 +00:00
dev Moved debugging definitions to a header file. 2000-04-24 15:19:40 +00:00
fs Quiet an unused variable warning by commenting out a variable declaration 2000-04-22 17:58:40 +00:00
geom Complete the bio/buf divorce for all code below devfs::strategy 2000-04-15 05:54:02 +00:00
gnu Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
i4b Fix a problem which caused i/o resource allocation conflict of this 2000-03-09 20:57:47 +00:00
i386 Disable PCI BIOS on PC-98. 2000-04-23 10:30:09 +00:00
isa Enable PnP attachment for parallel port controllers. 2000-04-22 15:08:50 +00:00
isofs/cd9660 Complete the bio/buf divorce for all code below devfs::strategy 2000-04-15 05:54:02 +00:00
kern Add $FreeBSD$. 2000-04-22 15:13:06 +00:00
libkern Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
miscfs Quiet an unused variable warning by commenting out a variable declaration 2000-04-22 17:58:40 +00:00
modules - Added support for 1bpp and 4bpp BMP files. 2000-04-24 10:09:42 +00:00
msdosfs Complete the bio/buf divorce for all code below devfs::strategy 2000-04-15 05:54:02 +00:00
net A couple months ago, Kirk and I were doing a walkthrough of the radix-tree 2000-04-23 04:00:00 +00:00
netatalk Slight cleanup of aarp code 2000-03-29 17:12:09 +00:00
netatm Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
netgraph Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
netinet Let initialize th_sum before in6_cksum(), again. 2000-04-19 15:05:00 +00:00
netinet6 Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
netipx Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
netkey comment the string after #endif 2000-01-15 05:15:06 +00:00
netnatm Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
netncp Do not panic if request issued by kernel. 2000-04-05 10:54:02 +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 Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
nfsclient Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
nfsserver Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
ntfs Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
nwfs Remove unneeded <sys/buf.h> includes. 2000-04-18 15:15:39 +00:00
pc98 Sync with sys/i386/conf/GENERIC revision 1.252. 2000-04-23 09:04:42 +00:00
pccard o Preliminary support for mapping the CIS by the driver. 2000-04-20 08:37:46 +00:00
pci Reoganize/update the SysKonnect driver: 2000-04-22 02:16:41 +00:00
posix4 Add $FreeBSD$. 2000-04-22 15:13:06 +00:00
powerpc Remove B_READ, B_WRITE and B_FREEBUF and replace them with a new 2000-03-20 10:44:49 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
svr4 Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
sys Fix a warning with a forward struct declaration. 2000-04-23 02:43:44 +00:00
tools Use a seperate -c and -h mode. The vnode_if.c file is compiled only into 1999-12-12 16:43:05 +00:00
ufs Convert the magic MFS device to a VCHR. 2000-04-22 05:45:38 +00:00
vm Implement POSIX.1b shared memory objects. In this implementation, 2000-04-22 15:22:31 +00:00
Makefile Remove the old a.out-only boot loader, we don't use it any more. 2000-03-19 11:42:34 +00:00