summaryrefslogtreecommitdiffstats
path: root/sys/dev/hea
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | Seperate does not exist in the english language.
* Minor tweaks to get these to stop breaking LINT. They still dont workpeter2001-01-172-0/+11
| | | | and emit warnings, but we need to get the test coverage elsewhere.
* Add back some now needed #include <sys/systm.h>phk2000-12-072-0/+2
| | | | Fix various warnings while here anyway.
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-252-14/+12
| | | | | | | | | | | | | | 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-305-0/+5
| | | | | | doesn't mess us up. Noted by: Harti Brandt <brandt@fokus.gmd.de>
* Remove 86 unneeded #includesphk2000-10-279-46/+0
|
* Remove unneeded #include <machine/clock.h>phk2000-10-153-3/+0
|
* Remove even more nneeded #includes.phk2000-10-149-188/+0
|
* Remove the #include kitchensink <netatm/kern_include.h> and addphk2000-10-129-9/+360
| | | | | | | | | 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.
* Do some cleanups of the HARP atm codes interface into the system:phk2000-10-121-6/+0
| | | | | | | | Define the NETISR just like all the other NETISRs. unifdef -Usun -D__FreeBSD__ we will probably never support sun4c and if we do we can't use the solaris code anyway and I doubt anybody will be running Fore ATM cards in then in the first place.
* Remove un-needed #include's.mks2000-01-171-1/+0
| | | | Pointed out by: phk
* Incorrect uses of NULL changed to 0eivind1999-12-211-3/+3
|
* $Id$ -> $FreeBSD$peter1999-08-2813-22/+22
|
* Implement a new generic mechanism for attaching handler functions tomsmith1999-08-211-6/+8
| | | | | | | | | | | | | events, in order to pave the way for removing a number of the ad-hoc implementations currently in use. Retire the at_shutdown family of functions and replace them with new event handler lists. Rework kern_shutdown.c to take greater advantage of the use of event handlers. Reviewed by: green
* Allow configuration of up to 256 network interfaces per physical interface -mks1999-05-101-3/+3
| | | | just like the docs say it should.
* Enable PCI bus master during attach in case the BIOS hasn't done it for us.mks1999-05-101-47/+48
|
* Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:peter1999-05-091-6/+2
| | | | | | | | #define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data) .. to 2.2.x and 3.x if people think it's worth it. Driver writers can do this if it's not defined. (The reason for this is that I'm trying to progressively eliminate use of linker_sets where it hurts modularity and runtime load capability, and these DATA_SET's keep getting in the way.)
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tpeter1999-04-241-2/+6
| | | | hurt the driver portability to 3.x too much for where drivers are shared.
* Shorten line.eivind1999-04-121-3/+3
| | | | Prodded by: bde
* Staticize.eivind1999-04-111-3/+3
|
* Fix warnings preparing for -Wall -Wcast-qualdillon1999-01-273-14/+13
| | | | | Also disable one usb module in LINT due to fatal compilation errors, temporary.
* probe function changed from returning char * to const char *.dillon1998-12-141-4/+4
|
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-042-8/+11
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* Trivial stylish changes, mostly to silence gcc.phk1998-10-319-45/+45
| | | | | 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>
* Two patches from the HARP people:phk1998-09-173-10/+10
| | | | | | | | Various Makefile related fixes. -Wformat fixes. Submitted by: Mike Spengler <mks@networkcs.com>
* Add new files for HARP3phk1998-09-1513-0/+4646
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