freebsd-dev/sys/pc98/cbus
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
..
30line.h Fixed warnings. 2000-10-15 04:54:17 +00:00
cbus_dma.c Merged from sys/i386/isa/isa_dma.c revision 1.6. 2000-06-28 03:18:51 +00:00
cbus.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
clock.c Catch up to the new swi code. 2000-10-25 20:21:42 +00:00
fdc.c Merged from the following changes. 2000-11-05 14:31:19 +00:00
fdcreg.h Merge from sys/isa/fd.c revision from 1.171 to 1.176 and sys/isa/fdreg.h 2000-01-09 10:01:21 +00:00
gdc.c Restore GDC mode to initial mode instead of 24KHz. 2000-10-28 11:27:56 +00:00
olpt.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
pckbd.c Used kbio.h and consio.h instead of machine/console.h. 2000-10-20 10:35:44 +00:00
pcrtc.c Catch up to the new swi code. 2000-10-25 20:21:42 +00:00
ppc.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ppcreg.h Port of the PC-98 ppc to the newbus system. 2000-01-20 00:58:49 +00:00
sc_machdep.h Synced with the sc driver in the sys/dev/syscons directory. 2000-01-20 15:16:49 +00:00
scgdcrndr.c Fixed include files to use sys/{cons,fb,kb}io.h instead of 2000-10-09 11:07:18 +00:00
scterm-sck.c Merged from sys/dev/syscons/scterm-sc.c revisions from 1.8 to 1.12. 2000-07-30 08:12:08 +00:00
scvtb.c Fixed include files to use sys/{cons,fb,kb}io.h instead of 2000-10-09 11:07:18 +00:00
sio.c Merged from the following changes. 2000-11-05 14:31:19 +00:00
syscons_cbus.c Used kbio.h and consio.h instead of machine/console.h. 2000-10-20 10:35:44 +00:00