]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years ago* add support for amd-768 audio, as used on many dual athlon boards. only
cg [Sun, 6 Jul 2003 03:11:06 +0000 (03:11 +0000)]
* add support for amd-768 audio, as used on many dual athlon boards.  only
tested for playback.

* modify device name strings for ich chips to better conform with their
common names.

* remove superflous 'AC97 controller' from nforce device names.

MFC after: 1 week

21 years agoFix Ctrl-\
ache [Sun, 6 Jul 2003 03:09:40 +0000 (03:09 +0000)]
Fix Ctrl-\

Submitted by: Per Kristian Hove <Per.Hove@math.ntnu.no>

21 years agoReorganize wrapper around setrunelocale() to mark it as deprecated
ache [Sun, 6 Jul 2003 02:03:37 +0000 (02:03 +0000)]
Reorganize wrapper around setrunelocale() to mark it as deprecated
in FreeBSD 6

21 years agoDisallow multiple 'machine' directives in a kernel configuration
jkoshy [Sun, 6 Jul 2003 02:00:52 +0000 (02:00 +0000)]
Disallow multiple 'machine' directives in a kernel configuration
file.

Reviewed by: ru, bde

21 years agoNew section 5 manual page detailing our kernel configuration file
jkoshy [Sun, 6 Jul 2003 01:52:26 +0000 (01:52 +0000)]
New section 5 manual page detailing our kernel configuration file
format.

Reviewed by: Ruslan Ermilov <ru@freebsd.org>, Jens
Schweikhardt <schweikh@schweikhardt.net>

21 years agoDon't call malloc() and free() while in the debugger and unwinding
marcel [Sat, 5 Jul 2003 23:21:58 +0000 (23:21 +0000)]
Don't call malloc() and free() while in the debugger and unwinding
to get a stacktrace. This does not work even with M_NOWAIT when we
have WITNESS and is generally a bad idea (pointed out by bde@). We
allocate an 8K heap for use by the unwinder when ddb is active. A
stack trace roughly takes up half of that in any case, so we have
some room for complex unwind situations. We don't want to waste too
much space though. Due to the nature of unwinding, we don't worry
too much about fragmentation or performance of unwinding while in
the debugger. For now we have our own heap management, but we may
be able to leverage from existing code at some later time.

While here:
o  Make sure we actually free the unwind environment after unwinding.
   This fixes a memory leak.
o  Replace Doug's license with mine in unwind.c and unwind.h. Both
   files don't have much, if any, of Doug's code left since the EPC
   syscall overhaul and the import of the unwinder.
o  Remove dead code.
o  Replace M_NOWAIT with M_WAITOK for all remaining malloc() calls.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r117264,
ru [Sat, 5 Jul 2003 22:58:04 +0000 (22:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r117264,
which included commits to RCS files with non-trunk default branches.

21 years agoFix for troff mode. The
ru [Sat, 5 Jul 2003 22:58:04 +0000 (22:58 +0000)]
Fix for troff mode.  The

.Pp
.Bd -literal
...

fragment resulted in two vertical spaces.  From ChangeLog:

2003-07-04  Ruslan Ermilov  <ru@FreeBSD.org>

        * tmac/doc.tmac (Bd): Change to doc-Li-font later.

21 years agoLock a vm object when freeing a page from it.
alc [Sat, 5 Jul 2003 20:51:22 +0000 (20:51 +0000)]
Lock a vm object when freeing a page from it.

21 years agoChanges following CScout analysis:
dds [Sat, 5 Jul 2003 15:18:44 +0000 (15:18 +0000)]
Changes following CScout analysis:

- Removed dead declarations
- Made objects that should have been declared as static, static.

The changes use STATIC instead of static, following the existing
convention in the rest of the code.

Approved by: schweikh (mentor)
MFC after: 2 weeks

21 years agoAdd ARMSCII-8 console stuff
ache [Sat, 5 Jul 2003 12:38:18 +0000 (12:38 +0000)]
Add ARMSCII-8 console stuff

PR:             53944
Submitted by:   Vahe Khachikyan <vahe@khachikyan.de>

21 years agoAdd ARMSCSII-8 locale
ache [Sat, 5 Jul 2003 12:03:16 +0000 (12:03 +0000)]
Add ARMSCSII-8 locale

Submitted by:   Vahe Khachikyan <vahe@khachikyan.de>
PR:             53944

21 years agoAdd ARMSCII-8 locale dirs
ache [Sat, 5 Jul 2003 11:41:10 +0000 (11:41 +0000)]
Add ARMSCII-8 locale dirs

Submitted by:   Vahe Khachikyan <vahe@khachikyan.de>
PR:             53944

21 years agoMake the conditional, which decides what siglist to put a signal on,
mtm [Sat, 5 Jul 2003 08:37:40 +0000 (08:37 +0000)]
Make the conditional, which decides what siglist to put a signal on,
more concise and improve the comment.

Submitted by: bde

21 years agoadd the mbr_enc file so that we can load the module on sparc64.
jmg [Sat, 5 Jul 2003 08:11:43 +0000 (08:11 +0000)]
add the mbr_enc file so that we can load the module on sparc64.

21 years agoAdd more useful cross-references to the SEE ALSO section.
tjr [Sat, 5 Jul 2003 07:55:34 +0000 (07:55 +0000)]
Add more useful cross-references to the SEE ALSO section.

21 years agoCatch up with recent FP-related changes to scanf.3 and vfwscanf.c.
tjr [Sat, 5 Jul 2003 07:47:55 +0000 (07:47 +0000)]
Catch up with recent FP-related changes to scanf.3 and vfwscanf.c.

21 years agoFix two incorrect uses of sizeof: we need to divide the size of the buffer
tjr [Sat, 5 Jul 2003 03:39:23 +0000 (03:39 +0000)]
Fix two incorrect uses of sizeof: we need to divide the size of the buffer
by sizeof(wchar_t) to get the number of wide characters it contains.
Remove the !hardway micro-optimisation from the CT_INT case to avoid
having to fix it for wide characters.

21 years agoMerge recent floating point conversion changes from vfscanf.c.
tjr [Sat, 5 Jul 2003 02:35:06 +0000 (02:35 +0000)]
Merge recent floating point conversion changes from vfscanf.c.

21 years agoFix a signedness problem in zstty_cncheckc(): when no character is ready,
tmm [Sat, 5 Jul 2003 01:31:30 +0000 (01:31 +0000)]
Fix a signedness problem in zstty_cncheckc(): when no character is ready,
-1 should be returned, but it was assigned to an uint8_t (which is
extended to an int to form the return value), causing 255 to be returned
instead.

21 years agoRemove trailing whitespace.
rwatson [Sat, 5 Jul 2003 01:24:36 +0000 (01:24 +0000)]
Remove trailing whitespace.

21 years agoDrop the pid file after we call the final daemon call. w/o -n would
imp [Sat, 5 Jul 2003 00:43:50 +0000 (00:43 +0000)]
Drop the pid file after we call the final daemon call.  w/o -n would
give the wrong pid.

Submitted by: ru and Lukas Ertl
PR: 54113

21 years agoAdd buffalo airstation wli2-cf-s11 I got in japan to the list
imp [Sat, 5 Jul 2003 00:31:51 +0000 (00:31 +0000)]
Add buffalo airstation wli2-cf-s11 I got in japan to the list

21 years agoI was so happy I found the semi-colon from hell that I didn't
mtm [Fri, 4 Jul 2003 23:28:42 +0000 (23:28 +0000)]
I was so happy I found the semi-colon from hell that I didn't
notice another typo in the same line. This typo makes libthr unuseable,
but it's effects where counter-balanced by the extra semicolon, which
made libthr remarkably useable for the past several months.

21 years agoremove \n at end of panic strings. They are added by the call to panic.
jmg [Fri, 4 Jul 2003 23:11:13 +0000 (23:11 +0000)]
remove \n at end of panic strings.  They are added by the call to panic.

This brings us more in line with Net/OpenBSD

Obtained from: Net/OpenBSD

21 years agoAdd vm object locking to pmap_prefault().
alc [Fri, 4 Jul 2003 22:13:39 +0000 (22:13 +0000)]
Add vm object locking to pmap_prefault().

21 years agoImplement the 'ipsec' option to match packets coming out of an ipsec tunnel.
luigi [Fri, 4 Jul 2003 21:42:32 +0000 (21:42 +0000)]
Implement the 'ipsec' option to match packets coming out of an ipsec tunnel.
Should work with both regular and fast ipsec (mutually exclusive).
See manpage for more details.

Submitted by: Ari Suutari (ari.suutari@syncrontech.com)
Revised by: sam
MFC after: 1 week

21 years agoCorrect some comments, add opcode O_IPSEC to match packets
luigi [Fri, 4 Jul 2003 21:39:51 +0000 (21:39 +0000)]
Correct some comments, add opcode O_IPSEC to match packets
coming out of an ipsec tunnel.

21 years agoremove whitespace at end of line
luigi [Fri, 4 Jul 2003 20:44:25 +0000 (20:44 +0000)]
remove whitespace at end of line

21 years ago - Parse the cpu topology map in sched_setup().
jeff [Fri, 4 Jul 2003 19:59:00 +0000 (19:59 +0000)]
 - Parse the cpu topology map in sched_setup().
 - Associate logical CPUs on the same physical core with the same kseq.
 - Adjust code that assumed there would only be one running thread in any
   kseq.
 - Wrap the HTT code with a ULE_HTT_EXPERIMENTAL ifdef.  This is a start
   towards HyperThreading support but it isn't quite there yet.

21 years agoDon't be so chatty about osreldate.h creation steps when make(1)
ru [Fri, 4 Jul 2003 19:54:06 +0000 (19:54 +0000)]
Don't be so chatty about osreldate.h creation steps when make(1)
is run in non-compat mode (-j without -B).

21 years agoMake jexec duplicate the actions of the shell searching for an
bmilekic [Fri, 4 Jul 2003 19:14:27 +0000 (19:14 +0000)]
Make jexec duplicate the actions of the shell searching for an
executable file even if the specified action/filename does not
contain a '/' character; convert execv() to execvp().

Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
PR: bin/54109

21 years agoDon't hardcore PATH into BINMAKE; the latter should only be
ru [Fri, 4 Jul 2003 17:35:26 +0000 (17:35 +0000)]
Don't hardcore PATH into BINMAKE; the latter should only be
comprised of the path to a make(1) binary (possibly the one
built by the "make" target in this Makefile), and a path to
a fresh share/mk.  The idea is to allow "make release" pick
up the right "make" binary, if one exists.

This fixes release.5 I broke with the last commit here; the
second PATH here was overriding the right one from WMAKEENV
while rebuilding the "build-tools" for crunched binaries.

21 years agoMerge the following from the English version:
hrs [Fri, 4 Jul 2003 15:39:29 +0000 (15:39 +0000)]
Merge the following from the English version:

1.162 -> 1.163 hardware/common/dev.sgml
1.580 -> 1.582 relnotes/common/new.sgml

21 years agoAdd a missing </para>.
hrs [Fri, 4 Jul 2003 15:23:47 +0000 (15:23 +0000)]
Add a missing </para>.

21 years agoFixed the last-minute bug I made in previous commit.
ru [Fri, 4 Jul 2003 14:39:17 +0000 (14:39 +0000)]
Fixed the last-minute bug I made in previous commit.

21 years agoFixed style bugs related to parentheses in Makefile.inc1.
ru [Fri, 4 Jul 2003 14:27:06 +0000 (14:27 +0000)]
Fixed style bugs related to parentheses in Makefile.inc1.

Submitted by: bde

Fixed nearby bug: propagate the root Makefile's idea of
the appropriate "make" binary down to release/Makefile.

21 years agoAdd compatibility for FreeBSD-4.
simokawa [Fri, 4 Jul 2003 14:04:41 +0000 (14:04 +0000)]
Add compatibility for FreeBSD-4.

21 years agoDelete a superfluous semi-colon.
harti [Fri, 4 Jul 2003 13:41:03 +0000 (13:41 +0000)]
Delete a superfluous semi-colon.

Pointed out by: nick@garage.freebsd.pl

21 years agoFixed broken arithmetic expression parser.
ru [Fri, 4 Jul 2003 13:33:48 +0000 (13:33 +0000)]
Fixed broken arithmetic expression parser.

Reminded by: bde
In memory of: alane

21 years agoRemove unnecessary cast.
phk [Fri, 4 Jul 2003 12:23:43 +0000 (12:23 +0000)]
Remove unnecessary cast.

21 years agoRegen:
sheldonh [Fri, 4 Jul 2003 12:23:36 +0000 (12:23 +0000)]
Regen:

* Boemler: vendors.txt (2003-06-30)

21 years agoUse the f_vnode field to tell which file descriptors have a vnode.
phk [Fri, 4 Jul 2003 12:20:27 +0000 (12:20 +0000)]
Use the f_vnode field to tell which file descriptors have a vnode.

21 years agoWe just cached the inode pointer, no need to call VTOI() again.
phk [Fri, 4 Jul 2003 12:16:33 +0000 (12:16 +0000)]
We just cached the inode pointer, no need to call VTOI() again.

21 years ago- Ensure that the busdma API won't do deferred loads by using the
mux [Fri, 4 Jul 2003 11:46:23 +0000 (11:46 +0000)]
- Ensure that the busdma API won't do deferred loads by using the
  BUS_DMA_NOWAIT flag, since the code can't handle this.
- Use NULL, NULL for the lockfunc and lockfuncarg parameters of
  bus_dma_tag_create() since deferred loads can't happen now.

21 years agoIt's unfair how one extraneous semi-colon can cause so much grief.
mtm [Fri, 4 Jul 2003 11:18:07 +0000 (11:18 +0000)]
It's unfair how one extraneous semi-colon can cause so much grief.

21 years agoThe em(4) driver has been converted to busdma and doesn't use
mux [Fri, 4 Jul 2003 10:15:16 +0000 (10:15 +0000)]
The em(4) driver has been converted to busdma and doesn't use
vtophys() anymore, so remove the alpha hack which defines
vtophys() to alpha_XXX_dmamap().

21 years agoCorrectly lock/unlock signal lock. I must be in bad state, need to sleep.
davidxu [Fri, 4 Jul 2003 08:51:37 +0000 (08:51 +0000)]
Correctly lock/unlock signal lock. I must be in bad state, need to sleep.

21 years agoAlways check and restore sigaction previously set, also access user parameter
davidxu [Fri, 4 Jul 2003 07:49:06 +0000 (07:49 +0000)]
Always check and restore sigaction previously set, also access user parameter
outside of lock.

21 years agostyle(9)
mtm [Fri, 4 Jul 2003 06:59:28 +0000 (06:59 +0000)]
style(9)
o Remove double-spacing, and while I'm here add a couple
  of braces as well.

Requested by: bde

21 years agoIn setpgrp(), don't assume a pgrp won't exist if the provided pgid is the same
cognet [Fri, 4 Jul 2003 02:21:28 +0000 (02:21 +0000)]
In setpgrp(), don't assume a pgrp won't exist if the provided pgid is the same
as the target process' pid, it may exist if the process forked before leaving
the pgrp.
Thix fixes a panic that happens when calling setpgid to make a process
re-enter the pgrp with the same pgid as its pid if the pgrp still exists.

21 years agoWARNING: white space diff
jmg [Fri, 4 Jul 2003 01:50:39 +0000 (01:50 +0000)]
WARNING: white space diff

This code reduces the number of trailing white space to be more in line
w/ NetBSD.  I don't regenerate usbdevs, saving that for when it really
changes.

21 years agokse_thr_interrupt should target the thread, specifically.
mtm [Fri, 4 Jul 2003 01:41:32 +0000 (01:41 +0000)]
kse_thr_interrupt should target the thread, specifically.

Requested by: davidxu

21 years agoAvoid using the global offset table to get the address of _DYNAMIC in
jake [Fri, 4 Jul 2003 00:05:15 +0000 (00:05 +0000)]
Avoid using the global offset table to get the address of _DYNAMIC in
rtld.  When _DYNAMIC is referenced normally from C the global offset
table is used implicitly, but newer versions of binutils don't initialize
it statically in the binary, so this doesn't work until rtld is relocated,
which _DYNAMIC is needed for...  So, as on other systems with the same
problem, we disassemble a call instruction to _DYNAMIC in order to get
its address.

21 years agoAllow the caller to get an erro direclty if we sent the packet immediatly.
julian [Thu, 3 Jul 2003 22:09:47 +0000 (22:09 +0000)]
Allow the caller to get an erro direclty if we sent the packet immediatly.
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
MFC after: 1 day

21 years agoDue to extreme bogusness in the pci bus layer, these drivers were
imp [Thu, 3 Jul 2003 21:39:53 +0000 (21:39 +0000)]
Due to extreme bogusness in the pci bus layer, these drivers were
forced to do slightly bogus power state manipulation.  However, this
is one of those features that is preventing further progress, so mark
them as BURN_BIRDGES like I did for the drivers in sys/dev/...

This, like the other change, are a no-op unless you have BURN_BRIDGES
in your kernel.

21 years agoNew release notes: mount_nwfs(8)/mount_portalfs(8)/mount_msbfs(8)
bmah [Thu, 3 Jul 2003 20:45:44 +0000 (20:45 +0000)]
New release notes:  mount_nwfs(8)/mount_portalfs(8)/mount_msbfs(8)
moved from /bin to /sbin, /rescue.

Updated release notes:  lukemftpd-20030630.

21 years agoBackground: pmap_object_init_pt() premaps the pages of a object in
alc [Thu, 3 Jul 2003 20:18:02 +0000 (20:18 +0000)]
Background: pmap_object_init_pt() premaps the pages of a object in
order to avoid the overhead of later page faults.  In general, it
implements two cases: one for vnode-backed objects and one for
device-backed objects.  Only the device-backed case is really
machine-dependent, belonging in the pmap.

This commit moves the vnode-backed case into the (relatively) new
function vm_map_pmap_enter().  On amd64 and i386, this commit only
amounts to code rearrangement.  On alpha and ia64, the new machine
independent (MI) implementation of the vnode case is smaller and more
efficient than their pmap-based implementations.  (The MI
implementation takes advantage of the fact that objects in -CURRENT
are ordered collections of pages.)  On sparc64, pmap_object_init_pt()
hadn't (yet) been implemented.

21 years agoSignals sent specifically to a particular thread must
mtm [Thu, 3 Jul 2003 19:09:59 +0000 (19:09 +0000)]
Signals sent specifically to a particular thread must
be delivered to that thread, regardless of whether it
has it masked or not.

Previously, if the targeted thread had the signal masked,
it would be put on the processes' siglist. If
another thread has the signal umasked or unmasks it before
the target, then the thread it was intended for would never
receive it.

This patch attempts to solve the problem by requiring callers
of tdsignal() to say whether the signal is for the thread or
for the process. If it is for the process, then normal processing
occurs and any thread that has it unmasked can receive it.
But if it is destined for a specific thread, it is put on
that thread's pending list regardless of whether it is currently
masked or not.

The new behaviour still needs more work, though.  If the signal
is reposted for some reason it is always posted back to the
thread that handled it because the information regarding the
target of the signal has been lost by then.

Reviewed by: jdp, jeff, bde (style)

21 years agoWith the latest mdoc(7), we can now fix the synopsis like this.
ru [Thu, 3 Jul 2003 18:14:39 +0000 (18:14 +0000)]
With the latest mdoc(7), we can now fix the synopsis like this.

Desired by: bde

21 years agoMFV.
ru [Thu, 3 Jul 2003 18:01:20 +0000 (18:01 +0000)]
MFV.

21 years agoUpdate mdoc(7) to the current version. From ChangeLog:
ru [Thu, 3 Jul 2003 16:46:08 +0000 (16:46 +0000)]
Update mdoc(7) to the current version.  From ChangeLog:

2003-07-01  Ruslan Ermilov  <ru@FreeBSD.org>

* tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
after `/*' and `*/'.
Fix spacing.
(Fn, Fo): Reduce indentation in synopsis.

* tmac/doc-common (doc-check-depth): New macro.
(doc-end-macro, Sh, Ss): Use it.
(Cd): Fix behaviour in synopsis.
(In): Make it parsed and callable.
If not in the synopsis, represent the C header file enclosed in
angle brackets.
(doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
Use minus, not hyphen.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r117201,
ru [Thu, 3 Jul 2003 16:46:08 +0000 (16:46 +0000)]
This commit was generated by cvs2svn to compensate for changes in r117201,
which included commits to RCS files with non-trunk default branches.

21 years agoIf bread() returns a zero-length buffer, as can happen after a
trhodes [Thu, 3 Jul 2003 14:54:47 +0000 (14:54 +0000)]
If bread() returns a zero-length buffer, as can happen after a
failed write, return an error instead of looping forever.

PR: 37035
Submitted by: das

21 years agoSilly compile fixes from resource_disabled() commit.
jhb [Thu, 3 Jul 2003 14:33:17 +0000 (14:33 +0000)]
Silly compile fixes from resource_disabled() commit.

Reported by: tinderbox
Pointy hat to: jhb

21 years agoAll current uses of pci_set_powerstate are bogus, at least in theory.
imp [Thu, 3 Jul 2003 14:00:57 +0000 (14:00 +0000)]
All current uses of pci_set_powerstate are bogus, at least in theory.
However, they are presently necessary due to bigger bogusness in the
pci bus layer not doing the right thing on suspend/resume or on
initial device probe.  This is exactly the sort of thing that the
BURN_BRIDGES option was invented for.  Mark all of them as
BURN_BRIDGES.  As soon as I have the powerstate stuff properly
integrated into the pci bus code, I intend to remove all these
workarounds.

21 years agoIf select() is only used for sleep, convert it to nanosleep,
davidxu [Thu, 3 Jul 2003 13:36:29 +0000 (13:36 +0000)]
If select() is only used for sleep, convert it to nanosleep,
it only need purely wait in user space.

21 years ago_pthread_mutex_trylock() is another internal libc function that must block
mtm [Thu, 3 Jul 2003 13:28:53 +0000 (13:28 +0000)]
_pthread_mutex_trylock() is another internal libc function that must block
signals.

21 years agoUse make(1) instead of a shell script to implement the checkdpadd target.
bde [Thu, 3 Jul 2003 11:43:57 +0000 (11:43 +0000)]
Use make(1) instead of a shell script to implement the checkdpadd target.
This is simpler, and is easy to do now that make(1) supports substituting
regexps.  Fixed missing '$' anchor in the regexp.  Use less cryptic names
for temporary variables.

Submitted by: ru (early version)
Reviewed by: ru

21 years agoRevert the previous commit, it snuck in by accident.
scottl [Thu, 3 Jul 2003 10:16:40 +0000 (10:16 +0000)]
Revert the previous commit, it snuck in by accident.

Submitted by: ru

21 years agoCheck if thread is in critical region, only testing check_pending
davidxu [Thu, 3 Jul 2003 10:12:21 +0000 (10:12 +0000)]
Check if thread is in critical region, only testing check_pending
is not enough.

21 years agoUpdate the rest of the busdma man page for the change in bus_dma_tag_create()
scottl [Thu, 3 Jul 2003 09:07:03 +0000 (09:07 +0000)]
Update the rest of the busdma man page for the change in bus_dma_tag_create()

21 years agoBump __FreeBSD_version to reflect the busdma API change.
scottl [Thu, 3 Jul 2003 08:35:43 +0000 (08:35 +0000)]
Bump __FreeBSD_version to reflect the busdma API change.

21 years agoUpdate the busdma manpage to reflect the recent API change to
scottl [Thu, 3 Jul 2003 08:32:42 +0000 (08:32 +0000)]
Update the busdma manpage to reflect the recent API change to
bus_dma_tag_create.

21 years agoRemove a hard-sentence break and a duplicated sentence. Capitalize
jkoshy [Thu, 3 Jul 2003 06:07:26 +0000 (06:07 +0000)]
Remove a hard-sentence break and a duplicated sentence.  Capitalize
a displayed list uniformly and fix up some grammar while I'm here.

21 years agos/man page/manual page/, to make the default announcement
jkoshy [Thu, 3 Jul 2003 06:06:09 +0000 (06:06 +0000)]
s/man page/manual page/, to make the default announcement
hopefully more comprehensible to a non-geek.

21 years agoAdd an Xref to pw(8).
jkoshy [Thu, 3 Jul 2003 06:03:12 +0000 (06:03 +0000)]
Add an Xref to pw(8).

21 years agoo style(9) fixes
smkelly [Thu, 3 Jul 2003 03:37:04 +0000 (03:37 +0000)]
o style(9) fixes
  - Reordered #includes
  - Only include <sys/types.h>, not it and <sys/cdefs.h>
o style.Makefile(5) fixes
  - No SRCS= line when only one src file with same name as program
o Use warn()/errx() instead of fprintf()
  - Integrated patch from Philippe Charnier <charnier@xp11.frmug.org>

Approved by: jeff (mentor)

21 years agoLibraries come.
ru [Wed, 2 Jul 2003 23:57:29 +0000 (23:57 +0000)]
Libraries come.

21 years agoSort.
ru [Wed, 2 Jul 2003 23:54:37 +0000 (23:54 +0000)]
Sort.

21 years agoFixed "make checkdpadd".
ru [Wed, 2 Jul 2003 23:46:39 +0000 (23:46 +0000)]
Fixed "make checkdpadd".

OK'ed by: markm

21 years agoFixed "make checkdpadd".
ru [Wed, 2 Jul 2003 23:38:42 +0000 (23:38 +0000)]
Fixed "make checkdpadd".

OK'ed by: markm

21 years agoMerge the following from the English version and some translation fixes:
hrs [Wed, 2 Jul 2003 21:04:48 +0000 (21:04 +0000)]
Merge the following from the English version and some translation fixes:

1.41  -> 1.43  errata/article.sgml

21 years agoStyle.
ru [Wed, 2 Jul 2003 20:52:39 +0000 (20:52 +0000)]
Style.

21 years agoTake thr_support.c out of SRCS so that it does not end up in libraries.
ru [Wed, 2 Jul 2003 20:51:30 +0000 (20:51 +0000)]
Take thr_support.c out of SRCS so that it does not end up in libraries.
Record the missing dependency of thr_libc.So on the libc_pic.a library.

OK'ed by: kan

21 years agoMore NO_RESCUE to RESCUE transitions.
gordon [Wed, 2 Jul 2003 19:26:19 +0000 (19:26 +0000)]
More NO_RESCUE to RESCUE transitions.

Submitted by: ru

21 years agoFix a grammar bogon.
schweikh [Wed, 2 Jul 2003 18:29:22 +0000 (18:29 +0000)]
Fix a grammar bogon.

21 years agoDon't trust sys.mk,v 1.61 commit log, and make .asm alias for .S.
ru [Wed, 2 Jul 2003 17:03:28 +0000 (17:03 +0000)]
Don't trust sys.mk,v 1.61 commit log, and make .asm alias for .S.

21 years agoCorrect paths to mount sources.
gordon [Wed, 2 Jul 2003 16:43:14 +0000 (16:43 +0000)]
Correct paths to mount sources.

21 years agoThe .s files do not have to be preprocessed with cpp(1).
ru [Wed, 2 Jul 2003 16:43:07 +0000 (16:43 +0000)]
The .s files do not have to be preprocessed with cpp(1).

21 years agoRemove smbfs, portalfs, and nwfs from sbin. The sources live in usr.sbin
gordon [Wed, 2 Jul 2003 16:22:43 +0000 (16:22 +0000)]
Remove smbfs, portalfs, and nwfs from sbin. The sources live in usr.sbin
now.

21 years agoMove mount_portalfs, mount_smbfs, and mount_nwfs from sbin to usr.sbin.
gordon [Wed, 2 Jul 2003 16:16:49 +0000 (16:16 +0000)]
Move mount_portalfs, mount_smbfs, and mount_nwfs from sbin to usr.sbin.
They don't have alot of reason to be in sbin and contribute to library
bloat in the dynamic case. If you are using any of these filesystem
type to hold your /usr, please seek professional help.

The actual code was repo-copied by joe.

21 years ago- Add comments about the maintenance of the per-thread list of contested
jhb [Wed, 2 Jul 2003 16:14:09 +0000 (16:14 +0000)]
- Add comments about the maintenance of the per-thread list of contested
  locks held by each thread.
- Fix a bug in the original BSD/OS code where a contested lock was not
  properly handed off from the old thread to the new thread when a
  contested lock with more than one blocked thread was transferred from
  one thread to another.
- Don't use an atomic operation to write the MTX_CONTESTED value to
  mtx_lock in the aforementioned special case.  The memory barriers and
  exclusion provided by sched_lock are sufficient.

Spotted by: alc (2)

21 years ago- Use the new resource_disabled() helper function to see if devices are
jhb [Wed, 2 Jul 2003 16:09:02 +0000 (16:09 +0000)]
- Use the new resource_disabled() helper function to see if devices are
  disabled.
- Change the apm driver to match the acpi driver's behavior by checking to
  see if the device is disabled in the identify routine instead of in the
  probe routine.  This way if the device is disabled it is never created.

Note that a few places (ips(4), Alpha SMP) used "disable" instead of
"disabled" for their hint names, and these hints must be changed to
"disabled".  If this is a big problem, resource_disabled() can always be
changed to honor both names.

21 years agoAdd a resource_disabled() helper function that returns true (non-zero) if
jhb [Wed, 2 Jul 2003 16:01:38 +0000 (16:01 +0000)]
Add a resource_disabled() helper function that returns true (non-zero) if
a specified resource has been disabled via a non-zero 'disabled' hint and
false otherwise.

21 years agoSet unlock_mutex to 1 after locked mutex.
davidxu [Wed, 2 Jul 2003 14:12:37 +0000 (14:12 +0000)]
Set unlock_mutex to 1 after locked mutex.
Use THR_CONDQ_CLEAR not THR_COND_SET in cond_queue_deq, current
cond_queue_deq is not used.

21 years agoMake the bus_dma_tag_create use NULL for the lock arguments. We are
harti [Wed, 2 Jul 2003 13:53:41 +0000 (13:53 +0000)]
Make the bus_dma_tag_create use NULL for the lock arguments. We are
careful to call all map_load calls with BUS_DMA_NOWAIT because we
really don't want some PDUs to wait while others go out - ATM guarantees
the ordering of cells and also of PDUs (within one VC, that is). With
BUS_DMA_NOWAIT bus_dmamap_load should never return EINPROGRESS.

Make the tag used for transmission buffers one larger than the maximum
AAL5 PDU (65535). This is needed, because all PDU sizes need to be round
up to multiple of four for the card and PDUs that are just below the
maximum size will be rounded up to 65536

21 years agoMake libc/${MACHINE_ARCH} include directory not required by Alpha.
ru [Wed, 2 Jul 2003 13:27:54 +0000 (13:27 +0000)]
Make libc/${MACHINE_ARCH} include directory not required by Alpha.

Submitted by: bde
Tested by: beast

21 years agoFix typo.
davidxu [Wed, 2 Jul 2003 13:23:03 +0000 (13:23 +0000)]
Fix typo.

21 years agoThe .s files were repo-copied to .S files.
ru [Wed, 2 Jul 2003 12:57:07 +0000 (12:57 +0000)]
The .s files were repo-copied to .S files.

Approved by: marcel
Repocopied by: joe