| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NET_NEEDS_GIANT. netatm has been disconnected from the build for ten
months in HEAD/RELENG_7. Specifics:
- netatm include files
- netatm command line management tools
- libatm
- ATM parts in rescue and sysinstall
- sample configuration files and documents
- kernel support as a module or in NOTES
- netgraph wrapper nodes for netatm
- ctags data for netatm.
- netatm-specific device drivers.
MFC after: 3 weeks
Reviewed by: bz
Discussed with: bms, bz, harti
Notes:
svn path=/head/; revision=179308
|
| |
|
|
|
|
|
|
|
|
|
|
| |
after each SYSINIT() macro invocation. This makes a number of
lightweight C parsers much happier with the FreeBSD kernel
source, including cflow's prcc and lxr.
MFC after: 1 month
Discussed with: imp, rink
Notes:
svn path=/head/; revision=177253
|
| |
|
|
|
|
|
| |
Approved by: re (bruce)
Notes:
svn path=/head/; revision=170996
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=153587
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
struct ifnet or the layer 2 common structure it was embedded in have
been replaced with a struct ifnet pointer to be filled by a call to the
new function, if_alloc(). The layer 2 common structure is also allocated
via if_alloc() based on the interface type. It is hung off the new
struct ifnet member, if_l2com.
This change removes the size of these structures from the kernel ABI and
will allow us to better manage them as interfaces come and go.
Other changes of note:
- Struct arpcom is no longer referenced in normal interface code.
Instead the Ethernet address is accessed via the IFP2ENADDR() macro.
To enforce this ac_enaddr has been renamed to _ac_enaddr.
- The second argument to ether_ifattach is now always the mac address
from driver private storage rather than sometimes being ac_enaddr.
Reviewed by: sobomax, sam
Notes:
svn path=/head/; revision=147256
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139823
|
| |
|
|
|
|
|
|
| |
PR: kern/67012
Submitted by: Zhenmin <zli4@cs.uiuc.edu>
Notes:
svn path=/head/; revision=132403
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=121816
|
| |
|
|
| |
Notes:
svn path=/head/; revision=118165
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=118160
|
| |
|
|
|
|
|
|
|
|
| |
accessible as a sysctl and move the debugging stuff out of DIAGNOSTICS.
Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=117994
|
| |
|
|
|
|
|
| |
This resulted in a panic when detaching the uni31 signalling manager.
Notes:
svn path=/head/; revision=117968
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117963
|
| |
|
|
|
|
|
|
| |
these may be called from contexts where we cannot sleep (callout handlers
for example).
Notes:
svn path=/head/; revision=117922
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=117886
|
| |
|
|
|
|
|
| |
M_WAITOK nor M_NOWAIT.
Notes:
svn path=/head/; revision=117740
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116200
|
| |
|
|
|
|
|
|
|
| |
than use a macro that tries to do conversions in place.
Compile tested on: sparc64
Notes:
svn path=/head/; revision=111376
|
| |
|
|
|
|
|
| |
Approved by: trb
Notes:
svn path=/head/; revision=111119
|
| |
|
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Notes:
svn path=/head/; revision=109623
|
| |
|
|
|
|
|
| |
especially in troff files.
Notes:
svn path=/head/; revision=108533
|
| |
|
|
|
|
|
| |
Add FreeBSD Id tag where missing.
Notes:
svn path=/head/; revision=108470
|
| |
|
|
|
|
|
|
|
|
| |
arguments.
- Fix a few other places that assumed that sizeof(int) == sizeof(void *).
Reviewed by: mdodd
Notes:
svn path=/head/; revision=106651
|
| |
|
|
|
|
|
|
| |
<net/if_var.h>. But depend on the standard pollution in <sys/param.h>.
Removed unused includes.
Notes:
svn path=/head/; revision=104139
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=98170
|
| |
|
|
| |
Notes:
svn path=/head/; revision=95170
|
| |
|
|
|
|
|
|
|
|
| |
- 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.
Notes:
svn path=/head/; revision=95063
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92766
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=83299
|
| |
|
|
|
|
|
|
|
| |
PR: kern/28748
Submitted by: Richard Hodges <rh@matriplex.com>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=79589
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72645
|
| |
|
|
|
|
|
| |
Fix various warnings while here anyway.
Notes:
svn path=/head/; revision=69726
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67930
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67164
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=67004
|
| |
|
|
|
|
|
|
| |
unifdef -UFORE_SBUS -DFORE_PCI
s/ATM_KERNEL/_KERNER/g
Notes:
svn path=/head/; revision=67002
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=66988
|
| |
|
|
|
|
|
| |
Pointed out by: phk
Notes:
svn path=/head/; revision=56202
|
| |
|
|
| |
Notes:
svn path=/head/; revision=56063
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
| |
kernel compile
Notes:
svn path=/head/; revision=43311
|
| |
|
|
|
|
|
| |
kernel compile
Notes:
svn path=/head/; revision=43305
|
| |
|
|
|
|
|
| |
with multiple ATM physical interfaces.
Notes:
svn path=/head/; revision=42865
|
| |
|
|
| |
Notes:
svn path=/head/; revision=42862
|
| |
|
|
|
|
|
| |
Submitted by: Mike Spengler <mks@circe.networkcs.com>
Notes:
svn path=/head/; revision=41689
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=41514
|
| |
|
|
|
|
|
| |
Submitted by: Mike Spengler <mks@networkcs.com>
Notes:
svn path=/head/; revision=40801
|
| |
|
|
|
|
|
| |
Submitted by: Mike Spengler <mks@networkcs.com>
Notes:
svn path=/head/; revision=40800
|
| |
|
|
|
|
|
|
| |
Reviewed by: Mike Spengler <mks@networkcs.com>
Submitted by: phk
Notes:
svn path=/head/; revision=40799
|
| |
|
|
|
|
|
|
|
|
|
| |
Various Makefile related fixes.
-Wformat fixes.
Submitted by: Mike Spengler <mks@networkcs.com>
Notes:
svn path=/head/; revision=39412
|