dragonfly.git
16 years ago* Implement a mountctl() op for setting export control on a filesystem.
Matthew Dillon [Tue, 5 Feb 2008 20:49:52 +0000 (20:49 +0000)]
* Implement a mountctl() op for setting export control on a filesystem.

* Adjust mountd to try to use the mountctl() op BEFORE calling a UFS-style
  mount() to set export ops for a filesystem.

* Add a prototype for the mountctl() system call in sys/mountctl.h

* Cleanup WARNS for the mountctl utility.

16 years agoAdd some words about __MAKE_CONF.
Sascha Wildner [Tue, 5 Feb 2008 19:22:04 +0000 (19:22 +0000)]
Add some words about __MAKE_CONF.

16 years agoAlso fix a double free.
Matthias Schmidt [Tue, 5 Feb 2008 14:35:43 +0000 (14:35 +0000)]
Also fix a double free.

Obtained-from: FreeBSD

16 years agoFix memory leaks.
Matthias Schmidt [Tue, 5 Feb 2008 14:25:06 +0000 (14:25 +0000)]
Fix memory leaks.

Obtained-From: OpenBSD

16 years agoo Remove version number
Matthias Schmidt [Tue, 5 Feb 2008 13:00:36 +0000 (13:00 +0000)]
o Remove version number
o Minor style changes

16 years agoSet flow control pause time to 512us _again_ as it was two years ago
Sepherosa Ziehau [Tue, 5 Feb 2008 11:12:27 +0000 (11:12 +0000)]
Set flow control pause time to 512us _again_ as it was two years ago
(if_em.c rev1.42).

Submitted-by: Gary Stanley <gary@velocity-servers.net>
16 years agoReplace the nologin shell script with a tiny c version. Just for the sake
Matthias Schmidt [Tue, 5 Feb 2008 10:58:04 +0000 (10:58 +0000)]
Replace the nologin shell script with a tiny c version.  Just for the sake
of completeness :)

16 years agoHAMMER 25/many: Pruning code
Matthew Dillon [Tue, 5 Feb 2008 07:58:43 +0000 (07:58 +0000)]
HAMMER 25/many: Pruning code

* Add b_tid to struct buf so dirty buffer cache buffers can be tagged with
  a transaction id to try to retain consistency when doing as-of queries
  on files that change size (so the data records have a TID <= the inode
  record).  This is also an issue when a file is created and immediately
  written to.  This may be temporary, a more sophisticated solution is needed.

* Fix a bug in the special handling of create_tid for as-of queries
  in btree_search().  An assignment was off by one, causing historical
  queries to not be able to find bits of data here and there.

* Freeze the transaction id for newly created inodes until the initial
  inode record is laid down on disk, so the transaction id matches the
  transaction id of the related directory entry.

* Major work on the pruning code.   When pruning the tree to a particular
  granularity the create_tid and delete_tid of related records must be
  aligned to that granularity in order to avoid creating 'holes' at
  various time points.

  This requires some serious B-Tree manipulation because the right-hand
  boundary may need to be shifted when the create_tid of an existing
  record is forward aligned.  This work is still in progress but it works
  in basic testing.

  Prune the tree in the reverse direction instead of in the forward
  direction.  This keeps the B-Tree consistent when we have to adjust
  the right-hand boundary to accomodate the realignment of create_tid.

16 years agoAdd a conditional so we don't have to drag in everything when a user
Matthew Dillon [Tue, 5 Feb 2008 01:44:04 +0000 (01:44 +0000)]
Add a conditional so we don't have to drag in everything when a user
just wants to use hammer_ioctl.h.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
16 years agoDon't use special CWARNFLAGS. Our default is good enough.
Sascha Wildner [Mon, 4 Feb 2008 22:22:06 +0000 (22:22 +0000)]
Don't use special CWARNFLAGS. Our default is good enough.

16 years agoifconfig_blah0="authmode wpa" causes ifconfig_getargs() to interpret
Sascha Wildner [Mon, 4 Feb 2008 19:03:06 +0000 (19:03 +0000)]
ifconfig_blah0="authmode wpa" causes ifconfig_getargs() to interpret
"wpa" as an invitation to start wpa_supplicant(8) (and to strip it
from the line) instead of just passing "authmode wpa" to ifconfig(8)
as expected.

Fix this by adding some code to ifconfig_getargs() and wpaif() which
checks if "wpa" is an argument to "authmode".

Submitted-by: Frank W. Josellis <frank@dynamical-systems.org>
16 years agoInstall dma(8) config files with mode 640 as root:mail to prevent ``normal''
Matthias Schmidt [Mon, 4 Feb 2008 13:39:46 +0000 (13:39 +0000)]
Install dma(8) config files with mode 640 as root:mail to prevent ``normal''
users from spying at roots smtp login data.

16 years agoAdd a new config option to dma(8). If a user wants to use plain text SMTP
Matthias Schmidt [Mon, 4 Feb 2008 10:11:41 +0000 (10:11 +0000)]
Add a new config option to dma(8).  If a user wants to use plain text SMTP
login over an insecure connection, he has to set the INSECURE option in
the config file.  Otherwise plain text login is only available over encrypted
connections.

Discussed-with: corecode@

16 years agoo Remove per-user config file support
Matthias Schmidt [Mon, 4 Feb 2008 08:58:54 +0000 (08:58 +0000)]
o Remove per-user config file support
o Remove old-style-connect with gethostbyname() etc.  It was #ifdefed out
  and getaddrinfo() will do the job.

16 years agoHAMMER utilities: Add the 'prune' and 'history' commands.
Matthew Dillon [Mon, 4 Feb 2008 08:34:22 +0000 (08:34 +0000)]
HAMMER utilities:  Add the 'prune' and 'history' commands.

16 years agoHAMMER 25/many: Add an ioctl API for HAMMER.
Matthew Dillon [Mon, 4 Feb 2008 08:33:17 +0000 (08:33 +0000)]
HAMMER 25/many: Add an ioctl API for HAMMER.

* Add HAMMERIOC_PRUNE - a command which will scan a range of inode numbers
  and prune them according to the supplied list.   This is a preliminary
  implementation.

* Add HAMMERIOC_GETHISTORY - a command which scans the history for a
  particular file or a particular file offset within a file and displays
  it.

16 years agoUse correct extension.
Simon Schubert [Mon, 4 Feb 2008 01:38:11 +0000 (01:38 +0000)]
Use correct extension.

Puzzled-gdb-debugging-by: aggelos@
16 years agoMake sure scb->lastfound is NULLed out when it matches the entry being
Matthew Dillon [Sun, 3 Feb 2008 21:40:42 +0000 (21:40 +0000)]
Make sure scb->lastfound is NULLed out when it matches the entry being
removed from the scb->sackblocks list.  Fix two places where this was not
occuring, leading to memory and list corruption.

Reported-by: Peter Avalos <pavalos@theshell.com>
16 years agoMention -O and bump .Dd
Matthias Schmidt [Sun, 3 Feb 2008 19:07:45 +0000 (19:07 +0000)]
Mention -O and bump .Dd

16 years agoAllow -q to take an argument (which is ignored) and add fake -O option to
Matthias Schmidt [Sun, 3 Feb 2008 18:41:40 +0000 (18:41 +0000)]
Allow -q to take an argument (which is ignored) and add fake -O option to
make dma(8) more sendmail(8) compatible and some startup scripts happy.

Reported-by: swildner@
16 years agoRemove leading 0 in .Dd.
Sascha Wildner [Sun, 3 Feb 2008 18:02:42 +0000 (18:02 +0000)]
Remove leading 0 in .Dd.

16 years agoIt's actually postfix(1).
Sascha Wildner [Sun, 3 Feb 2008 18:02:12 +0000 (18:02 +0000)]
It's actually postfix(1).

16 years agoRemove code accessing debug registers from vkernel platform to avoid crashes:
Nicolas Thery [Sun, 3 Feb 2008 15:10:26 +0000 (15:10 +0000)]
Remove code accessing debug registers from vkernel platform to avoid crashes:
these registers are available in privileged mode only but the vkernel runs in
user mode (issue 831).

16 years agoStore some empty magazines in depot at objcache creation time. Without this,
Nicolas Thery [Sun, 3 Feb 2008 13:37:56 +0000 (13:37 +0000)]
Store some empty magazines in depot at objcache creation time.  Without this,
objects move between per-cpu caches and the underlying allocator without ever
hitting the depot.

Code-collaboration-with: Matthew Dillon <dillon@backplane.com>

16 years agoWork around a `label defined but not used' warning in *generated* code.
Simon Schubert [Sun, 3 Feb 2008 13:14:12 +0000 (13:14 +0000)]
Work around a `label defined but not used' warning in *generated* code.

Obtained-from:  FreeBSD

16 years agoFixed typo in penultimate revision.
Nicolas Thery [Sun, 3 Feb 2008 13:10:36 +0000 (13:10 +0000)]
Fixed typo in penultimate revision.

16 years agoFix some compiler warnings and make dma(8) compile clean on FreeBSD. Commit
Matthias Schmidt [Sun, 3 Feb 2008 11:06:17 +0000 (11:06 +0000)]
Fix some compiler warnings and make dma(8) compile clean on FreeBSD.  Commit
submitted patch with minor modifications.

Submitted-by: Xin LI <delphij@delphij.net>
16 years agoSCO sysctls are implemented now in ubt(4).
Hasso Tepper [Sun, 3 Feb 2008 06:33:00 +0000 (06:33 +0000)]
SCO sysctls are implemented now in ubt(4).

16 years agoImplement SCO related sysctls.
Hasso Tepper [Sun, 3 Feb 2008 06:27:48 +0000 (06:27 +0000)]
Implement SCO related sysctls.

Obtained-from: NetBSD with modifications

16 years agoRemove wicontrol(8) references.
Sascha Wildner [Sun, 3 Feb 2008 02:14:48 +0000 (02:14 +0000)]
Remove wicontrol(8) references.

16 years agoRemove unused variable.
Sascha Wildner [Sun, 3 Feb 2008 00:41:44 +0000 (00:41 +0000)]
Remove unused variable.

16 years agoFix buildworld: add -I${.CURDIR} so aliases_parse.c can find dma.h.
Sascha Wildner [Sat, 2 Feb 2008 23:57:35 +0000 (23:57 +0000)]
Fix buildworld: add -I${.CURDIR} so aliases_parse.c can find dma.h.

16 years agoFix messages: s/installer_fetch/installer fetch/
Sascha Wildner [Sat, 2 Feb 2008 19:23:24 +0000 (19:23 +0000)]
Fix messages: s/installer_fetch/installer fetch/

16 years agoRemove leading zero in .Dd.
Sascha Wildner [Sat, 2 Feb 2008 18:43:46 +0000 (18:43 +0000)]
Remove leading zero in .Dd.

16 years agoMention /etc/dma and /var/spool/dma.
Matthias Schmidt [Sat, 2 Feb 2008 18:25:26 +0000 (18:25 +0000)]
Mention /etc/dma and /var/spool/dma.

16 years agoAdd the dma(8) config files to the system.
Matthias Schmidt [Sat, 2 Feb 2008 18:24:00 +0000 (18:24 +0000)]
Add the dma(8) config files to the system.

16 years agoAdd the DragonFly Mail Agent dma(8) to the base.
Matthias Schmidt [Sat, 2 Feb 2008 18:20:51 +0000 (18:20 +0000)]
Add the DragonFly Mail Agent dma(8) to the base.

dma is a small Mail Transport Agent (MTA), designed for home and office
use.  It accepts mails from locally installed Mail User Agents (MUA) and
delivers the mails either locally or to a remote destination.  Remote
delivery includes several features like TLS/SSL support and SMTP authen-
tication (AUTH LOGIN only).

dma is not intended as a replacement for real, big MTAs like sendmail(8)
or postfix(8).  Consequently, dma does not listen on port 25 for incoming
connections.

Current list of features:
- Local mail delivery with alias-support
- Remote mail delivery either direct or via a smarthost
- TLS/SSL and STARTTLS support for encrypted connections
- virtualusers (address rewriting) support
- SMTP authentication (currently only plain SMTP login)
- Sendmail compatible command line options
- IPv6 support

Code-collaboration-with: codecode@
Man-page-collaboration-with: swildner@
Approved-by: dillon@
16 years agoUse .Er for errnos.
Sascha Wildner [Sat, 2 Feb 2008 12:54:49 +0000 (12:54 +0000)]
Use .Er for errnos.

16 years agoRemove stale references.
Sascha Wildner [Sat, 2 Feb 2008 12:53:01 +0000 (12:53 +0000)]
Remove stale references.

16 years agoAdd gx and ray modules.
Sascha Wildner [Sat, 2 Feb 2008 11:22:09 +0000 (11:22 +0000)]
Add gx and ray modules.

16 years agoSilence warnings.
Sascha Wildner [Sat, 2 Feb 2008 09:21:24 +0000 (09:21 +0000)]
Silence warnings.

16 years agoComment out .El as well.
Sascha Wildner [Sat, 2 Feb 2008 09:19:54 +0000 (09:19 +0000)]
Comment out .El as well.

16 years agoRemove trailing space.
Sascha Wildner [Fri, 1 Feb 2008 22:22:24 +0000 (22:22 +0000)]
Remove trailing space.

16 years agoAdjust date for bthcid(8) variables.
Sascha Wildner [Fri, 1 Feb 2008 22:11:11 +0000 (22:11 +0000)]
Adjust date for bthcid(8) variables.

16 years agoFix various manpage nits.
Sascha Wildner [Fri, 1 Feb 2008 21:40:53 +0000 (21:40 +0000)]
Fix various manpage nits.

16 years agoMention SIGUSR1 in debugging section.
Nicolas Thery [Fri, 1 Feb 2008 21:01:45 +0000 (21:01 +0000)]
Mention SIGUSR1 in debugging section.

16 years agoRegenerate the pciconf(8) database from the following files:
Sascha Wildner [Fri, 1 Feb 2008 19:56:51 +0000 (19:56 +0000)]
Regenerate the pciconf(8) database from the following files:

Hart:    Jan 22, 2008 (version 671)
Boemler: Feb  1, 2007

16 years agoComplete the driver removal from sepe@ and remove the leftovers with next
Matthias Schmidt [Fri, 1 Feb 2008 14:39:56 +0000 (14:39 +0000)]
Complete the driver removal from sepe@ and remove the leftovers with next
make upgrade.

16 years agoAdd bluetooth(4) manpage.
Hasso Tepper [Fri, 1 Feb 2008 14:22:03 +0000 (14:22 +0000)]
Add bluetooth(4) manpage.

Obtained-from: NetBSD

16 years agoImplement net.bluetooth sysctls.
Hasso Tepper [Fri, 1 Feb 2008 14:18:58 +0000 (14:18 +0000)]
Implement net.bluetooth sysctls.

Obtained-from: NetBSD

16 years agoNuke raycontrol(8)
Sepherosa Ziehau [Fri, 1 Feb 2008 13:52:41 +0000 (13:52 +0000)]
Nuke raycontrol(8)

16 years agoAdd lists of product names to the man page. With these lists its easier
Matthias Schmidt [Fri, 1 Feb 2008 13:28:32 +0000 (13:28 +0000)]
Add lists of product names to the man page.  With these lists its easier
to see if your product supports features like jumbo frames/etc or not.

Reviewed-by: sephe@
16 years agoNuke following outdated drivers
Sepherosa Ziehau [Fri, 1 Feb 2008 13:18:49 +0000 (13:18 +0000)]
Nuke following outdated drivers
ray(4): FH only wireless NIC driver
awi(4): 802.11 (read: not even 802.11b) and FH wireless NIC driver
gx(4): replaced by em(4) and unmaintained for quite a long time

16 years agoShort manpage for ubt(4). Most of it is commented out for now because sco
Hasso Tepper [Fri, 1 Feb 2008 12:24:40 +0000 (12:24 +0000)]
Short manpage for ubt(4). Most of it is commented out for now because sco
link related sysctl's are not yet implemented in our driver.

Obtained-from: NetBSD

16 years agoNuke the ntpd(8).
Hasso Tepper [Fri, 1 Feb 2008 09:05:29 +0000 (09:05 +0000)]
Nuke the ntpd(8).

Approved-by: dillon@
16 years agoMore wicontrol(8) removal.
Hasso Tepper [Fri, 1 Feb 2008 08:39:58 +0000 (08:39 +0000)]
More wicontrol(8) removal.

16 years agoNuke wicontrol(8).
Hasso Tepper [Fri, 1 Feb 2008 08:18:36 +0000 (08:18 +0000)]
Nuke wicontrol(8).

Approved-by: sephe@
16 years agoOnly build nm.h if necessary. GC tm.h and xm.h.
Simon Schubert [Thu, 31 Jan 2008 21:59:06 +0000 (21:59 +0000)]
Only build nm.h if necessary.  GC tm.h and xm.h.

16 years agoAdapt the amd64 kgdb for the new gdb.
Simon Schubert [Thu, 31 Jan 2008 14:30:52 +0000 (14:30 +0000)]
Adapt the amd64 kgdb for the new gdb.

16 years agoRemove tm.h and xm.h handling, as it wasn't used. Use nm.h only when needed.
Simon Schubert [Thu, 31 Jan 2008 14:30:13 +0000 (14:30 +0000)]
Remove tm.h and xm.h handling, as it wasn't used.  Use nm.h only when needed.

16 years agoHard code the register offsets instead of deriving them at compile time.
Simon Schubert [Thu, 31 Jan 2008 14:28:57 +0000 (14:28 +0000)]
Hard code the register offsets instead of deriving them at compile time.

16 years agoAdjust README.
Simon Schubert [Thu, 31 Jan 2008 13:47:58 +0000 (13:47 +0000)]
Adjust README.

16 years agoMerge from vendor branch GDB:
Simon Schubert [Thu, 31 Jan 2008 13:46:41 +0000 (13:46 +0000)]
Merge from vendor branch GDB:
Resurrect deleted file.

16 years agoResurrect deleted file.
Simon Schubert [Thu, 31 Jan 2008 13:46:41 +0000 (13:46 +0000)]
Resurrect deleted file.

16 years agoRename HAMMER to HAMMER_CPU (like I686_CPU) to not conflict with the
Sascha Wildner [Thu, 31 Jan 2008 11:48:55 +0000 (11:48 +0000)]
Rename HAMMER to HAMMER_CPU (like I686_CPU) to not conflict with the
kernel option for the HAMMER filesystem.

16 years agoAdd missing manpage name.
Sascha Wildner [Thu, 31 Jan 2008 08:25:12 +0000 (08:25 +0000)]
Add missing manpage name.

16 years agoAddress a potential weakness in IBAA. The generator needs to be warmed up
Matthew Dillon [Wed, 30 Jan 2008 19:28:02 +0000 (19:28 +0000)]
Address a potential weakness in IBAA.  The generator needs to be warmed up
after seeding to remove potentially weak initial states.  Also address a
potential weakness in L15.  References follow.

http://www.leopard.uk.com
http://www.burtleburtle.net/bob/rand/isaac.html

Submitted-by: Robin Carey <robin_carey5@yahoo.co.uk>
16 years agoDocument bthcid(8) related variables in rc.conf(5).
Hasso Tepper [Wed, 30 Jan 2008 18:55:43 +0000 (18:55 +0000)]
Document bthcid(8) related variables in rc.conf(5).

16 years agoAdd rfcomm_sppd(1) - RFCOMM Serial Port Profile daemon.
Hasso Tepper [Wed, 30 Jan 2008 14:25:35 +0000 (14:25 +0000)]
Add rfcomm_sppd(1) - RFCOMM Serial Port Profile daemon.

Obtained-from: NetBSD

16 years agoAdd bthcid(8) - Bluetooth Link Key/PIN Code Manager and btpin(1) Bluetooth
Hasso Tepper [Wed, 30 Jan 2008 14:10:19 +0000 (14:10 +0000)]
Add bthcid(8) - Bluetooth Link Key/PIN Code Manager and btpin(1) Bluetooth
PIN utility.

Obtained-from: NetBSD with modifications

16 years agoBuild libevent.
Hasso Tepper [Wed, 30 Jan 2008 12:57:50 +0000 (12:57 +0000)]
Build libevent.

16 years agoAdd READMEs.
Hasso Tepper [Wed, 30 Jan 2008 12:52:45 +0000 (12:52 +0000)]
Add READMEs.

16 years agoMerge from vendor branch LIBEVENT:
Hasso Tepper [Wed, 30 Jan 2008 12:35:18 +0000 (12:35 +0000)]
Merge from vendor branch LIBEVENT:
Import libevent-1.3e.

16 years agoImport libevent-1.3e. vendor/LIBEVENT
Hasso Tepper [Wed, 30 Jan 2008 12:35:18 +0000 (12:35 +0000)]
Import libevent-1.3e.

16 years agoBump date for -l.
Sascha Wildner [Wed, 30 Jan 2008 12:35:07 +0000 (12:35 +0000)]
Bump date for -l.

16 years agoFix building with CPU_DISABLE_SSE (this fixes LINT building).
Sascha Wildner [Wed, 30 Jan 2008 11:57:09 +0000 (11:57 +0000)]
Fix building with CPU_DISABLE_SSE (this fixes LINT building).

16 years agoAdd '-l' support to vnconfig(8) and supporting VNGET ioctl to vn(4).
Chris Turner [Wed, 30 Jan 2008 11:46:33 +0000 (11:46 +0000)]
Add '-l' support to vnconfig(8) and supporting VNGET ioctl to vn(4).

Inspired-by: OpenBSD (with updates to vnconfig -l UI & swap support)
16 years agoConditionalize the illegal MXCSR tests on SSE support. Machines that did
Matthew Dillon [Tue, 29 Jan 2008 19:55:00 +0000 (19:55 +0000)]
Conditionalize the illegal MXCSR tests on SSE support.  Machines that did
not support SSE were improperly reporting MXCSR violations.

Finish implementing SSE support in the vkernel (not well tested).

Reported-by: ejc <eric.j.christeson@gmail.com>
16 years agoo Update dd(1) to accept capital letters (B, K, M, G) as size modifiers.
Matthias Schmidt [Mon, 28 Jan 2008 16:08:02 +0000 (16:08 +0000)]
o Update dd(1) to accept capital letters (B, K, M, G) as size modifiers.
o Remove the 3rd clause of the Berkeley license while here.

16 years agoMinor cosmetic change to the USB devices lists.
Matthias Schmidt [Mon, 28 Jan 2008 14:57:52 +0000 (14:57 +0000)]
Minor cosmetic change to the USB devices lists.

Reviewed-by: hasso@, swildner@
16 years agoFix spurious "softdep_deallocate_dependencies: dangling deps" panic occuring
Nicolas Thery [Mon, 28 Jan 2008 07:19:06 +0000 (07:19 +0000)]
Fix spurious "softdep_deallocate_dependencies: dangling deps" panic occuring
on low memory condition.

Add assertion to catch similar bugs automagically.

Reported-by: Peter Avalos <pavalos@theshell.com>
Reviewed-by: Matthew Dillon <dillon@backplane.com>
16 years agoRemove objcache from allobjcaches when cache destroyed.
Nicolas Thery [Sun, 27 Jan 2008 22:32:57 +0000 (22:32 +0000)]
Remove objcache from allobjcaches when cache destroyed.

Turn allobjcaches into double-linked list for fast removal.

16 years agoReference wiki version of handbook to be in line with similar change done to
Nicolas Thery [Sun, 27 Jan 2008 09:08:39 +0000 (09:08 +0000)]
Reference wiki version of handbook to be in line with similar change done to
web site recently.

16 years agoSort alphabetically.
Sascha Wildner [Sun, 27 Jan 2008 06:24:57 +0000 (06:24 +0000)]
Sort alphabetically.

16 years agoList all USB drivers along with a short description.
Sascha Wildner [Sun, 27 Jan 2008 05:19:13 +0000 (05:19 +0000)]
List all USB drivers along with a short description.

Suggested-by: hasso
16 years agoAdd dot (.) forgotten in last commit.
Matthias Schmidt [Sat, 26 Jan 2008 17:20:56 +0000 (17:20 +0000)]
Add dot (.) forgotten in last commit.

Noticed-by: swildner@
16 years agoMention wpa_supplicant(8) and wpa_supplicant.conf(5) if a user adds WPA
Matthias Schmidt [Sat, 26 Jan 2008 17:12:36 +0000 (17:12 +0000)]
Mention wpa_supplicant(8) and wpa_supplicant.conf(5) if a user adds WPA
keyword to an ifconfig_$foo line.

16 years agoOops, wrong year.
Sascha Wildner [Sat, 26 Jan 2008 16:33:18 +0000 (16:33 +0000)]
Oops, wrong year.

16 years agoIn SEE ALSO, mark references to pkgsrc manual pages as such.
Sascha Wildner [Sat, 26 Jan 2008 15:14:41 +0000 (15:14 +0000)]
In SEE ALSO, mark references to pkgsrc manual pages as such.

16 years agoBring in some fixes from FreeBSD.
Sascha Wildner [Sat, 26 Jan 2008 14:33:16 +0000 (14:33 +0000)]
Bring in some fixes from FreeBSD.

16 years agopbm(5) is part of pkgsrc/graphics/netpbm.
Sascha Wildner [Sat, 26 Jan 2008 14:17:27 +0000 (14:17 +0000)]
pbm(5) is part of pkgsrc/graphics/netpbm.

16 years agoAdd lldiv_t and a prototype for lldiv().
Sascha Wildner [Fri, 25 Jan 2008 23:32:41 +0000 (23:32 +0000)]
Add lldiv_t and a prototype for lldiv().

Submitted-by: Rumko <rumcic@gmail.com>
Taken-from:   FreeBSD

16 years agoAdd lldiv() and imaxdiv() to libc.
Sascha Wildner [Fri, 25 Jan 2008 23:24:31 +0000 (23:24 +0000)]
Add lldiv() and imaxdiv() to libc.

Submitted-by: Rumko <rumcic@gmail.com>
Taken-from:   FreeBSD

16 years agoHAMMER utilities: synchronize newfs_hammer.
Matthew Dillon [Fri, 25 Jan 2008 21:52:10 +0000 (21:52 +0000)]
HAMMER utilities: synchronize newfs_hammer.

* Assign the proper left boundary for the root cluster

* Sync up with an API change made in the hammer utilities sources.

16 years agoHAMMER 24B/many: Edge cases, cleanups
Matthew Dillon [Fri, 25 Jan 2008 21:50:56 +0000 (21:50 +0000)]
HAMMER 24B/many: Edge cases, cleanups

* Use create_tid instead of delete_tid in B-Tree key comparisons.  I
  actually used create_tid's originally, then switched to delete_tid's
  because historical searches could iterate forwards to locate
  matching records whereas using create_tid required a backwards
  iteration.

  However, because delete_tid's can be modified in-place (0 -> delete stamp),
  this introduced some rare edges cases that I had not considered.

  So go back to using create_tid's.  The iteration code actually just does
  a re-search now with a slightly different key, so no new code had
  to be written for the reverse-direction.  Create TIDs do not change once
  they are laid down so there are no additional cases to consider.

* Fix a missing create_tid initialization in hammer_object.c.

16 years ago- It does not make sense to use "for (;cond;)", use "while (cond)" instead
Sepherosa Ziehau [Fri, 25 Jan 2008 15:44:49 +0000 (15:44 +0000)]
- It does not make sense to use "for (;cond;)", use "while (cond)" instead
- Bark out loud, if hardware gives us wrong encryption done index

16 years agoSet 2560 part default txpower to 24dBm. This value works _much_ better then
Sepherosa Ziehau [Fri, 25 Jan 2008 15:09:42 +0000 (15:09 +0000)]
Set 2560 part default txpower to 24dBm.  This value works _much_ better then
30dBm (default channel TX power stored in EEPROM) under most cases.

16 years agoral(4) for 2560 part does not support hardware WEP (yet)
Sepherosa Ziehau [Fri, 25 Jan 2008 14:47:52 +0000 (14:47 +0000)]
ral(4) for 2560 part does not support hardware WEP (yet)

16 years agoThere are actually two TX queues for 2560 parts, so add two softc private
Sepherosa Ziehau [Fri, 25 Jan 2008 14:43:10 +0000 (14:43 +0000)]
There are actually two TX queues for 2560 parts, so add two softc private
flags which are used to mark that the TX queues are "over active".  Clear
IFF_OACTIVE iff all of the private OACT flags are off.

16 years agoDon't reset watchdog timeout value, if there are still TX descs pending
Sepherosa Ziehau [Fri, 25 Jan 2008 14:26:14 +0000 (14:26 +0000)]
Don't reset watchdog timeout value, if there are still TX descs pending
on either data queue or prio(management) queue.