| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.
This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.
Approved By: re (in principle)
Reviewed By: njl, imp
Tested On: i386, amd64, sparc64
Obtained From: NetBSD (if_xname)
|
|
|
|
|
|
| |
instead of int where the variable has to hold buffer lengths,
use u_int for things like number of network interfaces which
in principle can never be negative.
|
| |
|
|
|
|
|
|
|
| |
While here delete to sys/types.h includes when sys/param.h is also included.
Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
These were a left over from when the private memory pools were
converted to use uma zones. The limit of UMA zones, however,
works differently. When a zone is limited to only one or two pages
than, on multi-cpu systems, processes can get stuck on the zonelimit,
because all remaining free items are in caches of other CPUs.
Also add rudimentary error handling in some places (panic) when a zone
cannot be created.
|
| |
|
| |
|
|
|
|
| |
Approved by: trb
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
|
|
|
| |
especially in troff files.
|
|
|
|
| |
Add FreeBSD Id tag where missing.
|
|
|
|
|
|
|
| |
arguments.
- Fix a few other places that assumed that sizeof(int) == sizeof(void *).
Reviewed by: mdodd
|
|
|
|
| |
include files to provide functions for kernel source (spans_kxdr.c)
|
| |
|
|
|
|
|
| |
code is now storage pool free, so I believe this only leaves the uni
base not cleaned.
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Nuke KM_ macros from port.h
This is a leadin step towards cleaning up this code as I wait for some
ATM cards and a ATM switch to arrive.
|
| |
|
| |
|
|
|
|
| |
Submitted by: LINT
|
|
|
|
| |
Fix various warnings while here anyway.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
unifdef -UFORE_SBUS -DFORE_PCI
s/ATM_KERNEL/_KERNER/g
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
can occur when talking to a Fore host which is using "bonded" interfaces.
|
| |
|
|
|
|
| |
it returns u_int on i386's and in_addr_t (u_int32_t) on alphas).
|
| |
|
|
|
|
| |
kernel compile
|
|
|
|
| |
kernel compile
|
|
|
|
| |
interfaces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Reviewed by: Mike Spengler <mks@networkcs.com>
Submitted by: phk
|
|
|
|
|
|
|
|
| |
Various Makefile related fixes.
-Wformat fixes.
Submitted by: Mike Spengler <mks@networkcs.com>
|
|
Host ATM Research Platform (HARP), Network Computing Services, Inc.
This software was developed with the support of the Defense Advanced
Research Projects Agency (DARPA).
|