Warner Losh
b272360897
As threatened, trim the UDPATING file to the branchpoint for RELENG_5.
...
People wishing to see prior changes are encouraged to look at the
UPDATING file on the RELENG_5 branch. Document when RELENG_5 was
branched, as well as the 5.3 release date, as shown in the CVS logs
for newvers.sh.
This change should not be MFC'd.
Noticed by: Matteo Riondato (and ru)
2005-02-04 21:22:06 +00:00
Maxim Konovalov
c44e20ebec
Backout rev. 1.17 per ru@ request: there are net.graph.recvspace and
...
net.graph.maxdgram sysctls.
2005-02-04 20:09:11 +00:00
David Schultz
e02846ce13
Fix a small scripting snafu in the previous revision.
2005-02-04 20:05:39 +00:00
Gleb Smirnoff
e5d73ca252
Call if_link_state_change() when link status changes.
...
PR: kern/76890
Reviewed by: rwatson, sam
2005-02-04 18:36:04 +00:00
David Schultz
b21154f677
Remove another vestige of support for a non-IEEE libm.
2005-02-04 18:32:13 +00:00
David Schultz
3f70824172
Reduce diffs against vendor source (Sun fdlibm 5.3).
2005-02-04 18:26:06 +00:00
Nate Lawson
26d5f7dfa7
Don't print out a failure message when an attach for FFixedHW fails.
...
Instead, just fail to attach so another hardware-specific driver can
claim the device. Also, clean up some small memory leaks in the failure
case.
2005-02-04 18:09:01 +00:00
Nate Lawson
b68b14adaf
Return a special status of "not supported" for functional fixed hardware
...
since this type of register should be handled by another driver.
2005-02-04 18:07:03 +00:00
Warner Losh
c4241acbb3
Don't rely on indirect inclusion of machine/bus.h to use
...
bus_space_{read,write}_* routines. This doesn't matter in the current
tree, but will matter soon (the rest of the tree appears to already be
clean).
2005-02-04 17:33:31 +00:00
Jeff Roberson
42a29039de
- Add ke_runq == NULL to the conditions which will cause us to abort
...
adjusting timeshare loads in sched_class(). This is only important if
the thread has never run, otherwise the state checks should work as
expected.
2005-02-04 17:22:46 +00:00
Hartmut Brandt
2e0af0312e
Where the returned line length from Buf_GetAll is not used just pass
...
a NULL to the function. Delete the now unused local variables.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 16:53:35 +00:00
Hartmut Brandt
f4dd241033
Rewrite of the buf code:
...
- convert Buf_AddByte from a macro to a function
- move #define's into the header file
- remove unused field in struct Buffer
- remove size fields - they can be easily computed
- inline Buf_OvAddByte
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 16:48:35 +00:00
Christian Brueffer
0ed0329f9c
Add a Token Ring section which lists devices supported by oltr(4) for now.
2005-02-04 16:45:11 +00:00
Christian Brueffer
69bef09c4e
Add oltr(4)
2005-02-04 16:43:59 +00:00
Gleb Smirnoff
7a1725fc46
- Fix build with TRACE_MESSAGES defined
...
- Remove extra parenthesis
2005-02-04 16:08:20 +00:00
Yoshihiro Takahashi
c94fa11fc4
cosmetic changes.
2005-02-04 15:34:52 +00:00
Yoshihiro Takahashi
328a9c4f3d
The bs and wdc drivers are gone.
2005-02-04 15:29:54 +00:00
Hajimu UMEMOTO
6d0a982bdf
teach scope of IPv6 address to net.inet6.tcp6.getcred.
...
MFC after: 1 week
2005-02-04 14:43:05 +00:00
David Schultz
79b990338f
Move machine-dependent crud to its own makefile.
2005-02-04 14:33:39 +00:00
David Schultz
e1b61b5b93
Remove wrappers and other cruft intended to support SVID, mistakes in
...
C90, and other arcana. Most of these features were never fully
supported or enabled by default.
Ok: bde, stefanf
2005-02-04 14:08:32 +00:00
Xin LI
76628ce773
Save last displayed file by having the "last" pointer global and save it
...
during we show the first file's tail. Instead of:
tarsier% tail -f 1 2
==> 1 <==
foo
bar
==> 2 <==
bar
foo
==> 2 <==
bar2
foo2
Now with this change, we have:
tarsier% tail -f 1 2
==> 1 <==
foo
bar
==> 2 <==
bar
foo
bar2
foo2
While I'm there, move a comment to where it should belong to. Also,
const'ify the "last" static because we will never need to change the
contents it points to.
MFC After: 1 week
2005-02-04 14:01:06 +00:00
Yoshihiro Takahashi
f787023e5a
Fix pc98 support (broken by previous change).
2005-02-04 13:37:21 +00:00
Yoshihiro Takahashi
9f83151765
Merged from sys/dev/sio/sio.c revision 1.457.
2005-02-04 13:35:21 +00:00
Yoshihiro Takahashi
0faf078231
MFi386: revision 1.605.
2005-02-04 13:34:24 +00:00
Hartmut Brandt
b8900c134b
None of the users of Buf_Discard used it to get rid of only a part of
...
the buffer. So replace Buf_Discard by Buf_Clear which just gets rid
of the entire contents.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 13:34:16 +00:00
Yoshihiro Takahashi
2e047e2eb8
MFi386: revision 1.514.
2005-02-04 13:33:46 +00:00
Hartmut Brandt
8e1c246001
Inline the ADDWORD() macro in the two places where it is used. It just
...
obfuscates the code.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 13:29:50 +00:00
Hartmut Brandt
c8bd426d66
Use _exit() instead of exit() when the exec() after a vfork() fails.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 13:26:37 +00:00
Hartmut Brandt
8ffb687e64
Move PrintAddr() from util.c into suff.c - the only file where it is
...
actuall used, and make it static.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 13:23:39 +00:00
Hartmut Brandt
ce8c7083f4
General whitespace cleanup: remove mixes of tabs and spaces, remove
...
space after function names, remove spaces on emtpy lines.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 12:38:57 +00:00
Hartmut Brandt
435916b011
Minor cleanup: make brk_string to return argc only if the pointer to it
...
was non-NULL. This let's us eliminated an otherwise unused variable.
shellneeded can never return -1 so there is no need to check for it and
hence no need for a variable to hold the returned value.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (partly)
2005-02-04 12:30:54 +00:00
Hartmut Brandt
acd5b69dd1
Further constification. Use a temporary hack (copying the input string)
...
until Var_Subst is fixed.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 12:10:20 +00:00
Ceri Davies
fa5c581ccf
Quote example file names consistently, and fix a small grammatical nit.
2005-02-04 11:37:49 +00:00
Pawel Jakub Dawidek
2c7f46173e
Improve EIO error description and mention that it can also occur while
...
writting.
MFC after: 3 days
2005-02-04 11:18:46 +00:00
Xin LI
8f70b0946d
This commit was generated by cvs2svn to compensate for changes in r141261,
...
which included commits to RCS files with non-trunk default branches.
2005-02-04 08:41:44 +00:00
Xin LI
8c384020b3
Import a (stripped) snapshot of OpenBSD's nc(1) an excellent
...
reimplementation of the famous tool that can do arbitrary TCP
and UDP connections and listens.
This gaves sysadm the same tool the crackers have, so that
they may learn what the network is about and protect it better.
For developers, this is an invaluable debugging tool, and a
good build block of scripts.
Discussed on: freebsd-hackers@
2005-02-04 08:41:44 +00:00
Hartmut Brandt
8cfa18d178
Use an extra variable to assign to instead of missusing an input
...
parameter. This will help in constification.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 08:31:42 +00:00
Hartmut Brandt
fec9b45897
Replace space, tab mixes by tabs.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 08:15:11 +00:00
Hartmut Brandt
f6dc7bd983
Use tabs to move to the comments instead of wild mixes of tabs and spaces.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 08:11:58 +00:00
Hartmut Brandt
a9fe0a1150
Style: line up with tabulators.
2005-02-04 08:03:55 +00:00
Hartmut Brandt
141d5e9f62
Use a typedef for the conditional handler function so that declaring
...
pointers to these functions is easier.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 08:02:41 +00:00
Hartmut Brandt
7a551242f8
Style: remove a space between a function name and the opening
...
paranthesis.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 07:56:40 +00:00
Hartmut Brandt
e23bc3a201
Some more easy constification.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 07:51:00 +00:00
Nate Lawson
7d3a06201d
Make the devclass static for now until deciding whether to share them.
2005-02-04 07:25:44 +00:00
Nate Lawson
d639e9636d
Bump __FreeBSD_version for cpufreq addition. Requested by marcus@
2005-02-04 06:59:58 +00:00
Nate Lawson
a287c0ffaf
Sort includes a little so that bus.h comes before cpu.h (for device_t).
2005-02-04 06:58:09 +00:00
Marcel Moolenaar
6fb59928a6
Include sys/bus.h before sys/cpu.h. The latter needs device_t.
2005-02-04 06:38:58 +00:00
Suleiman Souhlal
81ae703462
Set the scheduling class of the zeroidle thread to PRI_IDLE.
...
Reviewed by: jhb
Approved by: grehan (mentor)
MFC after: 1 week
2005-02-04 06:18:31 +00:00
Suleiman Souhlal
339a7e7fbb
Set the scheduling class of the idle threads to PRI_IDLE.
...
While there, set their priority with sched_prio() instead of changing it
'by hand'.
Reviewed by: jhb
Approved by: grehan (mentor)
2005-02-04 06:16:05 +00:00
Nate Lawson
dbfdf1736b
MFi386: Merge updates to the cpu pseudo-driver. Compile, not runtime
...
tested.
2005-02-04 06:02:37 +00:00