]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agoThe ../tools/do_sort script could not differentiate between
dougb [Sat, 8 Dec 2007 00:20:33 +0000 (00:20 +0000)]
The ../tools/do_sort script could not differentiate between
a few very slightly diffrent versions of tcsh prompts, so
restore the 2 that were lost, and consolidate them all in
a way that will prevent them from being lost again.

16 years agoAdd another RTL8168 revision 3 which is found on RTL8111-GR Gigabit
yongari [Sat, 8 Dec 2007 00:14:09 +0000 (00:14 +0000)]
Add another RTL8168 revision 3 which is found on RTL8111-GR Gigabit
Ethernet Controller. Multicast filtering wasn't tested and needs more
expore. While I'm here change complex if statements with switch
statement which would improve readability.

Reported by: Abdullah Ibn Hamad Al-Marri < wearabnet AT yahoo DOT ca >
Tested by: Abdullah Ibn Hamad Al-Marri < wearabnet AT yahoo DOT ca >

16 years agoCombine the fortunes-o.real and the fortunes2-o file, as was done
dougb [Fri, 7 Dec 2007 22:56:10 +0000 (22:56 +0000)]
Combine the fortunes-o.real and the fortunes2-o file, as was done
with fortunes and fortunes2 2 years and 2 days ago. The fortunes2-o
file was brought in with the original import of the 4.4 Lite games
directory, but has always consisted in large part of fortunes
duplicated from other files.

The combined size of the two files is still only 631K, or less
than 1/3rd of the size of the fortunes file.

Combining them has the added benefit of making the fortunes from
fortunes2-o visibile to fortune(6)'s -m option.

This change should probably not be MFC'ed beyond RELENG_7.

16 years agoSort these files using: sh ../tools/do_sort < $file > $file.sorted
dougb [Fri, 7 Dec 2007 22:41:39 +0000 (22:41 +0000)]
Sort these files using: sh ../tools/do_sort < $file > $file.sorted

This greatly aids in detecting duplicates, among other things.

16 years agoDon't expect a return value from statfs_scale_blocks().
scottl [Fri, 7 Dec 2007 22:32:09 +0000 (22:32 +0000)]
Don't expect a return value from statfs_scale_blocks().

16 years agoThis is a massive cleanup of the fortune files, including removal
dougb [Fri, 7 Dec 2007 22:28:08 +0000 (22:28 +0000)]
This is a massive cleanup of the fortune files, including removal
of many duplicates, formatting/whitespace fixes, spelling fixes,
and a host of others. Note: No fortunes were intentionally removed
(other than duplicates) as part of this cleanup. In removing dupes
I tried to be generous in not removing similarly worded fortunes
that had even slightly different punch lines.

Duplicates were resolved as follows (in this order):
* + limerick -> limerick
* + fortunes-o.real -> fortunes-o.real
* + fortunes2-o -> fortunes2-o
* + zippy -> zippy
murphy + fortunes -> fortunes

In correcting spelling I've tried to leave colloquial variations
(especially British'isms) intact, as well as to not "correct"
errors that are part of the joke.

In fortunes and fortunes2-o I combined a couple of fortunes that
were adjacent to each other that seemed like they should have
originally been combined, and split a couple that seemed like they
should have originally been split.

Miscellaneous:
1. Fixed underlining
2. Capitalized proper names
3. Removed quotation marks from "freestanding" quotes for consistency
4. Added quotation marks to QOTD fortunes that needed them
5. Corrected or added many attributions
6. Removed apostrophes from trailing 's' that are plural, not possessive
7. Updated the path to fortune stuff included in some of the jokes
8. Updated several fortunes to their original version, and added attribution
9. Split up compound words that ispell tripped over

16 years agoAdd speller files for fortune files that did not have them,
dougb [Fri, 7 Dec 2007 22:27:04 +0000 (22:27 +0000)]
Add speller files for fortune files that did not have them,
and update the ones that already existed.

16 years agoAdd some quotes from the television show "Buffy the Vampire Slayer"
dougb [Fri, 7 Dec 2007 22:22:35 +0000 (22:22 +0000)]
Add some quotes from the television show "Buffy the Vampire Slayer"

16 years agoAdd the text of a sign that I've seen on other desks, and
dougb [Fri, 7 Dec 2007 22:21:37 +0000 (22:21 +0000)]
Add the text of a sign that I've seen on other desks, and
always wanted to put on mine.

16 years agoMerge from Adaptec a 64 bit fix and a workaround for luns != 0 returning
emaste [Fri, 7 Dec 2007 20:37:12 +0000 (20:37 +0000)]
Merge from Adaptec a 64 bit fix and a workaround for luns != 0 returning
CAM_SEL_TIMEOUT on SAS controllers, which prevented passthrough devices
from being created.

16 years agoMore fixes.
ru [Fri, 7 Dec 2007 20:22:59 +0000 (20:22 +0000)]
More fixes.

16 years agoRevise the man->mdoc conversion of the amd manpages.
ru [Fri, 7 Dec 2007 20:16:21 +0000 (20:16 +0000)]
Revise the man->mdoc conversion of the amd manpages.

16 years ago- Add doc/hu_* and doc/mn_* to the refuse examples so that include all
gabor [Fri, 7 Dec 2007 19:22:34 +0000 (19:22 +0000)]
- Add doc/hu_* and doc/mn_* to the refuse examples so that include all
  of the currently used languages

PR: docs/118476 (related)
Submitted by: Chess Griffin <chess@chessgriffin.com>
MFC after: 3 days

16 years ago- Add doc/hu_* and doc/mn_* to the sample refuse file so that it includes all
gabor [Fri, 7 Dec 2007 18:48:57 +0000 (18:48 +0000)]
- Add doc/hu_* and doc/mn_* to the sample refuse file so that it includes all
  of the languages

PR: docs/118476
Submitted by: Chess Griffin <chess@chessgriffin.com>
MFC after: 3 days

16 years agoAdd family support to allow the driver to attach to new devices that
emaste [Fri, 7 Dec 2007 18:05:41 +0000 (18:05 +0000)]
Add family support to allow the driver to attach to new devices that
share the same interface.

Submitted by: Achim Leubner at Adaptec

16 years agoAdd stub functions to unbreak LINT.
jkoshy [Fri, 7 Dec 2007 17:21:53 +0000 (17:21 +0000)]
Add stub functions to unbreak LINT.

16 years agoMake "manlint" recursive.
ru [Fri, 7 Dec 2007 15:02:06 +0000 (15:02 +0000)]
Make "manlint" recursive.

Prodded by: obrien

16 years agoImprove style(9) compliance and trim a long text line.
jkoshy [Fri, 7 Dec 2007 13:52:51 +0000 (13:52 +0000)]
Improve style(9) compliance and trim a long text line.

16 years agoAdd stubs to unbreak LINT.
jkoshy [Fri, 7 Dec 2007 13:45:47 +0000 (13:45 +0000)]
Add stubs to unbreak LINT.

16 years agoFix speed report on Intel SATA chips in compat mode.
sos [Fri, 7 Dec 2007 13:14:31 +0000 (13:14 +0000)]
Fix speed report on Intel SATA chips in compat mode.
Fix broken detect of JMicron 368.

16 years agoWhen applying a spec, traverse the existing directory tree in lexical
des [Fri, 7 Dec 2007 12:22:38 +0000 (12:22 +0000)]
When applying a spec, traverse the existing directory tree in lexical
order.  This allows direct comparison of the output of two different
runs, regardless of the order in which readdir(2) returns directory
entries.

MFC after: 3 weeks

16 years agoFix style in previous commit.
cognet [Fri, 7 Dec 2007 10:42:11 +0000 (10:42 +0000)]
Fix style in previous commit.

Pointed out by: njl

16 years agoPreallocate some space to return the scan results, some drivers do not properly
thompsa [Fri, 7 Dec 2007 10:37:25 +0000 (10:37 +0000)]
Preallocate some space to return the scan results, some drivers do not properly
pass back the desired buffer length. This fixes scanning with the Marvell
88W8335 and BCM4328 wireless cards.

PR: kern/118370
Submitted by: Weongyo Jeong
Tested by: Ed Schouten

16 years agoIncrement FreeBSD_version to mark the addition of callchain support
jkoshy [Fri, 7 Dec 2007 08:36:38 +0000 (08:36 +0000)]
Increment FreeBSD_version to mark the addition of callchain support
to hwpmc.

16 years agoDocument the PMC_F_CALLCHAIN flag and the kern.hwpmc.callchaindepth
jkoshy [Fri, 7 Dec 2007 08:29:46 +0000 (08:29 +0000)]
Document the PMC_F_CALLCHAIN flag and the kern.hwpmc.callchaindepth
tunable.

Sponsored by: FreeBSD Foundation and Google Inc.

16 years agoIntroduce pmcstat(8) changes for summarizing hwpmc(4) callchain records in
jkoshy [Fri, 7 Dec 2007 08:26:21 +0000 (08:26 +0000)]
Introduce pmcstat(8) changes for summarizing hwpmc(4) callchain records in
in textual form and in gmon.out format.

Update manual page.

Sponsored by: FreeBSD Foundation and Google Inc.

16 years agoKernel and hwpmc(4) support for callchain capture.
jkoshy [Fri, 7 Dec 2007 08:20:17 +0000 (08:20 +0000)]
Kernel and hwpmc(4) support for callchain capture.

Sponsored by: FreeBSD Foundation and Google Inc.

16 years agoAdd padding for anticipated functionality
kmacy [Fri, 7 Dec 2007 01:46:13 +0000 (01:46 +0000)]
Add padding for anticipated functionality
 - vimage
 - TOE
 - multiq
 - host rtentry caching

Rename spare used by 80211 to if_llsoftc

Reviewed by: rwatson, gnn
MFC after: 1 day

16 years ago- More fixes for lock misses on the transfer of data to
rrs [Fri, 7 Dec 2007 01:32:14 +0000 (01:32 +0000)]
- More fixes for lock misses on the transfer of data to
  the sent_queue. Sometimes I wonder why any code
  ever works :-)
- Fix the pad of the last mbuf routine, It was working improperly
  on non-4 byte aligned chunks which could cause memory overruns.

MFC after: 1 week

16 years agoAllow simultaneous opens of the device for issuing commands to the
emaste [Fri, 7 Dec 2007 00:22:23 +0000 (00:22 +0000)]
Allow simultaneous opens of the device for issuing commands to the
controller.  This is merged from Adaptec driver build 11669.

16 years agoTurn MPASS(0) into panic with more obvious reason why the assertion
delphij [Fri, 7 Dec 2007 00:00:21 +0000 (00:00 +0000)]
Turn MPASS(0) into panic with more obvious reason why the assertion
is failed.

16 years agoRegen.
jhb [Thu, 6 Dec 2007 23:37:26 +0000 (23:37 +0000)]
Regen.

16 years agoAdd freebsd32 compat wrappers for msgctl() and __semctl() using
jhb [Thu, 6 Dec 2007 23:36:57 +0000 (23:36 +0000)]
Add freebsd32 compat wrappers for msgctl() and __semctl() using
kern_msgctl() and kern_semctl().

MFC after: 1 week

16 years agoAdd freebsd32 compat wrappers for msgctl() and _semctl() using
jhb [Thu, 6 Dec 2007 23:35:29 +0000 (23:35 +0000)]
Add freebsd32 compat wrappers for msgctl() and _semctl() using
kern_msgctl() and kern_semctl().

MFC after: 1 week

16 years agoMove 32-bit SYSV IPC structure definitions into freebsd32_ipc.h.
jhb [Thu, 6 Dec 2007 23:23:16 +0000 (23:23 +0000)]
Move 32-bit SYSV IPC structure definitions into freebsd32_ipc.h.

MFC after: 1 week

16 years agosize_max should be unsigned, as such, use size_t here.
delphij [Thu, 6 Dec 2007 23:19:05 +0000 (23:19 +0000)]
size_max should be unsigned, as such, use size_t here.

16 years agoErm, add a missing else, we do not want to increase the mapping counters for
cognet [Thu, 6 Dec 2007 23:17:24 +0000 (23:17 +0000)]
Erm, add a missing else, we do not want to increase the mapping counters for
both kernel and userland when we create a pv for pmap_kernel.

Reported by: Mark Tinguely <tinguely AT casselton DOT net>
MFC After: 3 days

16 years agoMove several data structure definitions out of freebsd32_misc.c and into
jhb [Thu, 6 Dec 2007 23:11:27 +0000 (23:11 +0000)]
Move several data structure definitions out of freebsd32_misc.c and into
freebsd32.h instead.

MFC after: 1 week

16 years agoRemove more dup'd code
julian [Thu, 6 Dec 2007 22:48:24 +0000 (22:48 +0000)]
Remove more dup'd code
MFC After: 1 week

16 years agoremove duped code
julian [Thu, 6 Dec 2007 22:44:24 +0000 (22:44 +0000)]
remove duped code

Reviewed By: gnn
MRC after: 1 week

16 years agoNo need to assert that a == b when we just set a = b.
julian [Thu, 6 Dec 2007 22:40:17 +0000 (22:40 +0000)]
No need to assert that a == b when we just set a = b.

16 years ago- Add support for all geom class command options in the Fixit environment by
lulf [Thu, 6 Dec 2007 20:25:31 +0000 (20:25 +0000)]
- Add support for all geom class command options in the Fixit environment by
  pointing GEOM_LIBRARY_PATH to the geom libraries.

PR: misc/113543
Submitted by: Ed Schouten <ed -at- fxq.nl>
Approved by: pjd (mentor)
MFC after: 1 day

16 years agoChange uint8_t to equivalent base language type and add line break where 80
kmacy [Thu, 6 Dec 2007 19:11:14 +0000 (19:11 +0000)]
Change uint8_t to equivalent base language type and add line break where 80
characters is exceeded in bit macros

Requested by: Bruce Evans

16 years agoAdd new controllers supported by rev 1.64 and 1.65 of aac_pci.c
emaste [Thu, 6 Dec 2007 18:31:57 +0000 (18:31 +0000)]
Add new controllers supported by rev 1.64 and 1.65 of aac_pci.c

16 years agoAdd more PCI ID's from Adaptec's driver, including two requested
emaste [Thu, 6 Dec 2007 18:25:29 +0000 (18:25 +0000)]
Add more PCI ID's from Adaptec's driver, including two requested
by Daniel Kamm.

  Adaptec RAID 51245
  Adaptec RAID 51645
  Adaptec RAID 52445
  Adaptec RAID 5405
  Sun STK RAID REM
  Sun STK RAID EM
  SG-XPCIESAS-R-IN
  SG-XPCIESAS-R-EX

16 years agoSimpler version of the previous commit.
des [Thu, 6 Dec 2007 09:31:13 +0000 (09:31 +0000)]
Simpler version of the previous commit.

16 years agoOnly attach to a GPT partition if it has the GPT_ENT_TYPE_FREEBSD type.
jhb [Thu, 6 Dec 2007 09:20:27 +0000 (09:20 +0000)]
Only attach to a GPT partition if it has the GPT_ENT_TYPE_FREEBSD type.

XXX: This only works currently with GEOM_GPT which only exists in 6.x.
XXX: I didn't add 'mbroffset' support for a GPT partition holding a BSD
label as I'm not sure if they use relative or absolute offsets.

MFC after: 3 days

16 years agoAdd several missing comma's in the fancy syscall parsing case before
jhb [Thu, 6 Dec 2007 08:49:43 +0000 (08:49 +0000)]
Add several missing comma's in the fancy syscall parsing case before
some arguments that are parsed (e.g., semctl command names).

MFC after: 3 days

16 years agoSet the tcb (thread control block) in the child process after a fork.
deischen [Thu, 6 Dec 2007 06:04:01 +0000 (06:04 +0000)]
Set the tcb (thread control block) in the child process after a fork.
This protects against a race with an upcall in the parent during the
fork which can clobber the parent's tcb before the vm space is copied
in the child.  The child then gets a corrupted tcb that is either null
or that points to another thread that doesn't exist in the child (after
a fork, only the fork()ing thread exists in the child).

Reported by: Arno J. Klaassen (arno at heho / snv / jussieu / fr)

16 years agoRespect the fact that the value a may be constant so cast to const uint8_t *
kmacy [Thu, 6 Dec 2007 04:00:59 +0000 (04:00 +0000)]
Respect the fact that the value a may be constant so cast to const uint8_t *

16 years agoAdd a BSD disklabel backend to g_part:
marcel [Thu, 6 Dec 2007 02:32:42 +0000 (02:32 +0000)]
Add a BSD disklabel backend to g_part:
o  Disklabels can have between 8 and 20 partitions (inclusive).
o  No device special file is created for the raw partition.
o  Switch ia64 to use this backend.
o  No support for boot code yet.

16 years agoAdd PCI IDs for additional cards:
emaste [Thu, 6 Dec 2007 02:10:07 +0000 (02:10 +0000)]
Add PCI IDs for additional cards:

AOC-USAS-S4i
AOC-USAS-S8i
AOC-USAS-S4iR
AOC-USAS-S8iR
AOC-USAS-S8i-LP
AOC-USAS-S8iR-LP

16 years agoHold Giant over the entire execution of the suspend path instead of
njl [Thu, 6 Dec 2007 01:39:23 +0000 (01:39 +0000)]
Hold Giant over the entire execution of the suspend path instead of
dropping it after each call into newbus.  This doesn't fix any known
problems but seems more correct.

Submitted by: Marko Zec <zec / icir.org>

16 years ago- optimize the initialization of the SB max variables.
rrs [Thu, 6 Dec 2007 00:22:55 +0000 (00:22 +0000)]
- optimize the initialization of the SB max variables.
- Missing lock when sending data and moving it to the
  outqueue.
- If a mbuf alloc fails during moving to outqueue the
  reassembly of the old mbuf chain was incorrect.
- some_taken becomes a counter in sctputil.c instead of a set to 1.
- Fix a panic to be only under invarients and have a proper recovery.
- msg_flags needed to be set.to the value collected not or'd.

MFC after: 1 week

16 years agoFix bit macros to work on multi-byte types
kmacy [Wed, 5 Dec 2007 23:48:03 +0000 (23:48 +0000)]
Fix bit macros to work on multi-byte types

MFC after: 1 day

16 years agoFix a use-after-free.
philip [Wed, 5 Dec 2007 19:32:59 +0000 (19:32 +0000)]
Fix a use-after-free.

Submitted by: Ilja van Sprundel <ilja -at- netric.org>
Reviewed by: secteam
MFC after: 1 day

16 years agoPlug two potential (root-only, local) information leaks. buf is not
philip [Wed, 5 Dec 2007 19:32:07 +0000 (19:32 +0000)]
Plug two potential (root-only, local) information leaks.  buf is not
initialized before use and returned integrally instead of up to size.

Submitted by: Ilja van Sprundel <ilja -at- netric.org>
Reviewed by: secteam
MFC after: 1 day

16 years agostyle(9)
obrien [Wed, 5 Dec 2007 18:00:41 +0000 (18:00 +0000)]
style(9)

16 years agoReenable the Amd build. 'make world' passed on my amd64 8-CURRENT system.
obrien [Wed, 5 Dec 2007 17:54:59 +0000 (17:54 +0000)]
Reenable the Amd build.  'make world' passed on my amd64 8-CURRENT system.

16 years agoTeach dhclient(8) about net80211 link (association) status.
jkim [Wed, 5 Dec 2007 17:13:45 +0000 (17:13 +0000)]
Teach dhclient(8) about net80211 link (association) status.

Reviewed by: brooks
MFC after: 3 days

16 years agoPut stock 6.1.5 file into HEAD.
obrien [Wed, 5 Dec 2007 16:57:05 +0000 (16:57 +0000)]
Put stock 6.1.5 file into HEAD.

16 years agoNot sure why mbr deleted this file - its useful.
obrien [Wed, 5 Dec 2007 16:56:42 +0000 (16:56 +0000)]
Not sure why mbr deleted this file - its useful.

16 years agoTeach Amd how to unmount.
obrien [Wed, 5 Dec 2007 16:50:48 +0000 (16:50 +0000)]
Teach Amd how to unmount.

16 years agoAccidently created the file with the wrong name.
obrien [Wed, 5 Dec 2007 16:49:16 +0000 (16:49 +0000)]
Accidently created the file with the wrong name.

16 years ago'amu_autofs_prot.h'
obrien [Wed, 5 Dec 2007 16:47:52 +0000 (16:47 +0000)]
'amu_autofs_prot.h'

16 years agoAdjust for new files added to 6.1.5, and files retired from 6.0.10p1.
obrien [Wed, 5 Dec 2007 16:40:05 +0000 (16:40 +0000)]
Adjust for new files added to 6.1.5, and files retired from 6.0.10p1.
Also TCP Wrappers is now supported.
Also tweak the MK_HESIOD.

16 years agoUpdate for version 6.1.5.
obrien [Wed, 5 Dec 2007 16:38:29 +0000 (16:38 +0000)]
Update for version 6.1.5.

16 years agoWe now have to use part of the vendor supplied xdr_func.c.
obrien [Wed, 5 Dec 2007 16:27:03 +0000 (16:27 +0000)]
We now have to use part of the vendor supplied xdr_func.c.
util renamed to strutil to be more clear of its purpose.

16 years agoThese now need to link with libamu.
obrien [Wed, 5 Dec 2007 16:25:43 +0000 (16:25 +0000)]
These now need to link with libamu.

16 years agoAdd new BUILD_* knobs, and switch our definition & setting of BUILD_*
obrien [Wed, 5 Dec 2007 16:23:34 +0000 (16:23 +0000)]
Add new BUILD_* knobs, and switch our definition & setting of BUILD_*
and configured settings.

16 years agoAutoconf would have created a symlink from conf/autofs/autofs_default.h
obrien [Wed, 5 Dec 2007 16:21:44 +0000 (16:21 +0000)]
Autoconf would have created a symlink from conf/autofs/autofs_default.h
to autoamu_autofs_prot.h.  It is easier to just create shell header within
the Bmake framework.

For now it's a stub - fill out when we know our Autofs direction.

16 years ago2005-05-28 Erez Zadok <ezk@cs.sunysb.edu>
obrien [Wed, 5 Dec 2007 16:18:44 +0000 (16:18 +0000)]
2005-05-28  Erez Zadok  <ezk@cs.sunysb.edu>
* libamu/alloca.c: remove file from distro.

16 years ago2005-10-02 Erez Zadok <ezk@cs.sunysb.edu>
obrien [Wed, 5 Dec 2007 16:16:56 +0000 (16:16 +0000)]
2005-10-02  Erez Zadok  <ezk@cs.sunysb.edu>
* libamu/strutil.c: rename from util.c to explain better purpose
of file.

16 years ago2005-03-05 Ion Badulescu <ionut@moisil.badula.org>
obrien [Wed, 5 Dec 2007 16:05:26 +0000 (16:05 +0000)]
2005-03-05  Ion Badulescu  <ionut@moisil.badula.org>
* amd/amfs_inherit.c: removed, dead code

16 years agoInclude support for FreeBSD's <fs/msdosfs/msdosfsmount.h>.
obrien [Wed, 5 Dec 2007 16:03:52 +0000 (16:03 +0000)]
Include support for FreeBSD's <fs/msdosfs/msdosfsmount.h>.
Also <ufs/ufs/ufsmount.h> is safe to use.

16 years agoMerge rev. 1.7 (change mounting directory to match traditional FreeBSD
obrien [Wed, 5 Dec 2007 16:00:42 +0000 (16:00 +0000)]
Merge rev. 1.7 (change mounting directory to match traditional FreeBSD
/etc/defaults/rc.conf) into 6.1.5.

16 years agoMerge the 6.0.10p1 -> 6.1.5 changes into our manpages.
obrien [Wed, 5 Dec 2007 15:59:34 +0000 (15:59 +0000)]
Merge the 6.0.10p1 -> 6.1.5 changes into our manpages.

16 years agoThis commit was generated by cvs2svn to compensate for changes in r174294,
obrien [Wed, 5 Dec 2007 15:48:03 +0000 (15:48 +0000)]
This commit was generated by cvs2svn to compensate for changes in r174294,
which included commits to RCS files with non-trunk default branches.

16 years agoVirgin import of AMD (am-utils) v6.1.5
obrien [Wed, 5 Dec 2007 15:48:03 +0000 (15:48 +0000)]
Virgin import of AMD (am-utils) v6.1.5

Sponsored by: Juniper Networks

16 years agoTemporarily disable amd for import.
obrien [Wed, 5 Dec 2007 15:35:25 +0000 (15:35 +0000)]
Temporarily disable amd for import.

16 years ago- Puts default limits on 4k/9k and 16k zones for mbufs all based
rrs [Wed, 5 Dec 2007 15:29:44 +0000 (15:29 +0000)]
- Puts default limits on 4k/9k and 16k zones for mbufs all based
  on 1/2 of each of the successive limits tied to the limit for
  2k clusters.
- Adds real functionality in so that doing a sysctl to change these
  actually changes them :-)

MFC after: 1 week

16 years agoDelete from the vendor brach a few things that are dead on head.
obrien [Wed, 5 Dec 2007 14:20:32 +0000 (14:20 +0000)]
Delete from the vendor brach a few things that are dead on head.
(they should have been removed here instead of on HEAD in the first place...)

16 years agoThis commit was generated by cvs2svn to compensate for changes in r174289,
obrien [Wed, 5 Dec 2007 14:20:32 +0000 (14:20 +0000)]
This commit was generated by cvs2svn to compensate for changes in r174289,
which included commits to RCS files with non-trunk default branches.

16 years agoRevise the markup.
ru [Wed, 5 Dec 2007 12:29:26 +0000 (12:29 +0000)]
Revise the markup.

16 years agoBring in support for: Marvell Yukon 8039
remko [Wed, 5 Dec 2007 09:41:58 +0000 (09:41 +0000)]
Bring in support for: Marvell Yukon 8039

PR: 118401
Submitted by: Skip Ford <skip at menantico dot com>
Approved by: imp (mentor), yongari
MFC After: 3 days

16 years agoUse curthread instead of the FIRST_THREAD_IN_PROC for vnlru and syncer,
kib [Wed, 5 Dec 2007 09:34:04 +0000 (09:34 +0000)]
Use curthread instead of the FIRST_THREAD_IN_PROC for vnlru and syncer,
when applicable.

Aquire Giant slightly later for vnlru.

In the syncer, aquire the Giant only when a vnode belongs to the
non-MPsafe fs.

In both speedup_syncer() and syncer_shutdown(), remove the syncer thread from
the lbolt sleep queue after the syncer state is modified, not before.

Herded by: attilio
Tested by: Peter Holm
Reviewed by: ups
MFC after: 1 week

16 years agoStop serial console and gdb serial port from getting all screwed up.
julian [Wed, 5 Dec 2007 05:16:56 +0000 (05:16 +0000)]
Stop serial console and gdb serial port from getting all screwed up.
PR: 65278
MFC in: 3 days
Submitted by: ups@

16 years agoIn nmount(), internally convert the mount option: "rdonly" to "ro".
rodrigc [Wed, 5 Dec 2007 03:26:14 +0000 (03:26 +0000)]
In nmount(), internally convert the mount option: "rdonly" to "ro".
This makes updates mounts such as:
 "mount -u -o rdonly" work more like, "mount -u -o ro".

References to "-o rdonly" were changed to "-o ro" in revision 1.60 of
the mount(8) man page,
but some people still like to use "-o rdonly" since it was documented
in earlier versions of FreeBSD.

Requested by: rwatson
MFC after: 1 week

16 years agoApply a workaround for the unkillable jail problem where some devices created
thompsa [Wed, 5 Dec 2007 01:22:03 +0000 (01:22 +0000)]
Apply a workaround for the unkillable jail problem where some devices created
within the jail are never freed. si_cred is only used by the MAC framework so
make the cred reference conditional on it being compiled in, this is not a fix
and will need to be reviewed for any new consumers of si_cred.

This will quell some user complaint when using jails with a default kernel.

Reviewed by: rwatson
MFC after: 3 days

16 years agoSupport monitor mode where the frame is discarded after bpf and stats processing.
thompsa [Wed, 5 Dec 2007 00:42:28 +0000 (00:42 +0000)]
Support monitor mode where the frame is discarded after bpf and stats processing.

16 years agoRemove obsolete comment on a way of getting kernel configuration file from
wkoszek [Tue, 4 Dec 2007 21:01:55 +0000 (21:01 +0000)]
Remove obsolete comment on a way of getting kernel configuration file from
INCLUDE_CONFIG_FILE. Make a user to look at what config(8) actually does,
and how can one fetch actual configuration file.

Reported by: many
Reviewed by: cognet (mentor)
Approved by: cognet (mentor)

16 years agoCast address of 'bssid' to uint8_t since printf() expects to get unsigned
wkoszek [Tue, 4 Dec 2007 20:48:32 +0000 (20:48 +0000)]
Cast address of 'bssid' to uint8_t since printf() expects to get unsigned
argument in %6D case.

Submitted by: thompsa
Compile-tested: wkoszek
Reviewed by: cognet (mentor)
Approved by: cognet (mentor)

16 years agoCast 'data' to 'u_char', as printf() requires this type to be unsigned. This
wkoszek [Tue, 4 Dec 2007 20:33:58 +0000 (20:33 +0000)]
Cast 'data' to 'u_char', as printf() requires this type to be unsigned. This
is what gcc3 complains about.

Without this change, it's impossible to build the kernel with gcc3.

Tested by: cognet@ (mentor)
Approved by: cognet@ (mentor)

16 years agoRemove redundant checks for msgsnd(3) and msgrcv(3).
jkim [Tue, 4 Dec 2007 20:25:41 +0000 (20:25 +0000)]
Remove redundant checks for msgsnd(3) and msgrcv(3).
COMPAT_IA32 (implicitly) requires SYSVSEM, SYSVSHM and SYSVMSG in kernel.

Pointed out by: jhb

16 years agoExplicitly initialize 'ret' to 0'. It lets one to build tmpfs from the
wkoszek [Tue, 4 Dec 2007 20:20:59 +0000 (20:20 +0000)]
Explicitly initialize 'ret' to 0'. It lets one to build tmpfs from the
latest source tree with older compiler--gcc3.

Approved by: cognet (mentor)

16 years ago- More fixes for the non-blocking msg send, had the skip of the pre-block
rrs [Tue, 4 Dec 2007 20:20:42 +0000 (20:20 +0000)]
- More fixes for the non-blocking msg send, had the skip of the pre-block
  test incorrect.
- Fix the initial buf calculation to be more friendly, calc is the same
  but we use different variable to make it easier amongst the different
  code versions.

MFC after: 1 week

16 years agoExplicitly initialize 'error' to 0 (two places). It lets one to build tmpfs
wkoszek [Tue, 4 Dec 2007 20:14:15 +0000 (20:14 +0000)]
Explicitly initialize 'error' to 0 (two places). It lets one to build tmpfs
from the latest source tree with older compiler--gcc3.

Reviewed by: kib@ (on freebsd-current@)
Approved by: cognet@ (mentor)

16 years agoIncrement __FreeBSD_version on account of changes to the jumbo frames
alc [Tue, 4 Dec 2007 17:57:41 +0000 (17:57 +0000)]
Increment __FreeBSD_version on account of changes to the jumbo frames
allocator.  (See revision 1.35 of kern/kern_mbuf.c.)

Requested by: Andrew Gallatin

16 years ago- Opps, signedness issue with one of the new var's (this is an issue
rrs [Tue, 4 Dec 2007 14:47:39 +0000 (14:47 +0000)]
- Opps, signedness issue with one of the new var's (this is an issue
  mainly in apple but with the right -Wall it could effect us too).

MFC after: 1 week

16 years ago- Found a problem in non-blocking sends. When
rrs [Tue, 4 Dec 2007 14:41:48 +0000 (14:41 +0000)]
- Found a problem in non-blocking sends. When
  sending, once the locks are all unlocked to
  do the copy's in, its possible that other
  events could then raise the number of bytes
  outstanding pushing it so not all the message
  would fit. This would then cause us to send
  only part of the message. This fix makes it
  so we keep a "reserved" amount that can be
  kept in mind when making calculations to send.
- rcv msg args with a NULL/NULL for to/tolen will return an error incorrectly
  for the 1-2-1 model.
- We were not doing 0 len return correctly and not setting cantrcv more
  correctly. Previouly we "fixed" this area by taking out the socantrcv
  since we then could not get the data out. The correct rix is to still
  flag the socket but alow a by-pass route to continue to read until
  all data is consumed.

MFC after: 1 week