]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoCorrect the logic for determining whether the user has already entered
Dag-Erling Smørgrav [Mon, 26 Sep 2005 20:33:53 +0000 (20:33 +0000)]
Correct the logic for determining whether the user has already entered
a password.  Also, work around some harmless type pun warnings.

MFC after: 3 days

18 years agoAdd a .sinclude directive which does the exact same as .include, except
Poul-Henning Kamp [Mon, 26 Sep 2005 20:31:00 +0000 (20:31 +0000)]
Add a .sinclude directive which does the exact same as .include, except
whine when the file cannot be found and opened.

18 years agoImplement IP_DONTFRAG IP socket option enabling the Don't Fragment
Andre Oppermann [Mon, 26 Sep 2005 20:25:16 +0000 (20:25 +0000)]
Implement IP_DONTFRAG IP socket option enabling the Don't Fragment
flag on IP packets.  Currently this option is only repected on udp
and raw ip sockets.  On tcp sockets the DF flag is controlled by the
path MTU discovery option.

Sending a packet larger than the MTU size of the egress interface
returns an EMSGSIZE error.

Discussed with: rwatson
Sponsored by: TCP/IP Optimization Fundraise 2005

18 years agoSmall fixes to sis(4):
John Baldwin [Mon, 26 Sep 2005 18:42:27 +0000 (18:42 +0000)]
Small fixes to sis(4):
- Remove sis_unit and use device_printf() and if_printf() instead.
- Use callout_init_mtx() for the callout.
- Remove spls.
- Fix locking for ifmedia to happen in the ifmedia handlers rather than in
  sis_ioctl().
- Log an error message if we fail to allocate any resources.  Perform
  cleanup if we fail to allocate any resources so that we don't leave
  a mutex hanging around.

Tested by: Jason Tsai jason dot tsai at newcyberian dot com (1-4)
MFC after: 3 days

18 years agoAdd the spin lock used by the binary nvidia driver to the static lock
John Baldwin [Mon, 26 Sep 2005 18:30:12 +0000 (18:30 +0000)]
Add the spin lock used by the binary nvidia driver to the static lock
order list so that WITNESS and the driver play together nicely.

Tested by: Harald Schmalzbauer
MFC after: 3 days

18 years agoEmit a warning when a card matches multiple entries in our table. A
Warner Losh [Mon, 26 Sep 2005 18:27:13 +0000 (18:27 +0000)]
Emit a warning when a card matches multiple entries in our table.  A
number of cards have been discovered to be matching on the strings of
the cis rather than manufacturer/product id for cards we already had a
prod id for.  This is a result of getting the list from the NetBSD
driver which also includes the OID for the cards where such a
distinction mattered (since it was tested against the MAC address we
got from the card).  Since we do not try to match OIDs, we do not need
the extra entries and they just waste space.

I'm guessing that some of the dlink entires (DE-660, DE-660+) and many
of the corega cards may fall into this boat and can safely be removed.

18 years agoGo ahead and detach our children in our detach routine. I'm undecided
Warner Losh [Mon, 26 Sep 2005 18:22:24 +0000 (18:22 +0000)]
Go ahead and detach our children in our detach routine.  I'm undecided
if we should delete them also or not, but have decided not to do so
for the moment.

18 years agoAdd "show allpcpu" to DDB, which prints the current CPU id followed by
Robert Watson [Mon, 26 Sep 2005 16:55:11 +0000 (16:55 +0000)]
Add "show allpcpu" to DDB, which prints the current CPU id followed by
the per-cpu data for all CPUs.  This is easier to ask users to do than
"figure out how many CPUs you have, now run show pcpu, then run it
once for each CPU you have".

MFC after: 3 days

18 years agoThis one goes as well.
Poul-Henning Kamp [Mon, 26 Sep 2005 14:58:58 +0000 (14:58 +0000)]
This one goes as well.

18 years agoRemove the old Makefile based nanobsd build method, the new shell script
Poul-Henning Kamp [Mon, 26 Sep 2005 14:57:27 +0000 (14:57 +0000)]
Remove the old Makefile based nanobsd build method, the new shell script
based is far better and the only one supported from now on.

18 years agoReorder statements to avoid accessing unknown memory.
David Xu [Mon, 26 Sep 2005 14:14:55 +0000 (14:14 +0000)]
Reorder statements to avoid accessing unknown memory.
In theory, invoking kenv with very long string can panic
kernel.

18 years agoAccept "maximum" and "minimum" modes as well as their abbreviations.
Dag-Erling Smørgrav [Mon, 26 Sep 2005 12:16:27 +0000 (12:16 +0000)]
Accept "maximum" and "minimum" modes as well as their abbreviations.

MFC after: 2 weeks

18 years agoAssert v_fifoinfo is non-NULL in fifo_close() in order to catch
Robert Watson [Mon, 26 Sep 2005 08:17:03 +0000 (08:17 +0000)]
Assert v_fifoinfo is non-NULL in fifo_close() in order to catch
non-conforming cases sooner.

MFC after: 3 days
Reported by: Peter Holm <peter at holm dot cc>

18 years agoAcquire Giant in uprintf() and tprintf() rather than asserting it. In
Robert Watson [Mon, 26 Sep 2005 08:02:24 +0000 (08:02 +0000)]
Acquire Giant in uprintf() and tprintf() rather than asserting it.  In
the vast majority of cases, these functions are called without mutexes
held, meaning that in all but two cases, there will be no ordering
issues with doing this, and it will eliminate the need for changes in
the caller.  In two cases, mutexes are held, so Giant must be acquired
before those mutexes such that uprintf() and tprintf() recurse Giant
rather than generating a lock order reversal.

Suggested by: bde

18 years agoFix order and style(9) to match surrounding defs.
Nate Lawson [Mon, 26 Sep 2005 07:45:35 +0000 (07:45 +0000)]
Fix order and style(9) to match surrounding defs.

18 years agominor style.Makefile(5) fixes:
Giorgos Keramidas [Mon, 26 Sep 2005 06:23:43 +0000 (06:23 +0000)]
minor style.Makefile(5) fixes:
- WARNS before CFLAGS
- CFLAGS -DXXX before -IXXX

Approved by: ru

18 years agoAdd dummy support for ifmedia subsystem. This allows devd to see cdce as an
Maxim Sobolev [Mon, 26 Sep 2005 05:29:46 +0000 (05:29 +0000)]
Add dummy support for ifmedia subsystem. This allows devd to see cdce as an
ethernet device and configure IP etc.

Submitted by: Craig Boston <craig@tobuj.gank.org>

18 years agoRemove the kernel portion of OLDCARD. I'm working on a replacement
Warner Losh [Sun, 25 Sep 2005 21:29:32 +0000 (21:29 +0000)]
Remove the kernel portion of OLDCARD.  I'm working on a replacement
for pccardc dumpcis, but until I'm done with that, I'm leaving pccardc
in place.  As such, I'm leaving the .h files in place for the moment.

18 years agoRemove references to OLDCARD.
Warner Losh [Sun, 25 Sep 2005 21:26:09 +0000 (21:26 +0000)]
Remove references to OLDCARD.

18 years agoOLDCARD is being removed from the tree, so remove it from here.
Warner Losh [Sun, 25 Sep 2005 21:24:06 +0000 (21:24 +0000)]
OLDCARD is being removed from the tree, so remove it from here.

# the snc pccard entry might be able to be moved to files

18 years agoCorrect filesystem mountpoint
Poul-Henning Kamp [Sun, 25 Sep 2005 21:23:19 +0000 (21:23 +0000)]
Correct filesystem mountpoint

18 years agoFix multiple abuses of __RMAN_RESOURCE_VISIBLE in the arm code.
Olivier Houchard [Sun, 25 Sep 2005 21:06:50 +0000 (21:06 +0000)]
Fix multiple abuses of __RMAN_RESOURCE_VISIBLE in the arm code.

Spotted out by: phk

18 years ago__RMAN_RESOURCE_VISIBLE not necessary.
Poul-Henning Kamp [Sun, 25 Sep 2005 20:21:48 +0000 (20:21 +0000)]
__RMAN_RESOURCE_VISIBLE not necessary.

18 years ago__RMAN_RESOURCE_VISIBLE not needed.
Poul-Henning Kamp [Sun, 25 Sep 2005 20:21:14 +0000 (20:21 +0000)]
__RMAN_RESOURCE_VISIBLE not needed.

18 years agoReplace __RMAN_RESOURCE_VISIBLE with calls to public entry points
Poul-Henning Kamp [Sun, 25 Sep 2005 20:12:30 +0000 (20:12 +0000)]
Replace __RMAN_RESOURCE_VISIBLE with calls to public entry points
in rman module.

18 years agoAdd rman_is_region_manager() for the benefit of an alpha hack.
Poul-Henning Kamp [Sun, 25 Sep 2005 20:10:10 +0000 (20:10 +0000)]
Add rman_is_region_manager() for the benefit of an alpha hack.

18 years ago__RMAN_RESOURCE_VISIBLE is not actually needed.
Poul-Henning Kamp [Sun, 25 Sep 2005 20:03:41 +0000 (20:03 +0000)]
__RMAN_RESOURCE_VISIBLE is not actually needed.

18 years agoLock the read socket receive buffer when frobbing the sb_state flag on
Robert Watson [Sun, 25 Sep 2005 19:52:09 +0000 (19:52 +0000)]
Lock the read socket receive buffer when frobbing the sb_state flag on
that socket during open, not the write socket receive buffer.  This
might explain clearing of the sb_state SB_LOCK flag seen occasionally
in soreceive() on fifos.

MFC after: 3 days
Spotted by: ups

18 years agoSubstitute rman_get_start() for __RMAN_RESOURCE_VISIBLE
Poul-Henning Kamp [Sun, 25 Sep 2005 19:48:51 +0000 (19:48 +0000)]
Substitute rman_get_start() for __RMAN_RESOURCE_VISIBLE

18 years agoThis file never needed to see what is in the internal struct resource,
Poul-Henning Kamp [Sun, 25 Sep 2005 19:34:54 +0000 (19:34 +0000)]
This file never needed to see what is in the internal struct resource,
all it needed was a call to rman_get_start().

18 years agoOverhaul error handling in the IPS driver. Don't use a magic value for
Scott Long [Sun, 25 Sep 2005 17:12:41 +0000 (17:12 +0000)]
Overhaul error handling in the IPS driver.  Don't use a magic value for
driver-induced errors, instead be better about propagating error status
upwards.  Add more error definitions, courtesy of the linux driver.  Fix
a command leak in the ioctl handler.  Re-arrange some of the command handlers
to localize error handling.

MFC After: 3 days

18 years agoRemove OLDCARD vestiges from here
Warner Losh [Sun, 25 Sep 2005 01:39:04 +0000 (01:39 +0000)]
Remove OLDCARD vestiges from here

18 years agoFix comment
Warner Losh [Sun, 25 Sep 2005 01:38:02 +0000 (01:38 +0000)]
Fix comment

18 years agoImplement new world order in VFS locking for extended attributes. This will
Christian S.J. Peron [Sat, 24 Sep 2005 23:47:04 +0000 (23:47 +0000)]
Implement new world order in VFS locking for extended attributes. This will
remove the unconditional acquisition of Giant for extended attribute related
operations. If the file system is set as being MP safe and debug.mpsafevfs is
1, do not pickup Giant.

Mark the following system calls as being MP safe so we no longer pickup Giant
in the system call handler:

o extattrctl
o extattr_set_file
o extattr_get_file
o extattr_delete_file
o extattr_set_fd
o extattr_get_fd
o extattr_delete_fd
o extattr_set_link
o extattr_get_link
o extattr_delete_link
o extattr_list_file
o extattr_list_link
o extattr_list_fd

-Pass MPSAFE flags to namei(9) lookup and introduce vfslocked variable which
 will keep track of any Giant acquisitions.
-Wrap any fd operations which manipulate vnodes in VFS_{UN}LOCK_GIANT
-Drop VFS_ASSERT_GIANT into function which operate on vnodes to ensure that
 we are sufficiently protected.

I've tested these changes with various TrustedBSD MAC policies which use
extended attribute a lot on SMP and UP systems (thanks to Scott Long for
making some SMP hardware available to me for testing).

Discussed with: jeff
Requested by: jhb, rwatson

18 years agoDo not bitch about bsdpan modules not having origin.
Kirill Ponomarev [Sat, 24 Sep 2005 21:41:47 +0000 (21:41 +0000)]
Do not bitch about bsdpan modules not having origin.

Based on PR: bin/82269
Submitted by: Steven Hartland <killing at multiplay dot co dot uk>
MFC after: 3 days

18 years agoFix -u with absolute paths (e.g., "tar -uf foo.tar /bar") by handling
Tim Kientzle [Sat, 24 Sep 2005 21:19:57 +0000 (21:19 +0000)]
Fix -u with absolute paths (e.g., "tar -uf foo.tar /bar") by handling
pathname edits before comparing pathnames on disk to those in the archive.

Thanks to: Gareth Bailey, Lowell Gilbert

18 years agoDetect Mac OS X's broken ACL library.
Tim Kientzle [Sat, 24 Sep 2005 21:17:47 +0000 (21:17 +0000)]
Detect Mac OS X's broken ACL library.

Thanks to: Diego "Flameeyes" Petten?

18 years agosigned/unsigned fixes (thanks to GCC4) and a few related minor style corrections.
Tim Kientzle [Sat, 24 Sep 2005 21:15:00 +0000 (21:15 +0000)]
signed/unsigned fixes (thanks to GCC4) and a few related minor style corrections.

18 years agoUse the new bus_space/resource convenience functions.
Poul-Henning Kamp [Sat, 24 Sep 2005 20:46:02 +0000 (20:46 +0000)]
Use the new bus_space/resource convenience functions.

18 years agoUse new bus_space/resource convenience functions.
Poul-Henning Kamp [Sat, 24 Sep 2005 20:44:55 +0000 (20:44 +0000)]
Use new bus_space/resource convenience functions.

Pretend the 10-bit I/O ISA addressing is not our problem.

18 years agoAdd convenience macros for bus_space usage that doesn't require specification
Poul-Henning Kamp [Sat, 24 Sep 2005 20:11:07 +0000 (20:11 +0000)]
Add convenience macros for bus_space usage that doesn't require specification
of bus tag+handle.

Instead of
bus_space_write_1(sc->tag, sc->handle, ...)
this macros offer
bus_write_1(sc->resource, ...)

The name+argument transformation is constant and the the macros are
generated (by hand) by the script in tools/bus_macro.sh.

18 years agoSplit struct resource in an external and internal part.
Poul-Henning Kamp [Sat, 24 Sep 2005 20:07:03 +0000 (20:07 +0000)]
Split struct resource in an external and internal part.

The external part is still called 'struct resource' but the contents
is now visible to drivers etc.  This makes it part of the device
driver ABI so it not be changed lightly.  A comment to this effect
is in place.

The internal part is called 'struct resource_i' and contain its external
counterpart as one field.

Move the bus_space tag+handle into the external struct resource, this
removes the need for device drivers to even know about these fields
in order to use bus_space to access hardware. (More in following commit).

18 years agoRemove '\n' since it's redundant in case if file doesn't exist while
Kirill Ponomarev [Sat, 24 Sep 2005 19:41:56 +0000 (19:41 +0000)]
Remove '\n' since it's redundant in case if file doesn't exist while
running 'pkg_info -g'

Based on PR: bin/42609
Submitted by: Jeff King <peff-freebsd at peff dot net>
MFC after: 3 days

18 years agoAdd two convenience functions for device drivers: bus_alloc_resources()
Poul-Henning Kamp [Sat, 24 Sep 2005 19:31:10 +0000 (19:31 +0000)]
Add two convenience functions for device drivers:  bus_alloc_resources()
and bus_free_resources().  These functions take a list of resources
and handle them all in one go.  A flag makes it possible to mark
a resource as optional.

A typical device driver can save 10-30 lines of code by using these.

Usage examples will follow RSN.

MFC: A good idea, eventually.

19 years agoI have confirmed with my Epson EEN10B that it needs to look at the
Warner Losh [Sat, 24 Sep 2005 17:36:43 +0000 (17:36 +0000)]
I have confirmed with my Epson EEN10B that it needs to look at the
attribute memory at 0xff0 to find its MAC address.  This is another
instance of the IBM ethercard II from all apperances (short of popping
the lid).  Update the entry to document which cards we support
actually need this functionality.

19 years agoRemove unnecessary Dlink de650 entry
Warner Losh [Sat, 24 Sep 2005 17:32:57 +0000 (17:32 +0000)]
Remove unnecessary Dlink de650 entry

19 years agoThe DLink DE650 has the same ID as Linksys EthernetCard, so we don't
Warner Losh [Sat, 24 Sep 2005 17:32:20 +0000 (17:32 +0000)]
The DLink DE650 has the same ID as Linksys EthernetCard, so we don't
need a sperate entry for it.

19 years agoTry to avoid crashes during kernel startup by limiting the # of EISA
Wilko Bulte [Sat, 24 Sep 2005 16:47:34 +0000 (16:47 +0000)]
Try to avoid crashes during kernel startup by limiting the # of EISA
slots to probe.  Problems have been reported in this area, lets hope this
bandaid helps.

!! Owners of EISA-equipped Alpha machines are requested to at least
!! boot-test a 6-BETA build and report back to the Alpha list. Thanks!

Approved by: re (scottl)
Suggested by: ticso

19 years agoSimplify the code by making use of 'kldstat -q -m <mod>'.
Pawel Jakub Dawidek [Sat, 24 Sep 2005 15:57:17 +0000 (15:57 +0000)]
Simplify the code by making use of 'kldstat -q -m <mod>'.

No objections from: mlaier

19 years agoThis part of the struct isn't needed on FreeBSD:
Alexander Leidinger [Sat, 24 Sep 2005 14:49:36 +0000 (14:49 +0000)]
This part of the struct isn't needed on FreeBSD:
---snip---
FYI this bit isn't needed for FreeBSD - I think it came from either
OpenBSD or NetBSD where arc4random() wasn't available during cold
boot.
---snip---

Explained by: iedowse

19 years agoThe function inplace_edit() doesn't exist anymore, remove the prototype.
Stefan Farfeleder [Sat, 24 Sep 2005 13:18:30 +0000 (13:18 +0000)]
The function inplace_edit() doesn't exist anymore, remove the prototype.

Submitted by: Leonardo Chiquitto Filho

19 years agoMake it possible to set the NANO_TOOLS variable to a directory outside
Simon L. B. Nielsen [Sat, 24 Sep 2005 12:26:59 +0000 (12:26 +0000)]
Make it possible to set the NANO_TOOLS variable to a directory outside
of $NANO_SRC, which can e.g. be used if the nanobsd scripts are not in
the source tree being built.

Improved by: phk
Approved by: phk

19 years agoUpdate usage.
Pawel Jakub Dawidek [Sat, 24 Sep 2005 08:20:45 +0000 (08:20 +0000)]
Update usage.

19 years agoFix typo.
Christian Brueffer [Sat, 24 Sep 2005 07:07:55 +0000 (07:07 +0000)]
Fix typo.

PR: 86522
Submitted by: Stephen Hurd <shurd@sasktel.net>
MFC after: 3 days

19 years agoMake rule zero really magical, that way we don't have to do anything
Poul-Henning Kamp [Sat, 24 Sep 2005 07:03:09 +0000 (07:03 +0000)]
Make rule zero really magical, that way we don't have to do anything
when we mount and get zero cost if no rules are used in a mountpoint.

Add code to deref rules on unmount.

Switch from SLIST to TAILQ.

Drop SYSINIT, use SX_SYSINIT and static initializer of TAILQ instead.

Drop goto, a break will do.

Reduce double pointers to single pointers.

Combine reaping and destroying rulesets.

Avoid memory leaks in a some error cases.

19 years agoModify the code path of the ifdef NOTYET part of _kse_single_thread():
Brian Somers [Sat, 24 Sep 2005 01:19:53 +0000 (01:19 +0000)]
Modify the code path of the ifdef NOTYET part of _kse_single_thread():

o  Don't reinitialise the atfork() handler list in the child.  We
   are meant to call the child handler, and on subsequent fork()s
   should call all three functions as normal.
o  Don't reinitialise the thread specific keyed data in the
   child after a fork.  Applications may require this for context.
o  Reinitialise curthread->tlflags after removing ourselves from
   (and reinitialising) the various internal thread lists.
o  Reinitialise __malloc_lock in the child after fork() (to balance
   our explicitly taking the lock prior to the fork()).

With these changes, it is possible to enable the NOTYET code in
thr_kern.c to allow the use of non-async-safe functions after
fork()ing from a threaded program.

Reviewed by: Daniel Eischen <deischen@freebsd.org>
[_malloc_lock reinitialisation has since been moved to avoid polluting the
!NOTYET code]

19 years agoSimplify the code a bit by using newly added (to kldstat(8) '-q') option.
Pawel Jakub Dawidek [Fri, 23 Sep 2005 23:53:35 +0000 (23:53 +0000)]
Simplify the code a bit by using newly added (to kldstat(8) '-q') option.

19 years agoAdd '-q' option, which (when used with '-m' option) just tells if the given
Pawel Jakub Dawidek [Fri, 23 Sep 2005 23:52:26 +0000 (23:52 +0000)]
Add '-q' option, which (when used with '-m' option) just tells if the given
module is loaded or compiled into the kernel.
This is useful mostly in startup scripts, when module should be loaded only
if it wasn't compiled into the kernel nor already loaded, eg.:

kldstat -q -m g_eli || kldload geom_eli.ko || err 1 'geom_eli module failed to load.'

19 years agoRemove obsolete include
Warner Losh [Fri, 23 Sep 2005 21:59:11 +0000 (21:59 +0000)]
Remove obsolete include

19 years agoRestore a historical ufs_inactive behavior that has been changed
Xin LI [Fri, 23 Sep 2005 20:49:57 +0000 (20:49 +0000)]
Restore a historical ufs_inactive behavior that has been changed
in rev. 1.40 of ufs_inode.c, which allows an inode being truncated
even when the filesystem itself is marked RDONLY.  A subsequent
call of UFS_TRUNCATE (ffs_truncate) would panic the system as it
asserts that it can only be called when the filesystem is mounted
read-write (same changeset, rev. 1.74 of sys/ufs/ffs/ffs_inode.c).

Because ffs_mount() already takes care of sync'ing the filesystem
to disk before being downgraded to readonly, it appears to be more
desirable that we should not permit this sort of writes to disk.

This change would fix a panic that occours when read-only mounted
a corrupted filesystem and doing some file operations.

MT6/5/4 candidate

Reviewed by: mckusick

19 years agoIf we're not installing OpenSSH in the base, don't install its startup
Garrett Wollman [Fri, 23 Sep 2005 16:54:09 +0000 (16:54 +0000)]
If we're not installing OpenSSH in the base, don't install its startup
file either.  This clears the way for third-party SSH ports to install
an RCng startup script.

19 years agoAdd myself to FreeBSD calendar
Marcus Alves Grando [Fri, 23 Sep 2005 13:06:23 +0000 (13:06 +0000)]
Add myself to FreeBSD calendar

Approved by: pav (mentor)

19 years agoFix vgrind(1) indexing I broke in previous revision.
Ruslan Ermilov [Fri, 23 Sep 2005 12:55:22 +0000 (12:55 +0000)]
Fix vgrind(1) indexing I broke in previous revision.

PR: bin/86343
Submitted by: Matej Vela <vela@debian.org>

19 years agoCanonicalize the UNIX domain socket copyright layout: original holders
Robert Watson [Fri, 23 Sep 2005 12:41:06 +0000 (12:41 +0000)]
Canonicalize the UNIX domain socket copyright layout: original holders
before more recent holders.

MFC after: 3 days

19 years agoFor reasons of consistency (and necessity), assert an exclusive vnode
Robert Watson [Fri, 23 Sep 2005 12:39:51 +0000 (12:39 +0000)]
For reasons of consistency (and necessity), assert an exclusive vnode
lock on the fifo vnode in fifo_open(): we rely on the vnode lock to
serialize access to v_fifoinfo.

MFC after: 3 days

19 years agoWhitespaces cleanup.
Kirill Ponomarev [Fri, 23 Sep 2005 12:15:52 +0000 (12:15 +0000)]
Whitespaces cleanup.

PR: conf/81926
Submitted by: Gavin Atkinson <gavin.atkinson at ury dot york dot ac dot uk>

19 years agoFrank Lloyd Wright birth year is 1867, not 1869.
Kirill Ponomarev [Fri, 23 Sep 2005 12:02:27 +0000 (12:02 +0000)]
Frank Lloyd Wright birth year is 1867, not 1869.

PR: conf/82051
Submitted by: Derek Jones <derek at wahila dot com>

19 years agoFix typo, FRG and GDR became UNO members in 1973, not in 1993.
Kirill Ponomarev [Fri, 23 Sep 2005 11:58:16 +0000 (11:58 +0000)]
Fix typo, FRG and GDR became UNO members in 1973, not in 1993.

PR: conf/86193
Submitted by: Matthias Buelow <mkb at incubus dot de>

19 years agoFix comment
Maksim Yevmenkin [Thu, 22 Sep 2005 19:15:33 +0000 (19:15 +0000)]
Fix comment

19 years agoForgot to commit ata-card fixes last night. Fix gleb's attempt to do
Warner Losh [Thu, 22 Sep 2005 18:46:29 +0000 (18:46 +0000)]
Forgot to commit ata-card fixes last night.  Fix gleb's attempt to do
the right thing by merging in the changes I neglected to commit last
night.

19 years agoFix build.
Gleb Smirnoff [Thu, 22 Sep 2005 18:41:56 +0000 (18:41 +0000)]
Fix build.

19 years agoBump up BUFSIZE from 4k to 8k. This was requested by portmgr@ to allow
Mark Peek [Thu, 22 Sep 2005 18:32:53 +0000 (18:32 +0000)]
Bump up BUFSIZE from 4k to 8k. This was requested by portmgr@ to allow
ports builds in the cluster to work correctly.

Tested by: kris

19 years agoNote Hawking PN652TX support
Warner Losh [Thu, 22 Sep 2005 16:56:48 +0000 (16:56 +0000)]
Note Hawking PN652TX support

19 years agoClarify supported cards
Warner Losh [Thu, 22 Sep 2005 16:56:28 +0000 (16:56 +0000)]
Clarify supported cards

19 years agoFix the "fpudna: fpcurthread == curthread XXX times" problem.
Stephan Uphoff [Thu, 22 Sep 2005 15:46:21 +0000 (15:46 +0000)]
Fix the "fpudna: fpcurthread == curthread XXX times" problem.

Tested by: kris@
Reviewed by: peter@
MFC after: 3 days

19 years agoDon't pretend to be thread0 when calling sync().
Stephan Uphoff [Thu, 22 Sep 2005 15:34:15 +0000 (15:34 +0000)]
Don't pretend to be thread0 when calling sync().
It confuses the lock manager since in some places thread0 is
then used for vnode locking while curthread is used for vnode unlocking.

Found by: Yahoo!
Reviewed by: ps@,jhb@
MFC after: 3 days

19 years agoCause all flags passed by boot2 to set the respective loader(8)
Ruslan Ermilov [Thu, 22 Sep 2005 15:14:13 +0000 (15:14 +0000)]
Cause all flags passed by boot2 to set the respective loader(8)
boot_* variable.  The end effect is that all flags from boot2
are now passed to the kernel.

19 years agoAdd loader(8) variables for RB_DFLTROOT, RB_MUTE, and RB_PAUSE:
Ruslan Ermilov [Thu, 22 Sep 2005 15:06:58 +0000 (15:06 +0000)]
Add loader(8) variables for RB_DFLTROOT, RB_MUTE, and RB_PAUSE:
"boot_dfltroot", "boot_mute", and "boot_pause" respectively.

19 years agoRemove compat layer for OLDCARD compatibility. All instances of it
Warner Losh [Thu, 22 Sep 2005 14:51:11 +0000 (14:51 +0000)]
Remove compat layer for OLDCARD compatibility.  All instances of it
are now gone from the tree.

19 years agoSince special interface types get their own subsections
Yaroslav Tykhiy [Thu, 22 Sep 2005 11:49:52 +0000 (11:49 +0000)]
Since special interface types get their own subsections
(not in mdoc(7) sense yet) in ifconfig(8) manpage, create such
subsections for gif(4) and vlan(4) so that their specific
options are not mixed up with general options.

19 years ago- RBX_MASK wasn't updated when RB_PAUSE was changed from 0x40000
Ruslan Ermilov [Thu, 22 Sep 2005 11:20:33 +0000 (11:20 +0000)]
- RBX_MASK wasn't updated when RB_PAUSE was changed from 0x40000
  to 0x100000 in rev. 1.67.

- NOPT wasn't updated (decremented) in previous revision.

19 years agoFix a typo
Brian Somers [Thu, 22 Sep 2005 11:18:30 +0000 (11:18 +0000)]
Fix a typo

Obtained from: OpenBSD

19 years agoAdd fi_sx, an sx lock to serialize I/O operations on the socket pair
Robert Watson [Thu, 22 Sep 2005 10:51:12 +0000 (10:51 +0000)]
Add fi_sx, an sx lock to serialize I/O operations on the socket pair
underlying the POSIX fifo implementation.  In 6.x/7.x, fifo access is
moved from the VFS layer, where it was serialized using the vnode
lock, to the file descriptor layer, where access is protected by a
reference count but not serialized.  This exposed socket buffer
locking to high levels of parallelism in specific fifo workloads, such
as make -j 32, which expose as yet unresolved socket buffer bugs.

fi_sx re-adds serialization about the read and write routines,
although not paths that simply test socket buffer mbuf queue state,
such as the poll and kqueue methods.  This restores the extra locking
cost previously present in some cases, but is an effective workaround
for the instability that has been experienced.  This workaround should
be removed once the bug in socket buffer handling has been fixed.

Reported by: kris, jhb, Julien Gabel <jpeg at thilelli dot net>,
Peter Holm <peter at holm dot cc>, others
MFC after: 3 days

19 years agoAdd HTTP proxy authentication, via the HTTP_PROXY_AUTH environment
Colin Percival [Thu, 22 Sep 2005 07:11:27 +0000 (07:11 +0000)]
Add HTTP proxy authentication, via the HTTP_PROXY_AUTH environment
variable.

Tested by: Emil Mikulic
X-MFC-After: 6.0-RELEASE

19 years ago'PC Card' instead of other variants
Warner Losh [Thu, 22 Sep 2005 06:01:44 +0000 (06:01 +0000)]
'PC Card' instead of other variants

19 years agoEliminate dead code
Warner Losh [Thu, 22 Sep 2005 05:56:32 +0000 (05:56 +0000)]
Eliminate dead code

19 years agoPC Card instead of other variants
Warner Losh [Thu, 22 Sep 2005 05:52:54 +0000 (05:52 +0000)]
PC Card instead of other variants

19 years agoFinish last commit: actually remove compat methods from bt3c_pccard_methods
Warner Losh [Thu, 22 Sep 2005 05:51:07 +0000 (05:51 +0000)]
Finish last commit: actually remove compat methods from bt3c_pccard_methods

19 years agoRemove broken OLDCARD compat shims.
Warner Losh [Thu, 22 Sep 2005 05:47:04 +0000 (05:47 +0000)]
Remove broken OLDCARD compat shims.
"PC Card" is the correct spelling.  "PC-Card" isn't, per the PCMCIA
standard.

19 years agoDo not use passphraseless keys for authentication unless the nullok
Dag-Erling Smørgrav [Thu, 22 Sep 2005 05:35:24 +0000 (05:35 +0000)]
Do not use passphraseless keys for authentication unless the nullok
option was specified.

PR: bin/81231
Submitted by: "Daniel O'Connor" <doconnor@gsoft.com.au>
MFC after: 3 days

19 years agoMFp4: save mac addr hint, eliminage OLDCARD shims
Warner Losh [Thu, 22 Sep 2005 05:11:50 +0000 (05:11 +0000)]
MFp4: save mac addr hint, eliminage OLDCARD shims

19 years agoUse the AHC_DISABLE_PCI_PERR flag to silence parity error reporting on
Justin T. Gibbs [Thu, 22 Sep 2005 05:11:35 +0000 (05:11 +0000)]
Use the AHC_DISABLE_PCI_PERR flag to silence parity error reporting on
chips where setting the FAILDIS bit is not effective.  While here,
try again to make it clear that reported parity errors indicate
a failure of some PCI device *other than* the aic7xxx controller.

19 years agoRemove OLDCARD shims
Warner Losh [Thu, 22 Sep 2005 05:06:37 +0000 (05:06 +0000)]
Remove OLDCARD shims

19 years agoEnhance diagnostic printfs for the chains of free lists used to
Justin T. Gibbs [Thu, 22 Sep 2005 05:06:03 +0000 (05:06 +0000)]
Enhance diagnostic printfs for the chains of free lists used to
avoid SCB ID collissions to non-packetized targets.

19 years agoCorrect bug that caused the completed "recovery" scb to have its
Justin T. Gibbs [Thu, 22 Sep 2005 05:01:37 +0000 (05:01 +0000)]
Correct bug that caused the completed "recovery" scb to have its
timer reset rather than the timer of an SCB still pending on the
controller after recovery completed.  This should correct timeout
loops seen in the field.

19 years agoSet allow_memio to 1 if fetching the allow_memio hint fails. This
Justin T. Gibbs [Thu, 22 Sep 2005 04:56:59 +0000 (04:56 +0000)]
Set allow_memio to 1 if fetching the allow_memio hint fails.  This
is the default behavior according the the bootverbose printf in the
failure case.

19 years agoMFp4: Remove OLDCARD shims
Warner Losh [Thu, 22 Sep 2005 04:51:11 +0000 (04:51 +0000)]
MFp4: Remove OLDCARD shims

19 years agoMFp4: trivial KNF nits
Warner Losh [Thu, 22 Sep 2005 04:49:17 +0000 (04:49 +0000)]
MFp4: trivial KNF nits

19 years agoMFp4: KNF (mostly remove K&R function definitions). Fix some spaces left
Warner Losh [Thu, 22 Sep 2005 04:46:56 +0000 (04:46 +0000)]
MFp4: KNF (mostly remove K&R function definitions).  Fix some spaces left
over from de__Ping.

# Didn't fix the -Exxxx return statements that appaer to be linuxisms
# (and wrong) since I don't have hardware to test with.

19 years agoRemove the OPTIONS section, since it only documents FE_DEBUG and wrongly
Giorgos Keramidas [Thu, 22 Sep 2005 01:50:00 +0000 (01:50 +0000)]
Remove the OPTIONS section, since it only documents FE_DEBUG and wrongly
so.  If the full list of fe(4) options is documented we can revive the
entire section.

PR: docs/86228
Submitted by: n-kogane@syd.odn.ne.jp
Helped by: Masahiro Sekiguchi <seki@jp.fujitsu.com>
MFC after: 1 week