]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoDon't try to unlock the directory vnode in null_lookup() if the lock is
Don Lewis [Sun, 11 Jan 2004 23:44:32 +0000 (23:44 +0000)]
Don't try to unlock the directory vnode in null_lookup() if the lock is
shared with the underlying file system and the lookup in the underlying
file system did the unlock for us.

20 years agoOverhaul of the timeout/reinit framework. This should clear up most
Søren Schmidt [Sun, 11 Jan 2004 22:08:34 +0000 (22:08 +0000)]
Overhaul of the timeout/reinit framework. This should clear up most
of the leftovers from the old version that really doesn't work anymore.

Add a reset function for host-end of the ATA channel. This is needed
for the SiI3112 in order to whack it back to reality if a device
locks up the SATA interface (thereby preventing that we can reset the
device). The result is that ATA now recovers from the timeouts that
happens with the SiI3112A and more or less all disks based on old
PATA electronics with a Marvell PATA->SATA converter. This includes
lots of the popular SATA dongles and the WDC Raptor disks..

20 years agoUpdate list of device drivers that support polling.
Alex Dupre [Sun, 11 Jan 2004 22:07:19 +0000 (22:07 +0000)]
Update list of device drivers that support polling.
Remove redundancy in NOTES.

PR: docs/61195
Submitted by: Xin LI <delphij@frontfree.net>
Approved by: blackend (mentor)
MFC after: 1 week

20 years ago- Handle doubled double quotes:
Matthew N. Dodd [Sun, 11 Jan 2004 21:10:35 +0000 (21:10 +0000)]
- Handle doubled double quotes:
`"""foo"" bar"' -> `"foo" bar'
- Handle C++ style comments.

Requested by:  wpaul

20 years agoEnsure that generated headers are here before we build .depend
Ruslan Ermilov [Sun, 11 Jan 2004 20:45:46 +0000 (20:45 +0000)]
Ensure that generated headers are here before we build .depend
and object files in a less hackish way compatible with further
planned changes to bsd.dep.mk.

20 years agoBack out 1.160, which was committed by mistake.
Dag-Erling Smørgrav [Sun, 11 Jan 2004 20:08:57 +0000 (20:08 +0000)]
Back out 1.160, which was committed by mistake.

20 years agoBack out 1.166, which was committed by mistake.
Dag-Erling Smørgrav [Sun, 11 Jan 2004 20:07:15 +0000 (20:07 +0000)]
Back out 1.166, which was committed by mistake.

20 years agoMinor typo: no line break after .Fn.
Robert Watson [Sun, 11 Jan 2004 19:57:42 +0000 (19:57 +0000)]
Minor typo: no line break after .Fn.

20 years agoMechanical whitespace cleanup + other minor style nits.
Dag-Erling Smørgrav [Sun, 11 Jan 2004 19:56:42 +0000 (19:56 +0000)]
Mechanical whitespace cleanup + other minor style nits.

20 years agoAdd a basic manpage for vn_fullpath().
Robert Watson [Sun, 11 Jan 2004 19:54:48 +0000 (19:54 +0000)]
Add a basic manpage for vn_fullpath().

Sponsored by: DARPA, McAfee Research

20 years agoMechanical whitespace cleanup.
Dag-Erling Smørgrav [Sun, 11 Jan 2004 19:54:45 +0000 (19:54 +0000)]
Mechanical whitespace cleanup.

20 years agoMechanical whitespace cleanup; parenthesize return values; other minor
Dag-Erling Smørgrav [Sun, 11 Jan 2004 19:52:10 +0000 (19:52 +0000)]
Mechanical whitespace cleanup; parenthesize return values; other minor
style nits.  The #ifdefs in this file give me a headache...

20 years agoMechanical whitespace cleanup; parenthesize return values; other minor
Dag-Erling Smørgrav [Sun, 11 Jan 2004 19:48:19 +0000 (19:48 +0000)]
Mechanical whitespace cleanup; parenthesize return values; other minor
style nits.

20 years agoMechanical whitespace cleanup + minor style nits.
Dag-Erling Smørgrav [Sun, 11 Jan 2004 19:43:14 +0000 (19:43 +0000)]
Mechanical whitespace cleanup + minor style nits.

20 years agoMechanical whitespace cleanup.
Dag-Erling Smørgrav [Sun, 11 Jan 2004 19:39:14 +0000 (19:39 +0000)]
Mechanical whitespace cleanup.

20 years agoGet rid of "lineno: 0" in error messages from create mode.
Poul-Henning Kamp [Sun, 11 Jan 2004 19:38:48 +0000 (19:38 +0000)]
Get rid of "lineno: 0" in error messages from create mode.

Add -w(arning) flag which makes failure to look up uid/gid
a nonfatal warning instead of an error.

20 years agoUse my newly acquired magic stick and put aslcompiler.y.h into
Ruslan Ermilov [Sun, 11 Jan 2004 19:26:33 +0000 (19:26 +0000)]
Use my newly acquired magic stick and put aslcompiler.y.h into
SRCS to teach make(1) that many .c sources are dependent on it.
This fixes parallel (-j) builds and makes it possible to build
individual .o files separately.

While here, removed PROG from CLEANFILES -- it's taken care of
already by bsd.prog.mk.

20 years agocollect all "extern bla" stuff in extern.h in order to get cross-file
Poul-Henning Kamp [Sun, 11 Jan 2004 19:25:56 +0000 (19:25 +0000)]
collect all "extern bla" stuff in extern.h in order to get cross-file
type checking.  No bugs found.

20 years agoAdd the ACPI Toshiba extras driver (hotkeys, LCD backlight, video output,
Nate Lawson [Sun, 11 Jan 2004 19:18:39 +0000 (19:18 +0000)]
Add the ACPI Toshiba extras driver (hotkeys, LCD backlight, video output,
forced fan control, and CPU throttling).

PR:
Submitted by: Hiroyuki Aizu <aizu@navi.org>
Reviewed by:
Approved by:
Obtained from:
MFC after:

20 years agoAdd the ACPI Toshiba extras driver (hotkeys, LCD backlight, video output,
Nate Lawson [Sun, 11 Jan 2004 19:18:38 +0000 (19:18 +0000)]
Add the ACPI Toshiba extras driver (hotkeys, LCD backlight, video output,
forced fan control, and CPU throttling).

Submitted by: Hiroyuki Aizu <aizu@navi.org>

20 years agoAdd ${IMAGES} to CLEANFILES.
Dag-Erling Smørgrav [Sun, 11 Jan 2004 19:05:48 +0000 (19:05 +0000)]
Add ${IMAGES} to CLEANFILES.

20 years agoStore binary files in uuencoded form.
Dag-Erling Smørgrav [Sun, 11 Jan 2004 19:00:04 +0000 (19:00 +0000)]
Store binary files in uuencoded form.

20 years agoAdd a `-H <fd>' option that is like `-h <fd>', but accepts an already
Ian Dowse [Sun, 11 Jan 2004 18:28:08 +0000 (18:28 +0000)]
Add a `-H <fd>' option that is like `-h <fd>', but accepts an already
encrypted password on the specified file descriptor.

PR: bin/22033
MFC after: 2 weeks

20 years agoRemoved duplicate SRCS.
Ruslan Ermilov [Sun, 11 Jan 2004 17:23:31 +0000 (17:23 +0000)]
Removed duplicate SRCS.

20 years agoXDR sources are handled by ../xdr/Makefile.inc.
Ruslan Ermilov [Sun, 11 Jan 2004 17:14:54 +0000 (17:14 +0000)]
XDR sources are handled by ../xdr/Makefile.inc.

20 years agoSync type of linkspeed with firewire.c.
Hidetoshi Shimokawa [Sun, 11 Jan 2004 15:40:42 +0000 (15:40 +0000)]
Sync type of linkspeed with firewire.c.

20 years agoStay in sync with src/COPYRIGHT and src/sys/sys/copyright.h,
Ruslan Ermilov [Sun, 11 Jan 2004 14:13:29 +0000 (14:13 +0000)]
Stay in sync with src/COPYRIGHT and src/sys/sys/copyright.h,
and put the starting year of the project into the copyright.

20 years agoRun ldconfig in the chroot environment to find shared libraries in
Yoshihiro Takahashi [Sun, 11 Jan 2004 12:45:41 +0000 (12:45 +0000)]
Run ldconfig in the chroot environment to find shared libraries in
/usr/local/lib.

20 years agoFix MINIMALDOCPORTS lists.
Yoshihiro Takahashi [Sun, 11 Jan 2004 11:55:37 +0000 (11:55 +0000)]
Fix MINIMALDOCPORTS lists.

20 years agoReplaced an ugly hack to selectively disable warnings
Ruslan Ermilov [Sun, 11 Jan 2004 10:42:47 +0000 (10:42 +0000)]
Replaced an ugly hack to selectively disable warnings
in contributed sources with just a hack made possible
by bsd.sys.mk,v 1.33.  This is better because it just
nulls out the warning flags rather than adding gcc(1)
specific -w option to CFLAGS.

20 years agoAdd Audigy support.
David E. O'Brien [Sun, 11 Jan 2004 10:30:56 +0000 (10:30 +0000)]
Add Audigy support.
I started with a year-old patch by Orlando Bassotto
<orlando.bassotto@ieo-research.it>, and ported it to 5.2-CURRENT along with
fixing the problems working with pre-Audigy cards.

20 years agoPut the warning flags to where they belong (into CWARNFLAGS).
Ruslan Ermilov [Sun, 11 Jan 2004 10:29:55 +0000 (10:29 +0000)]
Put the warning flags to where they belong (into CWARNFLAGS).
This allows us to easily override them when necessary, e.g.,
to selectively disable warnings in libc/ contributed sources.

20 years agoPrint the correct pointer in a KASSERT.
Poul-Henning Kamp [Sun, 11 Jan 2004 10:02:42 +0000 (10:02 +0000)]
Print the correct pointer in a KASSERT.

Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>

20 years agoMFi386: revision 1.583.
Yoshihiro Takahashi [Sun, 11 Jan 2004 09:18:33 +0000 (09:18 +0000)]
MFi386: revision 1.583.

20 years agoThe ida module is not needed for pc98.
Yoshihiro Takahashi [Sun, 11 Jan 2004 09:15:13 +0000 (09:15 +0000)]
The ida module is not needed for pc98.

20 years ago'-DPC98' is not needed.
Yoshihiro Takahashi [Sun, 11 Jan 2004 09:11:10 +0000 (09:11 +0000)]
'-DPC98' is not needed.

20 years agoida(4) module. PCI only for now.
Matthew N. Dodd [Sun, 11 Jan 2004 07:01:30 +0000 (07:01 +0000)]
ida(4) module.  PCI only for now.

20 years agoRemove long dead code, specifically, code related to munmapfd().
Alan Cox [Sun, 11 Jan 2004 06:59:21 +0000 (06:59 +0000)]
Remove long dead code, specifically, code related to munmapfd().
(See also vm/vm_mmap.c revision 1.173.)

20 years agoAdd support for subtractive decoding bridges. These bridges pass all
Warner Losh [Sun, 11 Jan 2004 06:52:31 +0000 (06:52 +0000)]
Add support for subtractive decoding bridges.  These bridges pass all
signals to addresses to the child busses.  Typically, ProgIf of 1
means a subtractive bridge.  However, Intel has a whole lot of ones
with a ProgIf of 80 that are also subtractive.  We cope with these
bridges too.  This eliminates hw.pci.allow_unsupported_io_range
because that had almost the same effect as these patches (almost means
'buggy').  Remove the bogus checks for ISA bus locations: these cycles
aren't special and are only passed by transparent bridges.

We allow any range to succeed.  If the range is a superset of the
range that's decoded, trim the resource to that range.  Otherwise,
pass the range unchanged.  This will change the location that PC Card
and CardBus cards are attached.  This might bogusly cause some
overlapping allocation that wasn't present before, but the overlapping
fixes need to be in the pci level.

There's also a few formatting changes here.

20 years agoRelease audit device major number reservation. The new audit
Robert Watson [Sun, 11 Jan 2004 06:24:34 +0000 (06:24 +0000)]
Release audit device major number reservation.  The new audit
implementation writes directly to a file, similar to the Darwin,
Solaris, and whoever else implementations, rather than buffering
through a pseudo-device.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r124361,
David E. O'Brien [Sun, 11 Jan 2004 03:34:02 +0000 (03:34 +0000)]
This commit was generated by cvs2svn to compensate for changes in r124361,
which included commits to RCS files with non-trunk default branches.

20 years agoVendor import emu10k1.h from version 1.0.1 of the ALSA driver.
David E. O'Brien [Sun, 11 Jan 2004 03:34:02 +0000 (03:34 +0000)]
Vendor import emu10k1.h from version 1.0.1 of the ALSA driver.
  ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.1.tar.bz2
  or http://www.alsa-project.org/alsa/cvs/alsa-kernel/include/emu10k1.h

20 years agoInclude "opt_cpu.h" and related #ifdef's for SSE so that pagezero()
Alan Cox [Sun, 11 Jan 2004 03:02:25 +0000 (03:02 +0000)]
Include "opt_cpu.h" and related #ifdef's for SSE so that pagezero()
actually includes the call to sse2_pagezero().

20 years agoWhen not creating a core dump due to resource limits specifying
Robert Watson [Sun, 11 Jan 2004 02:28:06 +0000 (02:28 +0000)]
When not creating a core dump due to resource limits specifying
a maximum dump size of 0, return a size-related error, rather
than returning success.  Otherwise, waitpid() will incorrectly
return a status indicating that a core dump was created.  Note
that the specific error doesn't actually matter, since it's lost.

MFC after: 2 weeks
PR: 60367
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>

20 years agoRemove EMUDEBUG [un]def. This should be done in the Makefile.
David E. O'Brien [Sun, 11 Jan 2004 01:34:41 +0000 (01:34 +0000)]
Remove EMUDEBUG [un]def.  This should be done in the Makefile.

20 years agoProblem:
Robert Watson [Sun, 11 Jan 2004 01:29:03 +0000 (01:29 +0000)]
Problem:

  When an NFS server is port-scanned nfsd sometimes exits. This has
  happened 3 times the last few weeks.

  Nfsd has been written to exit when accept(2) fails. Unfortunately
  accept can sometimes make a "normal" return with errno ECONNABORTED
  and in this case nfsd exits prematurely.

Solution:

  Check for ECONNABORTED (and also EINTR, since nfsd uses signals)
  and continue.

Submitted by: Bjoern Groenvall <bg@sics.se>
PR: 61084

20 years agoMF-p4/diff reduction:
Warner Losh [Sun, 11 Jan 2004 00:18:03 +0000 (00:18 +0000)]
MF-p4/diff reduction:

Eliminate trailing blank line in this file.

20 years agoUpdate the diskless(8) documentation to indicate that the use of the
Robert Watson [Sat, 10 Jan 2004 22:38:54 +0000 (22:38 +0000)]
Update the diskless(8) documentation to indicate that the use of the
kernel BOOTP options is *not* required if the boot loader can pass
network configuration information to the kernel using the kernel
environment.  As such, PXE doesn't require them.  However, the NFS
options are required in the kernel (previously not documented).

Tripped over by: des

20 years agoAdd an ulgy hack so that warnings added by non-zero WARNS values won't be
David E. O'Brien [Sat, 10 Jan 2004 21:51:48 +0000 (21:51 +0000)]
Add an ulgy hack so that warnings added by non-zero WARNS values won't be
used with the contrib/ gdtoa sources as they aren't WARNS-clean.

Submitted by: ru

20 years ago - Unmanage pages allocated by contigmalloc1(). (There is no point in
Alan Cox [Sat, 10 Jan 2004 21:17:53 +0000 (21:17 +0000)]
 - Unmanage pages allocated by contigmalloc1().  (There is no point in
   having PV entries for these pages.)
 - Remove splvm() and splx() calls.

20 years agoNew errata: Mention APIC problems and workarounds, NFSv4 client bug,
Bruce A. Mah [Sat, 10 Jan 2004 19:17:21 +0000 (19:17 +0000)]
New errata:  Mention APIC problems and workarounds, NFSv4 client bug,
new TCP MSS size/rate limiting feature.

Fix a typo. [1]

Submitted by: Aniruddha Bohra <bohra at cs dot rutgers dot edu> [1]

20 years agoRemove now redundant and now conflicting declaration of sysarch(2).
Jacques Vidrine [Sat, 10 Jan 2004 18:37:11 +0000 (18:37 +0000)]
Remove now redundant and now conflicting declaration of sysarch(2).
Remove now unnecessary cast.

Reported by: alpha tinderbox

20 years agos/Muliple/Multiple
Jens Schweikhardt [Sat, 10 Jan 2004 18:34:01 +0000 (18:34 +0000)]
s/Muliple/Multiple
Removed whitespace at EOL and EOF.

20 years agoNew release notes: Changed some TCP tunable defaults, MSS sanity
Bruce A. Mah [Sat, 10 Jan 2004 18:10:20 +0000 (18:10 +0000)]
New release notes:  Changed some TCP tunable defaults, MSS sanity
checks and overload protection, OpenSSH 3.7.1p2.

Use digi(4) entity.

Bump copyright date.

20 years agoKeep up with sys/conf/ changes.
Ruslan Ermilov [Sat, 10 Jan 2004 18:01:08 +0000 (18:01 +0000)]
Keep up with sys/conf/ changes.

20 years agoClarify the behavior of ptrace(2) a little bit: the tracing process
Robert Watson [Sat, 10 Jan 2004 17:41:04 +0000 (17:41 +0000)]
Clarify the behavior of ptrace(2) a little bit: the tracing process
must first attach to the traced process.  If the tracing process
exits without detaching, the traced process will be killed rather
than continued.  For the duration of the tracing session, the traced
process is reparented to the tracing process (with resulting expected
behaviors).  It is permissible to trace more than one other process
at a time.  When using waitpid() to monitor the behavior of the traced
process, signals are intercepted: they may optionally then be
forwarded using ptrace().  Signals are generated normally by and for
the process, but also by the tracing facility (SIGTRAP).

Product of: Suffering
Sponsored by: DARPA, AFRL

20 years agoMore unparenthesized return values.
Dag-Erling Smørgrav [Sat, 10 Jan 2004 17:14:53 +0000 (17:14 +0000)]
More unparenthesized return values.

20 years agoMoved the code for :U and :L modifiers where it belongs, so that
Ruslan Ermilov [Sat, 10 Jan 2004 16:30:29 +0000 (16:30 +0000)]
Moved the code for :U and :L modifiers where it belongs, so that
the fallback for SysV (now in POSIX) variable substitution works
for old_string arguments starting with 'U' or 'L'.

20 years agoProperly fix the FreeBSD copyright.
Ruslan Ermilov [Sat, 10 Jan 2004 16:24:22 +0000 (16:24 +0000)]
Properly fix the FreeBSD copyright.

Pointed by: scottl

20 years agoWe need to discard `const'ness explicitly when invoking sysarch.
Jacques Vidrine [Sat, 10 Jan 2004 15:57:06 +0000 (15:57 +0000)]
We need to discard `const'ness explicitly when invoking sysarch.

Reported by: sparc64 tinderbox via bde

20 years agos/FreeBSD Inc./The FreeBSD Foundation/g
Ruslan Ermilov [Sat, 10 Jan 2004 15:38:47 +0000 (15:38 +0000)]
s/FreeBSD Inc./The FreeBSD Foundation/g

20 years agoAdd manual page links from fsck_ufs.8 and fsck_4.2bsd.8 to fsck_ffs.8,
Simon L. B. Nielsen [Sat, 10 Jan 2004 14:36:49 +0000 (14:36 +0000)]
Add manual page links from fsck_ufs.8 and fsck_4.2bsd.8 to fsck_ffs.8,
since there are already the same links for the program binary.

Suggested by: mat

20 years agoFix serious ugliness introduced in 1.61, which leads to long delay in boot
Maxim Sobolev [Sat, 10 Jan 2004 13:09:21 +0000 (13:09 +0000)]
Fix serious ugliness introduced in 1.61, which leads to long delay in boot
sequence when machine is started without attached USB mouse. Only do
repeated attempts to re-open device if the usb module has been actually
loaded. Also fix broken logic in doing delays between open attempts - do
delays between attempts, not after each attempt.

Due to previous behaviour being very annoying for notebook owners this
is a good 5.2 MFC candidate.

MFC after: 2 days

20 years agoStyle: parenthesize return values.
Dag-Erling Smørgrav [Sat, 10 Jan 2004 13:03:43 +0000 (13:03 +0000)]
Style: parenthesize return values.

20 years agotry rtinit() only when the route is not installed.
Hajimu UMEMOTO [Sat, 10 Jan 2004 08:59:21 +0000 (08:59 +0000)]
try rtinit() only when the route is not installed.
this allows, e.g., duplicated attempts of 'ifconfig lo0 ::1'
like for IPv4.

Obtained from: KAME
MFC after: 1 week

20 years agoCheck that sa_len is the appropriate value in tcp_usr_bind(),
Don Lewis [Sat, 10 Jan 2004 08:53:00 +0000 (08:53 +0000)]
Check that sa_len is the appropriate value in tcp_usr_bind(),
tcp6_usr_bind(), tcp_usr_connect(), and tcp6_usr_connect() before checking
to see whether the address is multicast so that the proper errno value
will be returned if sa_len is incorrect.  The checks are identical to the
ones in in_pcbbind_setup(), in6_pcbbind(), and in6_pcbladdr(), which are
called after the multicast address check passes.

MFC after: 30 days

20 years agoAdd a somewhat redundant check on the len arguement to getsockaddr() to
Don Lewis [Sat, 10 Jan 2004 08:28:54 +0000 (08:28 +0000)]
Add a somewhat redundant check on the len arguement to getsockaddr() to
avoid relying on the minimum memory allocation size to avoid problems.
The check is somewhat redundant because the consumers of the returned
structure will check that sa_len is a protocol-specific larger size.

Submitted by: Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by: nectar
MFC after: 30 days

20 years agoDon't execute the code in in6_ifdetach() that removes the link-local
Don Lewis [Sat, 10 Jan 2004 08:14:27 +0000 (08:14 +0000)]
Don't execute the code in in6_ifdetach() that removes the link-local
allnodes multicast route if the routing table has not been initialized.
This avoids a panic during boot if an interface detaches before the
routing table is initialized.

Submitted by: sam

20 years agoin set{peer, sock}addr, do not convert the unspecified
Hajimu UMEMOTO [Sat, 10 Jan 2004 08:11:51 +0000 (08:11 +0000)]
in set{peer, sock}addr, do not convert the unspecified
address (::) to the mapped address form.

PR: kern/22868
Obtained from: KAME
MFC after: 3 days

20 years agoRestore closing of SMB find handle in smbfs_close().
Tim J. Robbins [Sat, 10 Jan 2004 03:45:30 +0000 (03:45 +0000)]
Restore closing of SMB find handle in smbfs_close().

20 years agoRemove the HACK section it breaks the older firmware and doesn't totally
Doug Ambrisko [Sat, 10 Jan 2004 03:02:04 +0000 (03:02 +0000)]
Remove the HACK section it breaks the older firmware and doesn't totally
fix the new firmware so remove it.

20 years agoFix a panic when attempting a v4 op against a v3/v2-only server.
Alfred Perlstein [Sat, 10 Jan 2004 02:59:54 +0000 (02:59 +0000)]
Fix a panic when attempting a v4 op against a v3/v2-only server.
It happens because rpcclnt_request is incorrectly returning 0 in the case
of an rpc mismatch or auth error.

Submitted by: Jim Rees <rees@umich.edu>

20 years agoUnmanage pages allocated by kmem_alloc(). (There is no point in having PV
Alan Cox [Sat, 10 Jan 2004 00:22:33 +0000 (00:22 +0000)]
Unmanage pages allocated by kmem_alloc().  (There is no point in having PV
entries for these pages.)

20 years agoPrevent a race condition between fork1() and whatever changes the pgrp by
Olivier Houchard [Fri, 9 Jan 2004 23:42:36 +0000 (23:42 +0000)]
Prevent a race condition between fork1() and whatever changes the pgrp by
setting the new process' p_pgrp again before inserting it in the p_pglist.
Without it we can get the new process to be inserted in a different p_pglist
than the one p2->p_pgrp points to, and this is not something we want to happen.
This is not a fix, merely a bandaid, but it will work until someone finds a
better way to do it.

Discussed with:  jhb (a long time ago)

20 years agoRemove duplicate __FBSDID().
Olivier Houchard [Fri, 9 Jan 2004 23:30:31 +0000 (23:30 +0000)]
Remove duplicate __FBSDID().
Mark trm as depending on cam.

20 years agoChange sdp_open_local(3) API. It now takes a path to a control socket
Maksim Yevmenkin [Fri, 9 Jan 2004 22:44:28 +0000 (22:44 +0000)]
Change sdp_open_local(3) API. It now takes a path to a control socket
Teach sdpcontrol(8) how to talk to the local SDP server
Update man pages
s/u_int/uint

Reviewed by: imp (mentor), ru

20 years agoMove the description of sbuf_delete() closer to the description of
Dag-Erling Smørgrav [Fri, 9 Jan 2004 21:16:31 +0000 (21:16 +0000)]
Move the description of sbuf_delete() closer to the description of
sbuf_new(), and try to make them both a little clearer.

20 years agoClean up the acpi announce message of trailing spaces.
Nate Lawson [Fri, 9 Jan 2004 21:04:28 +0000 (21:04 +0000)]
Clean up the acpi announce message of trailing spaces.

20 years agoAdd missing manual page links for rman(9) and sysctl_add_oid(9).
Simon L. B. Nielsen [Fri, 9 Jan 2004 20:15:51 +0000 (20:15 +0000)]
Add missing manual page links for rman(9) and sysctl_add_oid(9).

Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
PR: docs/60088

20 years agoFirst 5.2-RELEASE errata, documenting some known issues in the
Bruce A. Mah [Fri, 9 Jan 2004 20:10:20 +0000 (20:10 +0000)]
First 5.2-RELEASE errata, documenting some known issues in the
release: xdm(1) black-and-white-ness, ACPI problems, ATA device
problems, NFS floppy install requirements, pcm(4) vchan instabilities.

Submitted by: scottl, truckman

20 years agoUpdate man page for \_OS* changes.
Nate Lawson [Fri, 9 Jan 2004 20:06:04 +0000 (20:06 +0000)]
Update man page for \_OS* changes.

20 years agoExpand the check for overriding the OS name to override _OS* (including
Nate Lawson [Fri, 9 Jan 2004 20:01:42 +0000 (20:01 +0000)]
Expand the check for overriding the OS name to override _OS* (including
_OS_, _OS, and _OSI).  This should fix this option for people who reported
it not changing anything.

20 years agoNote that REPORT_LUNS should be implemented to work better with Linux
Nate Lawson [Fri, 9 Jan 2004 19:33:21 +0000 (19:33 +0000)]
Note that REPORT_LUNS should be implemented to work better with Linux
and Windows as initiators.

20 years agoEnable autosense by default. This shouldn't hurt SPI and is required
Nate Lawson [Fri, 9 Jan 2004 19:27:18 +0000 (19:27 +0000)]
Enable autosense by default.  This shouldn't hurt SPI and is required
for FC.

20 years agoBump the max number of initiators to 256 from 16. This is appropriate for
Nate Lawson [Fri, 9 Jan 2004 19:26:30 +0000 (19:26 +0000)]
Bump the max number of initiators to 256 from 16.  This is appropriate for
fibre channel and shouldn't hurt SPI.

20 years agoDisable the APIC when selecting the 'Safe Mode' option of the loader. This
Scott Long [Fri, 9 Jan 2004 19:20:47 +0000 (19:20 +0000)]
Disable the APIC when selecting the 'Safe Mode' option of the loader.  This
will disable both APIC interrupt routing and SMP.

20 years agoPrepare libsdp(3) for the upcoming sdpd import
Maksim Yevmenkin [Fri, 9 Jan 2004 18:19:12 +0000 (18:19 +0000)]
Prepare libsdp(3) for the upcoming sdpd import
Also while i'm here s/u_int/uint

Reviewed by: imp (mentor), ru

20 years agoAdd MLINK:
Christian Brueffer [Fri, 9 Jan 2004 17:55:48 +0000 (17:55 +0000)]
Add MLINK:

ndis.4 -> if_ndis.4

20 years agoCorrect typo in MLINK
Christian Brueffer [Fri, 9 Jan 2004 17:49:03 +0000 (17:49 +0000)]
Correct typo in MLINK

20 years agoAdd reference to miibus.4
Christian Brueffer [Fri, 9 Jan 2004 17:43:37 +0000 (17:43 +0000)]
Add reference to miibus.4

MFC after: 5 days

20 years agodevice uhci0 -> device uhci
Christian Brueffer [Fri, 9 Jan 2004 17:39:08 +0000 (17:39 +0000)]
device uhci0 -> device uhci

Remove reference to miibus.4, the driver doesn't use it.

MFC after: 5 days

20 years agokue(4) doesn't use miibus either
Christian Brueffer [Fri, 9 Jan 2004 17:31:33 +0000 (17:31 +0000)]
kue(4) doesn't use miibus either

MFC after: 5 days

20 years agoRemove drivers that don't need miibus(4):
Christian Brueffer [Fri, 9 Jan 2004 17:17:57 +0000 (17:17 +0000)]
Remove drivers that don't need miibus(4):
o an
o awi

Add missing drivers:
o axe
o bfe
o gx
o lge
o nge
o re
o sk

MFC after: 5 days

20 years agoProvide sysarch(2) prototypes in the MD sysarch.h headers. While I'm
Jacques Vidrine [Fri, 9 Jan 2004 16:52:09 +0000 (16:52 +0000)]
Provide sysarch(2) prototypes in the MD sysarch.h headers.  While I'm
at it, use the ANSI C generic pointer type for the second argument,
thus matching the documentation.

Remove the now extraneous (and now conflicting) function declarations
in various libc sources.  Remove now unnecessary casts.

Reviewed by: bde

20 years agoKASSERT against no-op access requests.
Poul-Henning Kamp [Fri, 9 Jan 2004 16:10:32 +0000 (16:10 +0000)]
KASSERT against no-op access requests.

Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>

20 years ago- Add the HP hn210e to the devices list.
Simon L. B. Nielsen [Fri, 9 Jan 2004 15:47:54 +0000 (15:47 +0000)]
- Add the HP hn210e to the devices list.
- Make the device list compact.

MFC after: 1 week

20 years agoRe-add the FreeBSD RCS keyword for the benefit of mergemaster.
Jacques Vidrine [Fri, 9 Jan 2004 14:46:11 +0000 (14:46 +0000)]
Re-add the FreeBSD RCS keyword for the benefit of mergemaster.

PR: conf/50040
Requested by: Dimitry Andric <dim@xs4all.nl>

20 years agoReduce TCP_MINMSS default to 216. The AX.25 protocol (packet radio)
Andre Oppermann [Fri, 9 Jan 2004 14:14:10 +0000 (14:14 +0000)]
Reduce TCP_MINMSS default to 216.  The AX.25 protocol (packet radio)
is frequently used with an MTU of 256 because of slow speeds and a
high packet loss rate.

20 years agoIt was reported that when using nss_ldap, getgrent(3) would behave
Jacques Vidrine [Fri, 9 Jan 2004 13:43:49 +0000 (13:43 +0000)]
It was reported that when using nss_ldap, getgrent(3) would behave
incorrectly when encountering `large' groups (many members and/or many
long member names).  The reporter tracked this down to the glibc NSS
module compatibility code (nss_compat.c): it would prematurely record
that a NSS module was finished iterating through its database in some
cases.

Two aspects are corrected:

1. nss_compat.c recorded that a NSS module was finished iterating
   whenever the module reported something other than SUCCESS.  The
   correct logic is to continue iteration when the module reports
   either SUCCESS or RETURN.  The __nss_compat_getgrent_r and
   __nss_compat_getpwent_r routines are updated to reflect this.

2. An internal helper macro __nss_compat_result is used to map glibc
   NSS status codes to BSD NSS status codes (e.g. NSS_STATUS_SUCCESS ->
   NS_SUCCESS).  It provided the obvious mapping.

   When a NSS routine is called with a too-small buffer, the
   convention in the BSD NSS code is to report RETURN.  (This is used
   to implement reentrant APIs such as getpwnam_r(3).)  However, the
   convention in glibc for this case is to set errno = ERANGE and
   overload TRYAGAIN.  __nss_compat_result is updated to handle this
   case.

PR: bin/60287
Reported by: Lachlan O'Dea <odela01@ca.com>

20 years agoThis commit was generated by cvs2svn to compensate for changes in r124287,
Dag-Erling Smørgrav [Fri, 9 Jan 2004 12:57:36 +0000 (12:57 +0000)]
This commit was generated by cvs2svn to compensate for changes in r124287,
which included commits to RCS files with non-trunk default branches.