Commit Graph

98802 Commits

Author SHA1 Message Date
harti
d5c0563652 Declare a function to silence a warning. 2004-01-26 14:48:21 +00:00
harti
0890739279 Should use the non-locking versions of the ifqueue macros to
fiddle around with private queues, because their mutex is not
needed. All this processing should be protected by the netgraph
locking.
2004-01-26 14:46:35 +00:00
harti
cc7ffd1cab Replace a call to bzero() with an M_ZERO flag. Replace the MALLOC() with
malloc().
2004-01-26 14:44:36 +00:00
harti
2d831aa28a The version in the type description must be the ABI version, not
the netgraph version.

Correct the return type of a function: it wants to return an error
code, so it cannot be void.
2004-01-26 14:14:09 +00:00
harti
14cb10664f Get rid of the deprecated *LEN constants in favour of the new
*SIZ constants that include the trailing \0 byte.
2004-01-26 14:05:31 +00:00
eivind
98f2740a9c Make a message less scary (based on user feedback) 2004-01-26 13:45:21 +00:00
yar
e0fbbdee58 Document the interface method if_input(). 2004-01-26 12:51:00 +00:00
des
7487bc82a7 mdoc cleanup.
Submitted by:	ru
2004-01-26 12:50:30 +00:00
sobomax
7029665c48 Add support for WCCPv2. It should be enablem manually using link2
ifconfig(8) flag since header for version 2 is the same but IP payload
is prepended with additional 4-bytes field.

Inspired by:	Roman Synyuk <roman@univ.kiev.ua>
MFC after:	2 weeks
2004-01-26 12:33:56 +00:00
nyan
cbc4150e39 Fixed some style bugs. 2004-01-26 12:28:40 +00:00
harti
33024724e6 Get rid of the deprecated *LEN constants and use the new *SIZ
(that include the trailing \0) constants instead.
2004-01-26 12:24:07 +00:00
sobomax
6d77c2d2d2 (whilespace-only)
Kill trailing spaces.
2004-01-26 12:21:59 +00:00
harti
5ab2525e7f Add support for virtual interfaces. These have no phy chip and, hence, we
need to handle interfaces without phy specially.
2004-01-26 12:17:49 +00:00
harti
2a7fced5d0 Add a device type for virtual interfaces. 2004-01-26 12:13:11 +00:00
yar
d46e2b1219 Clearly state that upon SIOCSIFFLAGS, ifp->if_flags is updated
at the common ifioctl() level.
2004-01-26 12:08:23 +00:00
harti
170e73ecd3 Add an ATM sub-type for virtual interfaces. 2004-01-26 11:52:32 +00:00
yar
6b1a5f4424 Extend the description of SIOCSIFCAP. 2004-01-26 11:48:26 +00:00
dds
2f2a10fecb New -e flag, modifies the behavior of the -u uid flag to use the
effective user id, instead of the real user id.

MFC after:	2 weeks
2004-01-26 11:11:36 +00:00
harti
db4d2d4637 Update the upgrade instructions to account for the fact, that
there is no need anymore to re-create files. Also give a hint to
look for changes needed to the Makefiles.
2004-01-26 10:28:31 +00:00
ru
0455fe1058 Make this WARNS=3 clean. 2004-01-26 10:27:18 +00:00
ale
b215311598 Add a note to say that ULE is now the default scheduler in GENERIC.
PR:		docs/61870
Submitted by:	Xin LI <delphij@frontfree.net>
Approved by:	imp
2004-01-26 09:57:04 +00:00
obrien
0cf462d04b Fix problem where kgdb misses trap frames.
Reported by:	iedowse
2004-01-26 09:18:47 +00:00
obrien
5ce55a17ee Use proper name. 2004-01-26 09:17:26 +00:00
wpaul
d44bf296d3 Avoid possible panic on shutdown: if there are still some devices
attached when shutting down, kill our kthreads, but don't destroy
the mutex pool and uma zone resources since the driver shutdown
routine may need them later.
2004-01-26 08:36:18 +00:00
wes
ff2070cfd4 Revert changes of rev 1.55; replace with strong encouragement to
read fetch(3) as well.

Requested by:	des (maintainer)
2004-01-26 07:55:30 +00:00
brueffer
553b791a0f Fix sorting in the device list 2004-01-26 07:21:28 +00:00
des
02665f350f Previous commit did the reverse of what the log message said (and of
what I intended to do).  Really remove my middle name.
2004-01-26 07:09:12 +00:00
obrien
8de8111ac5 style.Makefile(5) 2004-01-26 06:10:26 +00:00
obrien
a995bcea9d Follow existing GDB style for frame_info vars. 2004-01-26 06:07:33 +00:00
obrien
88bf7650cf Remove trailing white space. 2004-01-26 06:05:04 +00:00
mckay
30265b4adb Use malloc() instead of alloca() to allocate a (potentially) large buffer
for storing the "diff -n" output.  Some files (eg ports/INDEX,v) are too
big nowadays to fit on the stack.

Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
2004-01-26 04:27:22 +00:00
mckay
78c458d45c The log file is more useful when line buffered.
Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
2004-01-26 04:08:43 +00:00
iedowse
5c3a320f7b Be much more strict about parsing tagged log messages from /dev/klog;
if the line doesn't match ^<%d>, then treat it as a regular kernel
printf line. Previously if a kernel printf message started with "<"
it would be interpreted as a log message, often with LOG_EMERG
level. This was triggered by some printfs in sys/dev/aic7xxx/, and
can also happen with the partial lines that result if syslogd cannot
keep up with the rate of arrival of kernel messages.

Reviewed by:	dwmalone
MFC after:	1 week
2004-01-26 00:46:46 +00:00
matk
507ddae3aa Fix a panic in dsp_clone when trying to access a sound
device that doesn't exists.  I'm using my discretion and
committing without mentor approval since Seigo is away.

Noticed by:	Maxime Henrion <mux@freebsd.org>
2004-01-25 22:46:22 +00:00
brueffer
eb51389e94 Trim IDE/ATA device list in favor of the list in the ata.4 manpage 2004-01-25 21:57:57 +00:00
bmah
86e32e8a51 New release note: PFIL_HOOKS in GENERIC. 2004-01-25 21:54:24 +00:00
emax
4332093169 Cleanup CFLAGS in libsdp(3) Makefile
Connect sdpd(8) to the build

Reviewed by: ru, imp (mentor)
2004-01-25 21:33:59 +00:00
ambrisko
fe992d62db - Existing code would ignore pccard_ether_delay when more then 9 seconds
- If there was an exiting dhclient running on the same interface as the
  new iface that left and returned then dhclient would be told to use the
  same interface twice.  Dhclient would fail and exit after getting
  confused.  Use "sort -u" on them to ensure no duplicates.
  This is a mostly a race condition on suspend and resume and how things
  happen to occur.
- Check for netmask being set on an interface rather then up.  An interface
  can be up but not configured.

Reviewed by:	mbr
2004-01-25 19:52:16 +00:00
des
1166334a41 Fix the case where .OBJDIR != .CURDIR. 2004-01-25 19:11:43 +00:00
cognet
58663a2dba Update Eterm entry to Eterm 0.9.2
Submitted by:	Geraud CONTINSOUZAS <geraud.continsouzas@wanadoo.fr>
MFC after:	3 days
2004-01-25 19:04:50 +00:00
des
eb06627907 This setup was used for amd64 and powerpc before they reached the point
where a normal buildworld would succeed.  It is no longer required.
2004-01-25 19:04:37 +00:00
rwatson
cc302d7bf7 When aborting fork() due to a failure, if using MAC, make sure to clean
up the p_label field.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, McAfee Research
2004-01-25 18:42:18 +00:00
ume
58f738b753 avoid duplicate free.
(though KAME doesn't decide how to fix it yet, I once commit it
to be in time for 5.2.1-RELEASE.)

Submitted by:	itojun
2004-01-25 17:18:12 +00:00
brueffer
bd192db42c Add SIS964 to the list of supported chipsets
Submitted by:	bmah
2004-01-25 16:13:49 +00:00
brueffer
cfc9bca190 Back out rev. 1.40
The hardware notes were wrong WRT supported chipsets (northbridges are not
ata related)

Submitted by:	bmah
2004-01-25 16:12:09 +00:00
bde
dffcf2bb23 Fixed some style bugs (insertion sort errors, tab lossage, and ornation
of EOF).
2004-01-25 15:27:23 +00:00
ru
0287790feb Register the uart(4)'s spin lock with witness(4). 2004-01-25 15:04:37 +00:00
ru
4ce105777c Correct the name of a loader(8) tunable. 2004-01-25 14:03:55 +00:00
des
84ff378ae4 Update the "overview of FreeBSD changes to OpenSSH-portable" to reflect
reality.
2004-01-25 13:09:56 +00:00
des
273945b667 Remove trailing whitespace. 2004-01-25 12:32:56 +00:00