summaryrefslogtreecommitdiffstats
path: root/sys/dev/hea/eni_transmit.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | Seperate does not exist in the english language.
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-251-5/+5
| | | | | | | | | | | | | | 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.
* Add back some #include <sys/systm.h> which were needed when <sys/ktr.h>phk2000-10-301-0/+1
| | | | | | doesn't mess us up. Noted by: Harti Brandt <brandt@fokus.gmd.de>
* Remove 86 unneeded #includesphk2000-10-271-1/+0
|
* Remove even more nneeded #includes.phk2000-10-141-19/+0
|
* Remove the #include kitchensink <netatm/kern_include.h> and addphk2000-10-121-1/+40
| | | | | | | | | the #includes to the respective source files. Also un-nest includes in <dev/hfa/fore_include.h> I have run src/tools/tools/kerninclude to remove 1239 clearly unneeded #includes reducing the total from 3524 includes to 2285.
* Incorrect uses of NULL changed to 0eivind1999-12-211-3/+3
|
* $Id$ -> $FreeBSD$peter1999-08-281-2/+2
|
* Fix warnings preparing for -Wall -Wcast-qualdillon1999-01-271-4/+4
| | | | | Also disable one usb module in LINT due to fatal compilation errors, temporary.
* Trivial stylish changes, mostly to silence gcc.phk1998-10-311-5/+5
| | | | | Reviewed by: Mike Spengler <mks@networkcs.com> Submitted by: phk
* Add a missing ++.phk1998-10-181-3/+3
| | | | | Noticed by: gcc via phk Submitted by: Mike Spengler <mks@networkcs.com>
* Add new files for HARP3phk1998-09-151-0/+823
Host ATM Research Platform (HARP), Network Computing Services, Inc. This software was developed with the support of the Defense Advanced Research Projects Agency (DARPA).
OpenPOWER on IntegriCloud