dragonfly.git
17 years ago- Move error exit in front of tsleep_interlock()
Simon Schubert [Fri, 21 Jul 2006 00:51:13 +0000 (00:51 +0000)]
- Move error exit in front of tsleep_interlock()
- invoke tsleep_interlock and tsleep in a critical section
- release the serializer on error exit

17 years agoDefault kdump's data limit to 64 bytes and document how it can be disabled.
Simon Schubert [Thu, 20 Jul 2006 22:57:47 +0000 (22:57 +0000)]
Default kdump's data limit to 64 bytes and document how it can be disabled.

17 years agoCheck the the ops mount pointer is not NULL before indirecting through it.
Matthew Dillon [Thu, 20 Jul 2006 20:16:24 +0000 (20:16 +0000)]
Check the the ops mount pointer is not NULL before indirecting through it.
The mount pointer can be NULL if the vnode is dead.  This can occur if a
tty is revoke()'d.

Reported-by: walt <wa1ter@myrealbox.com>, Thomas Schlesinger <schlesinger@netcologne.de>
17 years agoPull in fixes from FreeBSD to make -e handling work better.
Simon Schubert [Thu, 20 Jul 2006 17:01:22 +0000 (17:01 +0000)]
Pull in fixes from FreeBSD to make -e handling work better.

Obtained-from: FreeBSD
Noticed-by: joerg, Jiawei Ye <leafy@moderntimes.com.cn> (indirect)
17 years agoFix bug introduced in rev 1.33 and make a clearer code flow.
Simon Schubert [Thu, 20 Jul 2006 16:22:48 +0000 (16:22 +0000)]
Fix bug introduced in rev 1.33 and make a clearer code flow.

Noticed-by: y0netani
17 years agoregen
Sepherosa Ziehau [Wed, 19 Jul 2006 13:38:56 +0000 (13:38 +0000)]
regen

17 years agoAdd device ids for various NVIDIA's GigE
Sepherosa Ziehau [Wed, 19 Jul 2006 13:34:53 +0000 (13:34 +0000)]
Add device ids for various NVIDIA's GigE

17 years agoMention all arguments and fix wording.
Sascha Wildner [Wed, 19 Jul 2006 07:49:21 +0000 (07:49 +0000)]
Mention all arguments and fix wording.

17 years agoIntroduce sys/syslink.h, the beginnings of a VOP-compatible RPC-like
Matthew Dillon [Wed, 19 Jul 2006 06:08:14 +0000 (06:08 +0000)]
Introduce sys/syslink.h, the beginnings of a VOP-compatible RPC-like
communications infrastructure that will be used for userland VFS and
communications between hosts in a cluster.

Begin merging the vnode operations vector code with syslink by replacing
vnodeop_desc with syslink_desc.  Also get rid of a lot of junk related
to vnodeop_desc that is no longer used.

17 years agoGet rid of the weird coda VOP function arguments and void casts and
Matthew Dillon [Wed, 19 Jul 2006 05:59:54 +0000 (05:59 +0000)]
Get rid of the weird coda VOP function arguments and void casts and
replace with the proper arguments.

17 years agoRemove several layers in the vnode operations vector init code. Declare
Matthew Dillon [Tue, 18 Jul 2006 22:22:16 +0000 (22:22 +0000)]
Remove several layers in the vnode operations vector init code.  Declare
the operations vector directly instead of via a descriptor array.  Remove
most of the recalculation code, it stopped being needed over a year ago.

This work is similar to what FreeBSD now does, but was developed along a
different line.  Ultimately our vop_ops will become SYSLINK ops for userland
VFS and clustering support.

17 years agoAdd a fairly bad hack to detect ripouts that might occur during a list
Matthew Dillon [Tue, 18 Jul 2006 02:03:11 +0000 (02:03 +0000)]
Add a fairly bad hack to detect ripouts that might occur during a list
scan.  This does not fix any currently known bugs.

17 years agoAdjust HEAD version from 1.5 to 1.7.
Matthew Dillon [Mon, 17 Jul 2006 00:12:01 +0000 (00:12 +0000)]
Adjust HEAD version from 1.5 to 1.7.

17 years agoAdd a new target for cvs administration of the 1.6 slip tag. Add a cvsup
Matthew Dillon [Mon, 17 Jul 2006 00:04:15 +0000 (00:04 +0000)]
Add a new target for cvs administration of the 1.6 slip tag.  Add a cvsup
file example that will maintain a 1.6 release.

17 years agoBump sub-versions and DragonFly_version in preparation for branching.
Matthew Dillon [Mon, 17 Jul 2006 00:00:04 +0000 (00:00 +0000)]
Bump sub-versions and DragonFly_version in preparation for branching.

17 years agoAdd a note on where to find the release engineering document.
Matthew Dillon [Sun, 16 Jul 2006 23:06:56 +0000 (23:06 +0000)]
Add a note on where to find the release engineering document.

17 years agoAttempt to fix an occassional panic in pf_purge_expired_states() by
Matthew Dillon [Sun, 16 Jul 2006 22:42:23 +0000 (22:42 +0000)]
Attempt to fix an occassional panic in pf_purge_expired_states() by
replacing an unsafe loop iteration with a safe one.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
Note: Simon's crash only occurs once a month or so, so this patch is
not definitive.

17 years agoUse pbufs instead of ebufs.
Matthew Dillon [Sun, 16 Jul 2006 22:39:42 +0000 (22:39 +0000)]
Use pbufs instead of ebufs.

Submitted-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
17 years agoMake dlsym() search all (recursively) loaded objects and not just
Simon Schubert [Sun, 16 Jul 2006 22:15:38 +0000 (22:15 +0000)]
Make dlsym() search all (recursively) loaded objects and not just
the specified one alone.

Submitted-by: Kostik Belousov <kostikbel@gmail.com> via freebsd-hackers
17 years agoAdd missing prototype.
Matthew Dillon [Sun, 16 Jul 2006 21:44:18 +0000 (21:44 +0000)]
Add missing prototype.

17 years agolibssl needs libcrypto, so link it
Simon Schubert [Sun, 16 Jul 2006 12:28:11 +0000 (12:28 +0000)]
libssl needs libcrypto, so link it

17 years agoA broken pipe error is sometimes reported by zcat if the user quits out
Matthew Dillon [Sat, 15 Jul 2006 07:33:05 +0000 (07:33 +0000)]
A broken pipe error is sometimes reported by zcat if the user quits out
of the pager without reading the entire manual page.  It is unclear why
this happens (EPIPE should kill zcat, not cause an error to be reported).
For now, just quiet error reporting when piping zcat to a pager.

Reported-by: Petr Janda <elekktretterr@exemail.com.au>
17 years agoAdd an ASCII copy of the handbook to the system. It can't hurt to have it
Sascha Wildner [Fri, 14 Jul 2006 21:42:07 +0000 (21:42 +0000)]
Add an ASCII copy of the handbook to the system. It can't hurt to have it
around on the LiveCD. It will be updated periodically.

Also, get rid of the /usr/share/doc/ncurses directory (which we don't use).

Handbook-provided-by: Justin C. Sherrill <justin@shiningsilence.com>
                      (with contributions by many others)

Inclusion-OK'd-by: Matt Dillon

17 years agoFix two bugs in cluster_read:
Simon Schubert [Fri, 14 Jul 2006 19:23:39 +0000 (19:23 +0000)]
Fix two bugs in cluster_read:
- brelse rbp with B_INVAL set in case of a VOP_BMAP() error

- move the read-ahead after starting the real read for bp, so that it
  can be skipped if an error occured in the reading of bp.

  Before this commit rbp might have been a CLUSTER and didn't get special
  treatment for freeing, which resulted in a panic.

Reported-by: swildner
17 years agoAssign the packet length to the pkthdr and mbuf.
Simon Schubert [Fri, 14 Jul 2006 18:57:34 +0000 (18:57 +0000)]
Assign the packet length to the pkthdr and mbuf.
This was erroneously removed in rev 1.12 and led to no packet reception.

Reported-by: Vincent Hourdin
17 years agoRemove trailing whitespace.
Sascha Wildner [Thu, 13 Jul 2006 13:34:12 +0000 (13:34 +0000)]
Remove trailing whitespace.

17 years agoFor crash dump debugging, we use kgdb.
Sascha Wildner [Thu, 13 Jul 2006 12:38:29 +0000 (12:38 +0000)]
For crash dump debugging, we use kgdb.

17 years agoCompiling the nv(4) driver into the kernel is not supported in DragonFly.
Sascha Wildner [Thu, 13 Jul 2006 12:37:06 +0000 (12:37 +0000)]
Compiling the nv(4) driver into the kernel is not supported in DragonFly.

Noticed-by: sephe
17 years ago- Port ath(4) driver from FreeBSD, which supports various Atheros chip based
Sepherosa Ziehau [Thu, 13 Jul 2006 09:15:22 +0000 (09:15 +0000)]
- Port ath(4) driver from FreeBSD, which supports various Atheros chip based
  WiFi NIC
- Hook ath(4) into module building
- Add ath(4) and ath_hal(4) manpage
  With-help-from: swildner

Thank Sam Leffler and many other people for their greate work, also thank
Sam Leffler for his kind explaining about some caveats concerning ath_hal(4).

An early version of this driver, which works under DragonFly, was submitted by:
Andrew Atrens <atrens@nortel.com>
and was later modified to work on DragonFly 1.4.x and resubmitted by:
Adrian Michael Nida <nida@musc.edu>

Thank them for their submission.

Obtained-from: FreeBSD (mainly sam@freebsd.org)
Tested-by: many
Approved-by: dillon
17 years agoMerge from vendor branch ATHEROS:
Sepherosa Ziehau [Thu, 13 Jul 2006 08:46:40 +0000 (08:46 +0000)]
Merge from vendor branch ATHEROS:
Initial import of Atheros Hardware Access Layer (HAL) version 0.9.16.16

17 years agoInitial import of Atheros Hardware Access Layer (HAL) version 0.9.16.16 vendor/ATHEROS
Sepherosa Ziehau [Thu, 13 Jul 2006 08:46:40 +0000 (08:46 +0000)]
Initial import of Atheros Hardware Access Layer (HAL) version 0.9.16.16

17 years agoCopy /etc/localtime into the bind chroot so that log messages come from
Simon Schubert [Wed, 12 Jul 2006 23:53:36 +0000 (23:53 +0000)]
Copy /etc/localtime into the bind chroot so that log messages come from
the correct time zone.

17 years ago* To distinguish the separator from commit msg lines consisting of
Sascha Wildner [Wed, 12 Jul 2006 21:40:49 +0000 (21:40 +0000)]
* To distinguish the separator from commit msg lines consisting of
  28 -'s (as the case in FreeBSD's commit logs) look ahead to the
  next line and ensure that it begins with "revision".

* The revision line might contain info about CVS locks. Add this
  to the regexp.

17 years agoSort references by section.
Sascha Wildner [Tue, 11 Jul 2006 11:41:35 +0000 (11:41 +0000)]
Sort references by section.

17 years agoCorrect a problem with the user process scheduler's estimated cpu
Matthew Dillon [Tue, 11 Jul 2006 01:01:50 +0000 (01:01 +0000)]
Correct a problem with the user process scheduler's estimated cpu
calculation.  lwp_slptime would sometimes not get reset to 0 after a
wakeup and cause a cpu-bound process to get more cpu then it deserves.

Move the estcpu call for calculations based on slptime to the tsleep code
and then unconditionally set lwp_slptime back to 0 after the process
wakes up again.

17 years agoMatch revision separator only if preceded by a newline.
Sascha Wildner [Mon, 10 Jul 2006 23:07:45 +0000 (23:07 +0000)]
Match revision separator only if preceded by a newline.

This prevents the script from choking on

CVS ----------------------------------------------------------------------

lines accidentally left in commit messages.

perl-clue: corecode

17 years agoUpdate the manual pages for the kernel random number generator.
Matthew Dillon [Mon, 10 Jul 2006 22:52:31 +0000 (22:52 +0000)]
Update the manual pages for the kernel random number generator.

17 years agoTurn on the new kern.seedenable sysctl when seeding the PRNG.
Matthew Dillon [Mon, 10 Jul 2006 22:19:14 +0000 (22:19 +0000)]
Turn on the new kern.seedenable sysctl when seeding the PRNG.

17 years agoChange the seeder array from a modulo to a logical AND, improving performance
Matthew Dillon [Mon, 10 Jul 2006 21:06:09 +0000 (21:06 +0000)]
Change the seeder array from a modulo to a logical AND, improving performance
and allowing us to overflow the index variable without overflowing the
array.

Implement seeding via writes to /dev/random.  Seeding is only allowed
if the kern.seedenable sysctl is set to 1 (defaults to 0), and the securelevel
is less then or equal to 0.  Note that the random number generator also
self-seeds to some degree.

Writing to /dev/random is no longer a sink null.  Writing to /dev/urandom
is no longer allowed at all.

Modify the seeding code to mix a few of the bits with PNG feedback to reduce
the possibility of seeding-based attacks.

Intentionally feed /dev/urandom back into /dev/random for a bit, then run
DIEHARD to test for any obvious screwups.  Passes DIEHARD.

17 years agoSync with FreeBSD (makes it actually work).
Sascha Wildner [Mon, 10 Jul 2006 20:34:47 +0000 (20:34 +0000)]
Sync with FreeBSD (makes it actually work).

17 years agoCleanup, no functional changes.
Matthew Dillon [Mon, 10 Jul 2006 20:33:36 +0000 (20:33 +0000)]
Cleanup, no functional changes.

17 years agoDisassociate the VM object after calling VOP_INACTIVE instead of before.
Matthew Dillon [Mon, 10 Jul 2006 04:42:56 +0000 (04:42 +0000)]
Disassociate the VM object after calling VOP_INACTIVE instead of before.
VOP_INACTIVE may have to do some work on the vnode that requires a
functional buffer cache.  For example, UFS may have to truncate a removed
file.

17 years agoDon't use B_PAGING with geteblk() bufs
Simon Schubert [Sun, 9 Jul 2006 22:55:45 +0000 (22:55 +0000)]
Don't use B_PAGING with geteblk() bufs

17 years agoCorrectly handle dumping kernel threads
Simon Schubert [Sun, 9 Jul 2006 01:38:57 +0000 (01:38 +0000)]
Correctly handle dumping kernel threads

17 years agoUse bzip instead of gzip, rename the tar file to make it more obvious that
Matthew Dillon [Sat, 8 Jul 2006 18:12:05 +0000 (18:12 +0000)]
Use bzip instead of gzip, rename the tar file to make it more obvious that
only kernel sources are included, and allow WITHOUT_SRCS to be defined to
prevent inclusion of the kernel sources in the ISO.

Suggested-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
17 years agoInclude kernel sources on the release CD.
Matthew Dillon [Sat, 8 Jul 2006 03:19:30 +0000 (03:19 +0000)]
Include kernel sources on the release CD.

17 years agoRemove obsolete worm(4) ioctl definitions.
Sascha Wildner [Sat, 8 Jul 2006 01:20:29 +0000 (01:20 +0000)]
Remove obsolete worm(4) ioctl definitions.

17 years agoRemove unnecessary check (u_int8_t is 0-255).
Sascha Wildner [Sat, 8 Jul 2006 01:04:28 +0000 (01:04 +0000)]
Remove unnecessary check (u_int8_t is 0-255).

17 years agoSort by chapter.
Sascha Wildner [Fri, 7 Jul 2006 17:14:34 +0000 (17:14 +0000)]
Sort by chapter.

17 years agomissing ','
Sepherosa Ziehau [Fri, 7 Jul 2006 16:12:45 +0000 (16:12 +0000)]
missing ','

17 years ago- Add back references to wpa_cli(8)
Sepherosa Ziehau [Fri, 7 Jul 2006 15:11:46 +0000 (15:11 +0000)]
- Add back references to wpa_cli(8)
- Don't mention devd, which does not exist in DragonFly currently
Noticed-by: swildner
17 years agoAdd build infrastructure for wpa_cli(8), which can be used to interact with
Sepherosa Ziehau [Fri, 7 Jul 2006 15:05:18 +0000 (15:05 +0000)]
Add build infrastructure for wpa_cli(8), which can be used to interact with
wpa_supplicant(8) to query current status or change configure etc.

Obtained-from: FreeBSD
Manpage-reviewed-by: swildner
17 years ago- Replace lnc(4) driver with NetBSD's le(4), which gives us better performance,
Sepherosa Ziehau [Fri, 7 Jul 2006 14:16:29 +0000 (14:16 +0000)]
- Replace lnc(4) driver with NetBSD's le(4), which gives us better performance,
  especially for VMWare users.
- Sync lnc(4) manpage.

Submitted-by: Bill Marquette <bill.marquette@gmail.com>
Manpage-reviewed-and-adjusted-by: swildner
17 years agoCorrect typo in comment
Simon Schubert [Fri, 7 Jul 2006 13:00:37 +0000 (13:00 +0000)]
Correct typo in comment

17 years agoCopy b_cmd into new buf
Simon Schubert [Thu, 6 Jul 2006 23:36:29 +0000 (23:36 +0000)]
Copy b_cmd into new buf

17 years agoRemove the old wormcontrol(8) command and the worm(4) man page.
Sascha Wildner [Thu, 6 Jul 2006 16:17:20 +0000 (16:17 +0000)]
Remove the old wormcontrol(8) command and the worm(4) man page.

17 years agoAdd a missing initbufbio() to fix a panic when vinum tries to issue a
Matthew Dillon [Wed, 5 Jul 2006 22:46:42 +0000 (22:46 +0000)]
Add a missing initbufbio() to fix a panic when vinum tries to issue a
read or write.

Reported-by: Rumko, "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
17 years agoAdd a manual page for the crit_enter()/crit_exit() family of functions.
Sascha Wildner [Wed, 5 Jul 2006 18:32:20 +0000 (18:32 +0000)]
Add a manual page for the crit_enter()/crit_exit() family of functions.

Helped-by: corecode, dillon
17 years agoIf we hit the file hardlink limit try to copy the file instead of hardlinking
Matthew Dillon [Wed, 5 Jul 2006 17:20:37 +0000 (17:20 +0000)]
If we hit the file hardlink limit try to copy the file instead of hardlinking
it.  This is most likely to occur when using the new -H option, in particular
when copying CVS trees whos "CVS/Root" files are all hardlinked together.

Document the issue in the manual page.

17 years agoSync with Osd/OsdDebug.c rev1.9 in FreeBSD:
YONETANI Tomokazu [Wed, 5 Jul 2006 15:43:50 +0000 (15:43 +0000)]
Sync with Osd/OsdDebug.c rev1.9 in FreeBSD:
  Don't enter the debugger when executing an AML breakpoint instruction
  unless ACPI_DEBUG is defined.  Users don't typically care about errant
  breakpoint instructions.

Reported-by: Petr Janda (originally reported by Martin P. Hellwig,
 but completely slipped off of my memory)

17 years agoAdd wide char support for printf and friends. Fix a possible
Joerg Sonnenberger [Wed, 5 Jul 2006 15:04:54 +0000 (15:04 +0000)]
Add wide char support for printf and friends. Fix a possible
underallocation.

Obtained-from: FreeBSD
Tested-by: swildner
17 years agoDo not attempt to read the slice table or disk label when accessing a raw
Matthew Dillon [Tue, 4 Jul 2006 19:54:08 +0000 (19:54 +0000)]
Do not attempt to read the slice table or disk label when accessing a raw
disk device such as /dev/ad0.  Otherwise a read failure of sector 0 during
the open will cause the open to fail and prevent the recovery of other
potentially readable data.

17 years agoComment out empty sections.
Sascha Wildner [Tue, 4 Jul 2006 18:02:11 +0000 (18:02 +0000)]
Comment out empty sections.

17 years ago1) Hook pctrack into the build.
Sascha Wildner [Tue, 4 Jul 2006 17:35:30 +0000 (17:35 +0000)]
1) Hook pctrack into the build.

2) Add DEBUG_PCTRACK to LINT.

3) Perform some minor mdoc cleanup on the manual page.

17 years agoRemove ancient module.
Sascha Wildner [Tue, 4 Jul 2006 04:38:29 +0000 (04:38 +0000)]
Remove ancient module.

17 years agoAdd a new option -H <path> to cpdup. This option allows cpdup to be used
Matthew Dillon [Tue, 4 Jul 2006 00:32:03 +0000 (00:32 +0000)]
Add a new option -H <path> to cpdup.  This option allows cpdup to be used
to create incremental backups.

cpdup operates per normal.  However, if the -H option is specified with a
path to some prior (read-only) backup of the source tree, cpdup will
check whether the file in the source tree matches ethe file in the
prior backup and if it does it will create a hardlink from the prior backup
to the target tree instead of copying the file.

Warning: due to the way cpdup handles hardlinks, it must record the file
paths for all hardlinks it encounters while it is traversing the directory
tree.  If copying a very large tree with lots (e.g. millions) of files it
is possible to run the process out of memory.

17 years agoRemove obsolete documentation regarding usbd/kernel interaction.
Sascha Wildner [Sun, 2 Jul 2006 16:24:02 +0000 (16:24 +0000)]
Remove obsolete documentation regarding usbd/kernel interaction.

Submitted-by: Steve O'Hara-Smith <steve@sohara.org>
17 years agoBring etc/defaults/make.conf closer to reality:
Sascha Wildner [Sun, 2 Jul 2006 16:03:42 +0000 (16:03 +0000)]
Bring etc/defaults/make.conf closer to reality:

* Add WITH_BSDTAR

* NOSHARE -> NO_SHARE

* Fix ports related comment.

17 years agoFix wording.
Sascha Wildner [Sun, 2 Jul 2006 13:04:35 +0000 (13:04 +0000)]
Fix wording.

17 years agoRemove unused SCTP_TCP_MODEL_SUPPORT option.
Sascha Wildner [Sun, 2 Jul 2006 12:55:44 +0000 (12:55 +0000)]
Remove unused SCTP_TCP_MODEL_SUPPORT option.

17 years agosegments total size is (MCLBYTES * RT2661_MAX_SCATTER), not MCLBYTES
Sepherosa Ziehau [Sun, 2 Jul 2006 10:03:17 +0000 (10:03 +0000)]
segments total size is (MCLBYTES * RT2661_MAX_SCATTER), not MCLBYTES

17 years agoRemove ports related documentation and adjust disk usage.
Sascha Wildner [Sun, 2 Jul 2006 08:13:07 +0000 (08:13 +0000)]
Remove ports related documentation and adjust disk usage.

17 years agoSet limits for inlining functions.
Simon Schubert [Sun, 2 Jul 2006 00:57:14 +0000 (00:57 +0000)]
Set limits for inlining functions.

Obtained-from: FreeBSD

17 years agoRestructure kernel makefiles and factor out MI and MD parts.
Simon Schubert [Sun, 2 Jul 2006 00:55:08 +0000 (00:55 +0000)]
Restructure kernel makefiles and factor out MI and MD parts.

FreeBSD seems to have done the same thing some time ago.

17 years agoremove long gone makefile
Simon Schubert [Sun, 2 Jul 2006 00:49:46 +0000 (00:49 +0000)]
remove long gone makefile

17 years agouse ${MACHINE_ARCH} instead of ${MACHINE}
Simon Schubert [Sun, 2 Jul 2006 00:49:38 +0000 (00:49 +0000)]
use ${MACHINE_ARCH} instead of ${MACHINE}

17 years agoonly compile function in the SMP case
Simon Schubert [Sun, 2 Jul 2006 00:49:31 +0000 (00:49 +0000)]
only compile function in the SMP case

17 years agoDelete unused variable
Simon Schubert [Sun, 2 Jul 2006 00:49:22 +0000 (00:49 +0000)]
Delete unused variable

17 years agofix case
Sascha Wildner [Sun, 2 Jul 2006 00:42:25 +0000 (00:42 +0000)]
fix case

17 years agoPorts -> pkgsrc
Sascha Wildner [Sun, 2 Jul 2006 00:30:08 +0000 (00:30 +0000)]
Ports -> pkgsrc

17 years agoFix comments:
Sascha Wildner [Sun, 2 Jul 2006 00:23:38 +0000 (00:23 +0000)]
Fix comments:

* ncvs -> dcvs

* Remove ports reference.

17 years agoReplace /usr/ports with /usr/pkgsrc in the list of dirs to search.
Sascha Wildner [Sat, 1 Jul 2006 19:34:43 +0000 (19:34 +0000)]
Replace /usr/ports with /usr/pkgsrc in the list of dirs to search.

17 years agoAdd locale(1).
Eirik Nygaard [Sat, 1 Jul 2006 10:47:39 +0000 (10:47 +0000)]
Add locale(1).
It provides locale information. Nice for debugging locale specific problems.

Obtained from: NetBSD, FreeBSD
Originally written by: Alexey Zelkin <phantom@FreeBSD.org>

17 years agoRemove portsinfo.
Sascha Wildner [Sat, 1 Jul 2006 09:10:35 +0000 (09:10 +0000)]
Remove portsinfo.

17 years agoRemove ports specific portsinfo script.
Sascha Wildner [Sat, 1 Jul 2006 08:52:40 +0000 (08:52 +0000)]
Remove ports specific portsinfo script.

17 years agoRemove syscall-args. It is not needed now that libcr has been removed.
Eirik Nygaard [Fri, 30 Jun 2006 20:41:08 +0000 (20:41 +0000)]
Remove syscall-args. It is not needed now that libcr has been removed.

17 years agoBring if_bridge up to date with FreeBSD.
Scott Ullrich [Fri, 30 Jun 2006 16:50:01 +0000 (16:50 +0000)]
Bring if_bridge up to date with FreeBSD.

New features / improvements:

 * better handling of fragmented packets
 * newer spanning tree support
 * txcsum fixes
 * monitor mode (multiplex bpf)
 * spanports
 * Use bit operations to get a locally administered address
 * GIF interfaces can now be used as span port members

Patch originally adapted from a version done by Andrew Thompson
With-help-from: @corecode, @sephe, thompsa@freebsd.org

17 years agoPort EST driver from NetBSD, as it has better support for newer CPUs
YONETANI Tomokazu [Fri, 30 Jun 2006 07:34:59 +0000 (07:34 +0000)]
Port EST driver from NetBSD, as it has better support for newer CPUs
than the current one.  This version also contains an extra table
pentium_m_n740_2[] for Thomas' Pentium M 740.
Note: this is an interim solution, and we need to modify the driver
to import operating points from ACPI if available.

Testers: Johannes Hofmann (who also found a bug in my initial port)
 Thomas Schlesinger
 Sascha Wildner

17 years agoSync with reality:
Sascha Wildner [Thu, 29 Jun 2006 19:56:19 +0000 (19:56 +0000)]
Sync with reality:

* lockinit() no longer takes a prio argument.
* lockmgr() no longer takes a thread pointer argument.

Submitted-by: Bill Marquette <bill.marquette@gmail.com>
17 years agoHandle return values correctly, don't treat ssize_t return val as errno
Simon Schubert [Wed, 28 Jun 2006 23:14:43 +0000 (23:14 +0000)]
Handle return values correctly, don't treat ssize_t return val as errno

17 years agoRemove ports and dfports specific include files.
Sascha Wildner [Wed, 28 Jun 2006 21:37:37 +0000 (21:37 +0000)]
Remove ports and dfports specific include files.

17 years agoRemove some ports specific references.
Sascha Wildner [Wed, 28 Jun 2006 21:21:35 +0000 (21:21 +0000)]
Remove some ports specific references.

17 years agoAdjust for pkgsrc and fix a supfile name.
Sascha Wildner [Wed, 28 Jun 2006 21:14:52 +0000 (21:14 +0000)]
Adjust for pkgsrc and fix a supfile name.

17 years agos/ieee80211_attach/ieee80211_ifattach/ in comment.
Sascha Wildner [Wed, 28 Jun 2006 21:03:51 +0000 (21:03 +0000)]
s/ieee80211_attach/ieee80211_ifattach/ in comment.

17 years agoSync our ieee80211*.9 manual pages with the recent upgrade.
Sascha Wildner [Wed, 28 Jun 2006 19:41:59 +0000 (19:41 +0000)]
Sync our ieee80211*.9 manual pages with the recent upgrade.

Submitted-by: sephe
Minor spelling/grammar fixes and MLINKS/make upgrade stuff by me.

17 years agoSwap out FAT12 for NTFS so the boot0 prompt says 'DOS' instead of '??' for
Matthew Dillon [Tue, 27 Jun 2006 20:32:39 +0000 (20:32 +0000)]
Swap out FAT12 for NTFS so the boot0 prompt says 'DOS' instead of '??' for
the filesystem.  More people are likely to be using NTFS then FAT12 these
days.

Taken-from: FreeBSD/boot0.S/1.14 by DES
Submitted-by: "Bill Marquette" <bill.marquette@gmail.com>
17 years ago/dev/[k]mem was not allowing access to the CPU globaldata area, because it
Matthew Dillon [Tue, 27 Jun 2006 16:38:42 +0000 (16:38 +0000)]
/dev/[k]mem was not allowing access to the CPU globaldata area, because it
is not part of kernel_map.  This prevented kgdb from operating properly
on a live kernel.  Add code to allow the case.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
17 years agoInvoke recvfrom with MSG_FNONBLOCK
Simon Schubert [Tue, 27 Jun 2006 13:30:24 +0000 (13:30 +0000)]
Invoke recvfrom with MSG_FNONBLOCK

17 years agoRemove old bridge module...
Sascha Wildner [Mon, 26 Jun 2006 17:08:27 +0000 (17:08 +0000)]
Remove old bridge module...

17 years agoCleanup variables so that you don't need to maintain two variables.
YONETANI Tomokazu [Mon, 26 Jun 2006 03:11:53 +0000 (03:11 +0000)]
Cleanup variables so that you don't need to maintain two variables.
This also fixes some fortunes for which only .dat files are installed
(such fortunes are not displayed because fortune(6) requires both).