freebsd-dev/sys/dev
Jonathan Lemon df5e198723 Lock down the network interface queues. The queue mutex must be obtained
before adding/removing packets from the queue.  Also, the if_obytes and
if_omcasts fields should only be manipulated under protection of the mutex.

IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on
the queue.  An IF_LOCK macro is provided, as well as the old (mutex-less)
versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which
needs them, but their use is discouraged.

Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF,
which takes care of locking/enqueue, and also statistics updating/start
if necessary.
2000-11-25 07:35:38 +00:00
..
aac Disable calling timeout() when doing bio. It was causing more prolems than 2000-11-19 23:46:21 +00:00
acpica Remove unused PCI includes. 2000-11-06 22:33:49 +00:00
advansys Remove unneeded <stddef.h> #includes. 2000-10-29 16:57:42 +00:00
agp Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
aha Make a few more mallocs use M_ZERO. 2000-10-29 16:29:05 +00:00
ahb Add the use of M_ZERO to some malloc calls. 2000-10-29 15:47:16 +00:00
aic Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
aic7xxx Don't attempt to reference a NULL scb_data area during teardown events 2000-11-13 03:35:43 +00:00
amd Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
amr Don't test the return value from the actual command when determining 2000-11-21 06:58:24 +00:00
an Close PR# 21843 and PR# 21864. This adds support for WEP and updates some 2000-11-13 23:04:16 +00:00
ar Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
asr Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
ata Fix a braino .. 2000-11-18 12:14:35 +00:00
atkbdc Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
awi Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
bktr Fix typo in comments 2000-10-31 14:30:29 +00:00
buslogic Classify all EISA cards with major firmware revions '2' as 742As. 2000-11-13 03:44:20 +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 Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
dc Add support for the Accton EN2242 MiniPCI adapter. This is just an 2000-11-14 19:35:22 +00:00
de Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
dec Add missing $FreeBSD$ 2000-05-01 19:54:26 +00:00
dgb Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
dpt Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
ed Argh, I have fixed this cut/paste error twice before. I must have 2000-11-25 07:25:08 +00:00
eisa Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
en Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +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 Disabled EGA/VGA 1bpp/4bpp modes support. This is not real fix, but this comes 2000-10-31 07:58:34 +00:00
fdc Untangle some resource matching loops that were getting on my nerves 2000-10-15 08:50:45 +00:00
fe The fe driver does not support pnp devices. 2000-11-10 14:05:47 +00:00
fxp Make usual 1-line cardbus support modification. 2000-10-22 06:41:46 +00:00
hea Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
hfa Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
ic Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
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 Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
isp I'm dropping the MAINTAINER request and see what happens. If it becomes 2000-10-31 05:55:54 +00:00
ispfw some copyright cleanups 2000-09-21 20:16:04 +00:00
joy Add ADS7182 as a known Joystick. 2000-01-18 08:38:35 +00:00
kbd Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
lmc Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
lnc Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
mc146818 Add missing $FreeBSD$ 2000-05-01 19:54:26 +00:00
mca Set the RF_SHAREABLE flage when we allocate an IRQ. 2000-03-13 11:43:53 +00:00
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 Catch up to moving headers: 2000-10-20 07:58:15 +00:00
mlx Further use of M_ZERO. 2000-11-18 15:21:22 +00:00
mly Further use of M_ZERO. 2000-11-18 15:21:22 +00:00
mse Initiate deorbit burn sequence for <machine/mouse.h>. 2000-10-09 08:08:36 +00:00
musycc Always emply the NCO to attenuate jitter. The Receive clock recovery 2000-11-04 23:23:27 +00:00
ncv Change flags of ncv and nsp driver. Both were conflicted with the flags 2000-10-29 06:54:32 +00:00
nsp Change flags of ncv and nsp driver. Both were conflicted with the flags 2000-10-29 06:54:32 +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 OpenFirmware/PowerPC loader, part 2. 2000-11-10 06:39:58 +00:00
pccard Regenerate. Note that pccarddevs_data.h is not used. 2000-11-25 03:43:37 +00:00
pccbb Cleanup allocation of resources for 16-bits. We now do the right 2000-10-22 04:37:57 +00:00
pcf Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
pci fix warning compile error about unused variable 2000-10-29 10:07:43 +00:00
pcic Remove some silly debug writes and code that we don't need 2000-10-18 02:22:39 +00:00
pdq Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
ppbus Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
ppc Add support for the PC87303 chipset (found on Miata alphas) and add 2000-07-20 09:28:07 +00:00
random Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
ray Changes necessary to make this work. 2000-11-12 21:43:52 +00:00
rc Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
rp Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06: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 Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
sio - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
sk Change MEXTADD usage to pass the two new arguments. 2000-11-11 23:08:22 +00:00
smbus Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
sn Make sn_pccard_products[] static 2000-11-25 07:25:45 +00:00
snc Remove unused #includes. 2000-10-31 08:22:26 +00:00
snp Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
sound Bump the buffersize from 0x1000 to 0x4000. 2000-11-21 12:22:11 +00:00
speaker Add PnP probe methods to some common AT hardware drivers. In each case, 2000-06-23 07:44:33 +00:00
sr Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
stg Remove unnecessary printf(). 2000-10-29 06:03:47 +00:00
streams Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-09-01 08:47:14 +00:00
sym Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
syscons Don't needlessly indirect the APM softstate. It does nothing but 2000-10-31 21:00:15 +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 Change MEXTADD usage to pass the two new arguments. 2000-11-11 23:08:22 +00:00
twe If we can't get a command to back the bio we just took off the queue, 2000-11-03 16:11:05 +00:00
tx Add missing delay after card reset. 2000-11-09 17:25:49 +00:00
usb Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
vinum Make sure we don't cross stripe boundaries when reviving striped plexes. 2000-11-17 23:40:01 +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 Update the vortex driver so that it no longer needs the PCI compat 2000-11-07 00:56:14 +00:00
wds Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
wi Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
wl Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
xe Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00