brueffer
90549652f0
Add oltr(4)
2005-02-04 16:43:59 +00:00
glebius
c207fe4548
- Fix build with TRACE_MESSAGES defined
...
- Remove extra parenthesis
2005-02-04 16:08:20 +00:00
nyan
b8bf224a0f
cosmetic changes.
2005-02-04 15:34:52 +00:00
nyan
e349950dc9
The bs and wdc drivers are gone.
2005-02-04 15:29:54 +00:00
ume
a0122cc509
teach scope of IPv6 address to net.inet6.tcp6.getcred.
...
MFC after: 1 week
2005-02-04 14:43:05 +00:00
das
9aed1e79d6
Move machine-dependent crud to its own makefile.
2005-02-04 14:33:39 +00:00
das
ec83c7685d
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
delphij
aa38886281
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
nyan
ed3d473296
Fix pc98 support (broken by previous change).
2005-02-04 13:37:21 +00:00
nyan
64be87543b
Merged from sys/dev/sio/sio.c revision 1.457.
2005-02-04 13:35:21 +00:00
nyan
8ebefadd24
MFi386: revision 1.605.
2005-02-04 13:34:24 +00:00
harti
6861248dfc
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
nyan
7403bf4c90
MFi386: revision 1.514.
2005-02-04 13:33:46 +00:00
harti
9c5690ecb4
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
harti
d01d054183
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
harti
930c7a333a
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
harti
92c06224cb
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
harti
4a76daab98
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
harti
ec85d83f9f
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
63e5ce4945
Quote example file names consistently, and fix a small grammatical nit.
2005-02-04 11:37:49 +00:00
pjd
03d733ba6a
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
delphij
419a3a541d
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
delphij
fe20bac494
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
harti
297b2c0b1b
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
harti
f95865e632
Replace space, tab mixes by tabs.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 08:15:11 +00:00
harti
2eff456e45
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
harti
ef354ab8d7
Style: line up with tabulators.
2005-02-04 08:03:55 +00:00
harti
ee5929c16a
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
harti
81deb36901
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
harti
5f05e672b6
Some more easy constification.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 07:51:00 +00:00
njl
c673c301c6
Make the devclass static for now until deciding whether to share them.
2005-02-04 07:25:44 +00:00
njl
7471ede193
Bump __FreeBSD_version for cpufreq addition. Requested by marcus@
2005-02-04 06:59:58 +00:00
njl
cd2bcf063b
Sort includes a little so that bus.h comes before cpu.h (for device_t).
2005-02-04 06:58:09 +00:00
marcel
f79e8556cb
Include sys/bus.h before sys/cpu.h. The latter needs device_t.
2005-02-04 06:38:58 +00:00
ssouhlal
972ed7b626
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
ssouhlal
3dcdb56fbe
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
njl
1bea2c09c9
MFi386: Merge updates to the cpu pseudo-driver. Compile, not runtime
...
tested.
2005-02-04 06:02:37 +00:00
njl
45af79d5a7
Hook up the cpufreq framework, acpi_perf(4), and cpufreq(4) drivers.
2005-02-04 05:49:36 +00:00
njl
dd116803e8
Add the ACPI Performance states driver. This driver offers two or more
...
settings as exported via the ACPI _PSS method. OEMs use this interface
to encapsulate chipset or processor-specific methods (e.g., SpeedStep or
Powernow) and export their settings in a standard way. On systems that
have valid ACPI Performance states and a hardware-specific driver (e.g.,
ichss), acpi_perf(4) is preferred.
2005-02-04 05:45:07 +00:00
njl
f0b2a8dc33
Add a cpufreq driver for the SpeedStep capability in the ICH chipset. This
...
driver offers two settings. Information for this driver was obtained from
the Intel datasheets and by reviewing the Linux driver.
2005-02-04 05:42:29 +00:00
njl
ed695e1533
Add the cpufreq framework. This code manages multiple drivers and presents
...
a unified kernel and user interface for controlling cpu frequencies.
2005-02-04 05:39:19 +00:00
njl
09a005a215
Add an interface for cpufreq. The kernel interface lets other drivers
...
select the CPU frequency level (say for cooling). The driver interface
allows hardware drivers to announce themselves as capable of adjusting
an individual frequency setting.
2005-02-04 05:38:30 +00:00
njl
8834727d3e
Update the CPU attachments to return CPU_IVAR_PCPU as well as pass on
...
appropriate requests to any children.
2005-02-04 05:36:40 +00:00
njl
54a88fdbee
Add an implementation of cpu_est_clockrate(9). This function estimates the
...
current clock frequency for the given CPU id in units of Hz.
2005-02-04 05:32:56 +00:00
njl
9d006c413d
Add a new include to handle generic CPU interfaces.
2005-02-04 05:31:10 +00:00
mdodd
07c084eb10
Description from Dan:
...
Another handy libmap patch. Lets you do stuff like this:
LD_LIBMAP="libpthread.so.1=libthr.so.1" mythreadedapp
If you already have a program-specific override in libmap.conf, note
that you must use a program-specific override in LD_LIBMAP:
LD_LIBMAP="[mythreadedapp],libpthread.so.1=libthr.so.1" mythreadedapp
PR: bin/74471
Submitted by: Dan Nelson <dnelson AT allantgroup.com>
MFC after: 2 weeks
2005-02-04 02:46:41 +00:00
imp
fea9122ea2
Minor style nits
...
o remove unneeded {}
o no need to bzero sc
2005-02-04 02:32:43 +00:00
mdodd
c0a4f2af34
style(9)
2005-02-04 02:13:37 +00:00
grehan
df6317a68e
- recognize 7447A/7448 CPUs (used in miniMacs)
...
- enable 745x branch caches. Already enabled by OpenFirmware
on Macs, but reduces NetBSD diffs and usable by embedded folk.
Obtained from: NetBSD
2005-02-04 01:59:48 +00:00
brueffer
90f763f3f4
Manpage for Olicom Token Ring adapters, based on input by mdodd.
...
Reviewed by: mdodd
MFC after: 1 week
2005-02-04 01:48:27 +00:00