| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: kern/67012
Submitted by: Zhenmin <zli4@cs.uiuc.edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
accessible as a sysctl and move the debugging stuff out of DIAGNOSTICS.
Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks
|
|
|
|
| |
This resulted in a panic when detaching the uni31 signalling manager.
|
| |
|
|
|
|
|
| |
these may be called from contexts where we cannot sleep (callout handlers
for example).
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
M_WAITOK nor M_NOWAIT.
|
| |
|
|
|
|
|
|
| |
than use a macro that tries to do conversions in place.
Compile tested on: sparc64
|
|
|
|
| |
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
|
|
|
|
|
| |
<net/if_var.h>. But depend on the standard pollution in <sys/param.h>.
Removed unused includes.
|
|
|
|
|
|
|
|
|
|
| |
be a few bits left to clean from the HARP code in terms of what is using
the storage pools; once that's done, the memory management code can be
removed entirely.
This commit effectively changes the use of dynamic memory routines from
atm_allocate, atm_free, atm_release_pool to uma_zcreate, uma_zalloc,
uma_zfree, uma_zdestroy.
|
| |
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
| |
PR: kern/28748
Submitted by: Richard Hodges <rh@matriplex.com>
MFC after: 2 weeks
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
Pointed out by: phk
|
| |
|
| |
|
|
|
|
| |
kernel compile
|
|
|
|
| |
kernel compile
|
|
|
|
| |
with multiple ATM physical interfaces.
|
| |
|
|
|
|
| |
Submitted by: Mike Spengler <mks@circe.networkcs.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Submitted by: Mike Spengler <mks@networkcs.com>
|
|
|
|
| |
Submitted 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).
|