]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agoThis commit was generated by cvs2svn to compensate for changes in r174531,
David E. O'Brien [Tue, 11 Dec 2007 03:35:39 +0000 (03:35 +0000)]
This commit was generated by cvs2svn to compensate for changes in r174531,
which included commits to RCS files with non-trunk default branches.

16 years agoDo not fold -C*ABS<n> to ABS<-C*n> (i.e., do not move negative constants
David E. O'Brien [Tue, 11 Dec 2007 03:35:39 +0000 (03:35 +0000)]
Do not fold -C*ABS<n> to ABS<-C*n> (i.e., do not move negative constants
inside ABS expression).
Obtained from: Richard Guenther <rguenther@suse.de>
Approved by: core

16 years agoAdd 'COMM' column to a few more output modes of procstat(1). The only
Robert Watson [Mon, 10 Dec 2007 20:55:43 +0000 (20:55 +0000)]
Add 'COMM' column to a few more output modes of procstat(1).  The only
one it's missing from is the VM display, where there's really not room,
and the file output display is looking quite cramped.

16 years agoBah, remove last vestiges of some statfs conversion fixes that aren't quite
John Baldwin [Mon, 10 Dec 2007 19:42:23 +0000 (19:42 +0000)]
Bah, remove last vestiges of some statfs conversion fixes that aren't quite
ready for CVS yet that snuck into 1.68.

Pointy hat to: jhb

16 years agoRegenerated page that includes the WITH_GSSAPI knob.
Doug Barton [Mon, 10 Dec 2007 19:11:56 +0000 (19:11 +0000)]
Regenerated page that includes the WITH_GSSAPI knob.

16 years agoHide the building and installation of libgssapi behind the
Doug Barton [Mon, 10 Dec 2007 19:09:24 +0000 (19:09 +0000)]
Hide the building and installation of libgssapi behind the
WITHOUT_KERBEROS knob. While GSS can be used for other things
some third party software (most notably ports/x11/kdelibs3)
takes the presence of libgssapi as an indication that kerberos
is available, and attempts to link with the kerberos libs. If
they are not available, the build will fail.

Because you might want to use GSS but not kerberos, add a knob
to re-enable it if WITHOUT_KERBEROS is present.

Document the new knob, and the new behavior of WITHOUT_KERBEROS.

Not objected and/or generally agreed to by: freebsd-arch

Problem discussed/analyzed in:
PR: ports/116484

16 years agoClean up VCS Ids.
David E. O'Brien [Mon, 10 Dec 2007 16:03:40 +0000 (16:03 +0000)]
Clean up VCS Ids.

16 years agoBump .Dd for r1.63; fix small nit from the same.
Ceri Davies [Mon, 10 Dec 2007 12:03:23 +0000 (12:03 +0000)]
Bump .Dd for r1.63; fix small nit from the same.

16 years agoLanguage nit.
Ceri Davies [Mon, 10 Dec 2007 12:01:27 +0000 (12:01 +0000)]
Language nit.

16 years agoAdd a bit more detailed description about a configuration
Poul-Henning Kamp [Mon, 10 Dec 2007 07:50:07 +0000 (07:50 +0000)]
Add a bit more detailed description about a configuration
file format and about using NAT "instances".

Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru>

16 years agoWake On Lan (WOL) infrastructure
Sam Leffler [Mon, 10 Dec 2007 02:31:00 +0000 (02:31 +0000)]
Wake On Lan (WOL) infrastructure

Submitted by: Stefan Sperling <stsp@stsp.name>
Reviewed by: brooks

16 years agoReduce diff against RELENG_7.
Xin LI [Sun, 9 Dec 2007 23:37:10 +0000 (23:37 +0000)]
Reduce diff against RELENG_7.

Obtained from: The FreeBSD Simplified Chinese Project

16 years agoAllow bsdlabel to operate on labels that have at most 26 partitions
Marcel Moolenaar [Sun, 9 Dec 2007 22:58:49 +0000 (22:58 +0000)]
Allow bsdlabel to operate on labels that have at most 26 partitions
by virtue of there not being any (lower-case) letters avaliable for
more partitions.

16 years agoDecode as many or as few partition entries as the label claims there
Marcel Moolenaar [Sun, 9 Dec 2007 22:44:22 +0000 (22:44 +0000)]
Decode as many or as few partition entries as the label claims there
are. We have already checked it against the caller provided maxpart.

16 years agoFix a bug in the add verb, where we failed to keep the list
Marcel Moolenaar [Sun, 9 Dec 2007 22:26:42 +0000 (22:26 +0000)]
Fix a bug in the add verb, where we failed to keep the list
of partitions in index-order. This is assumed by the APM, MBR
and BSD partitioning schemes.

16 years agoCommit the regenerated page that includes the WITHOUT_INSTALLLIB knob.
Doug Barton [Sun, 9 Dec 2007 21:57:27 +0000 (21:57 +0000)]
Commit the regenerated page that includes the WITHOUT_INSTALLLIB knob.

16 years agoAdd a reasonable-sounding description of the WITHOUT_INSTALLLIB knob.
Doug Barton [Sun, 9 Dec 2007 21:56:21 +0000 (21:56 +0000)]
Add a reasonable-sounding description of the WITHOUT_INSTALLLIB knob.

16 years agoEliminate compilation warnings due to the use of non-static inlines
Alan Cox [Sun, 9 Dec 2007 21:00:36 +0000 (21:00 +0000)]
Eliminate compilation warnings due to the use of non-static inlines
through the introduction and use of the __gnu89_inline attribute.

Submitted by: bde (i386)
MFC after: 3 days

16 years agoRemove some test instrumentation. (The Symbol.map changes broke it anyway.)
David Schultz [Sun, 9 Dec 2007 21:00:12 +0000 (21:00 +0000)]
Remove some test instrumentation. (The Symbol.map changes broke it anyway.)

16 years agoFixes to avoid overzealous constant folding.
David Schultz [Sun, 9 Dec 2007 20:56:08 +0000 (20:56 +0000)]
Fixes to avoid overzealous constant folding.

16 years agoFix spelling.
Andrew Thompson [Sun, 9 Dec 2007 20:47:12 +0000 (20:47 +0000)]
Fix spelling.

Obtained from: OpenBSD

16 years agogcc 4 does some overzealous constant folding, and since it doesn't
David Schultz [Sun, 9 Dec 2007 20:16:48 +0000 (20:16 +0000)]
gcc 4 does some overzealous constant folding, and since it doesn't
support FENV_ACCESS, that was causing this test to fail. Use a volatile
to avoid the constant folding.

16 years agosc->ndis_tq variable is only initialized when a driver module is for wireless
Andrew Thompson [Sun, 9 Dec 2007 20:14:01 +0000 (20:14 +0000)]
sc->ndis_tq variable is only initialized when a driver module is for wireless
NICs.

PR: kern/118439
Submitted by: Weongyo Jeong

16 years agoFix handling of subnormals on i386/ia64/amd64.
David Schultz [Sun, 9 Dec 2007 19:48:57 +0000 (19:48 +0000)]
Fix handling of subnormals on i386/ia64/amd64.

PR: 85080

16 years agoFix an incorrect FreeBSD version test.
Scott Long [Sun, 9 Dec 2007 19:24:27 +0000 (19:24 +0000)]
Fix an incorrect FreeBSD version test.

16 years agoModify locking so that a single version of the driver src can be used on 6.x
Scott Long [Sun, 9 Dec 2007 19:22:25 +0000 (19:22 +0000)]
Modify locking so that a single version of the driver src can be used on 6.x
and beyond.

16 years agoAllow the targeted CPU type to be set via -mcpu instead of
Marius Strobl [Sun, 9 Dec 2007 17:41:47 +0000 (17:41 +0000)]
Allow the targeted CPU type to be set via -mcpu instead of
limiting to the hardcoded equivalent of -mcpu=ultrasparc.

PR: 109510
MFC after: 3 months

16 years agoCheck for P_WEXIT before PHOLD() on a process in kstack and vm query
Robert Watson [Sun, 9 Dec 2007 17:22:27 +0000 (17:22 +0000)]
Check for P_WEXIT before PHOLD() on a process in kstack and vm query
sysctls, as PHOLD() asserts !P_WEXIT.

Reported by: Michael Plass <mfp49_freebsd at plass-family dot net>

16 years agoUse a clever definition of __FBSDID to allow building on !FreeBSD systems.
Warner Losh [Sun, 9 Dec 2007 16:48:51 +0000 (16:48 +0000)]
Use a clever definition of __FBSDID to allow building on !FreeBSD systems.

16 years agoIf we are walking the IPv6 header chain and we hit an IPPROTO_NONE
David Malone [Sun, 9 Dec 2007 15:35:09 +0000 (15:35 +0000)]
If we are walking the IPv6 header chain and we hit an IPPROTO_NONE
header, then don't try to pullup anything, because there is no next
header if we hit IPPROTO_NONE. Set ulp to a non-NULL value so the
search for an upper layer header terinates.

This is based on Pekka's diagnosis, but I chose a simpler fix.

PR: 115261
Submitted by: Pekka Savola <pekkas@netcore.fi>
Reviewed by: mlaier
MFC after: 2 weeks

16 years agoBe more accurate in the maximum filesize, it's 4GB not 4.3GB.
Remko Lodder [Sun, 9 Dec 2007 13:34:10 +0000 (13:34 +0000)]
Be more accurate in the maximum filesize, it's 4GB not 4.3GB.

Reported by: njl

16 years agoBackout previous commit, since it's done without maintainers
Kirill Ponomarev [Sun, 9 Dec 2007 11:01:58 +0000 (11:01 +0000)]
Backout previous commit, since it's done without maintainers
approval.  These changes were approved by adding it as port to
ports/ tree, but not for src/. I talked to PR submitter and miwi@
some days ago and explained the reasons for it, the both were agree
to add it to ports/ only.

16 years agoMake it easier to experiment with alternate compression.
David E. O'Brien [Sun, 9 Dec 2007 04:24:09 +0000 (04:24 +0000)]
Make it easier to experiment with alternate compression.

Reviewed by: kensmith

16 years agoBe more consistant and use UNZIPPER everywhere.
David E. O'Brien [Sun, 9 Dec 2007 02:43:28 +0000 (02:43 +0000)]
Be more consistant and use UNZIPPER everywhere.

16 years agoAdd the 'pkg_search' script.
David E. O'Brien [Sun, 9 Dec 2007 02:06:00 +0000 (02:06 +0000)]
Add the 'pkg_search' script.
This makes it easier to figure what packages you want to install.

Submitted by: Matthias Schmidt <schmidtm @ mathematik . uni-marburg . de>

16 years agoA few more cleanups.
Doug Barton [Sun, 9 Dec 2007 01:00:11 +0000 (01:00 +0000)]
A few more cleanups.

16 years agoMove WARNS as ed(1) also is only WARNS = 2 clean in the !DES case.
Marius Strobl [Sun, 9 Dec 2007 00:14:27 +0000 (00:14 +0000)]
Move WARNS as ed(1) also is only WARNS = 2 clean in the !DES case.
This fixes its compilation if MK_OPENSSL == no and also obsoletes
release/Makefile rev. 1.192. The latter isn't reverted though as
support for the fixit floppy and the rest of the boot floppies is
scheduled to be deorbited anyway.

Discussed with: kensmith

16 years agoThere is no list to stop, so dont use .El.
Remko Lodder [Sat, 8 Dec 2007 23:42:01 +0000 (23:42 +0000)]
There is no list to stop, so dont use .El.

Noticed by: brueffer

16 years agoRemove redundant whitespace.
Remko Lodder [Sat, 8 Dec 2007 23:41:13 +0000 (23:41 +0000)]
Remove redundant whitespace.

Noticed by: brueffer

16 years ago.Ed is not needed here, remove it.
Remko Lodder [Sat, 8 Dec 2007 23:40:11 +0000 (23:40 +0000)]
.Ed is not needed here, remove it.

Noticed by: brueffer

16 years agoInternal partitions can not be deleted or modified.
Marcel Moolenaar [Sat, 8 Dec 2007 23:08:42 +0000 (23:08 +0000)]
Internal partitions can not be deleted or modified.

16 years agoAdd an empty stop_cmd to the remaining scripts that don't start
Doug Barton [Sat, 8 Dec 2007 23:00:28 +0000 (23:00 +0000)]
Add an empty stop_cmd to the remaining scripts that don't start
daemons and don't already have one.

16 years agoMake the warning a bit less 'broad' then it used to be. The access
Remko Lodder [Sat, 8 Dec 2007 22:50:35 +0000 (22:50 +0000)]
Make the warning a bit less 'broad' then it used to be.  The access
is seems to be a problem for SUID applications, which we like to
prevent as much as possible.

PR: docs/39530
Submitted by: Soren Spies <sspies at apple dot com>
MFC After: 3 days

16 years agoImprove readability for the hosts.equiv file regarding the notation
Remko Lodder [Sat, 8 Dec 2007 22:43:16 +0000 (22:43 +0000)]
Improve readability for the hosts.equiv file regarding the notation
of hostnames.

PR: docs/35953
Submitted by: "Gary W. Swearingen" <swear at blarg dot net>
With minor modifications by me.

16 years agoRemove a meaningless KEYWORD
Doug Barton [Sat, 8 Dec 2007 22:40:31 +0000 (22:40 +0000)]
Remove a meaningless KEYWORD

16 years agoAdd information about the maximum file size for msdosfs.
Remko Lodder [Sat, 8 Dec 2007 22:38:12 +0000 (22:38 +0000)]
Add information about the maximum file size for msdosfs.

PR: docs/112935
Submitted by: Julian Stacey <jhs at berklix dot org>
Actually this was inspired by the ticket submitted
by Julian.
MFC After: 3 days

16 years agoRemove the bootconf.sh script. It was never used on FreeBSD, and was
Doug Barton [Sat, 8 Dec 2007 22:33:11 +0000 (22:33 +0000)]
Remove the bootconf.sh script. It was never used on FreeBSD, and was
removed from the Makefile in version 1.5 (2002/09/02) but never GC'ed.

16 years agoRemove spurious # marks to be more consistent with existing style.
Doug Barton [Sat, 8 Dec 2007 22:27:18 +0000 (22:27 +0000)]
Remove spurious # marks to be more consistent with existing style.

16 years agoRemove empty REQUIRE line
Doug Barton [Sat, 8 Dec 2007 22:26:30 +0000 (22:26 +0000)]
Remove empty REQUIRE line

16 years agoSkip internal partitions in the check for (user) partitions for
Marcel Moolenaar [Sat, 8 Dec 2007 22:06:17 +0000 (22:06 +0000)]
Skip internal partitions in the check for (user) partitions for
the destroy command. Previously a freshly created BSD disklabel
could not be destroyed because of the internal partition.

16 years agoAdd 1000baseTX support for the nve driver, which is known here and there.
Remko Lodder [Sat, 8 Dec 2007 21:58:18 +0000 (21:58 +0000)]
Add 1000baseTX support for the nve driver, which is known here and there.

Also mention that the driver sometimes returns '10baseTX' as output instead
of 100baseTX (which is the case at that moment).

PR: docs/115284
Submitted by: Julian Stacey Jhs <jhs at berklix dot org>
MFC After: 3 days

16 years agoUse 1GB virtual pages to implement the direct map on architectures that
Alan Cox [Sat, 8 Dec 2007 21:48:27 +0000 (21:48 +0000)]
Use 1GB virtual pages to implement the direct map on architectures that
support this feature.

Wrap a nearby line that is too long.

MFC after: 6 weeks

16 years agoRecognize architectural support for 1GB virtual pages.
Alan Cox [Sat, 8 Dec 2007 21:13:01 +0000 (21:13 +0000)]
Recognize architectural support for 1GB virtual pages.

MFC after: 6 weeks

16 years agoSupport new ARC120x family of controllers. Many thanks for Areca's continued
Scott Long [Sat, 8 Dec 2007 20:48:26 +0000 (20:48 +0000)]
Support new ARC120x family of controllers.  Many thanks for Areca's continued
support of FreeBSD.

Submitted by: Erich Chen @ Areca

16 years agoEnhance descriptions in the timed manual.
Remko Lodder [Sat, 8 Dec 2007 20:04:15 +0000 (20:04 +0000)]
Enhance descriptions in the timed manual.

PR: docs/115445
Submitted by: "Julian Stacey" <jhs at berklix dot org>
MFC After: 3 days

16 years agoAttempt to describe the ''auto'' type a bit better in the default
Remko Lodder [Sat, 8 Dec 2007 19:57:22 +0000 (19:57 +0000)]
Attempt to describe the ''auto'' type a bit better in the default
section (if nothing had been specified, or if the auto type had
been specified, a default layout is used).

PR: docs/116047
Submitted by: Ian Smith <smithi at nimnet dot asn dot au>
Minor modifications by me.

16 years agoRemove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d files
Doug Barton [Sat, 8 Dec 2007 07:20:23 +0000 (07:20 +0000)]
Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d files
with theirs, so this information doesn't need to be in the live file.
Having it in our CVS history is enough.

16 years agoAdd support for FS_ZFS.
Marcel Moolenaar [Sat, 8 Dec 2007 07:01:10 +0000 (07:01 +0000)]
Add support for FS_ZFS.

16 years agoAdd a file system type for ZFS (FS_ZFS).
Marcel Moolenaar [Sat, 8 Dec 2007 06:47:48 +0000 (06:47 +0000)]
Add a file system type for ZFS (FS_ZFS).

16 years agoSync with NetBSD rev 1.101.
Marcel Moolenaar [Sat, 8 Dec 2007 06:44:27 +0000 (06:44 +0000)]
Sync with NetBSD rev 1.101.
This also fixes fstypenames being short an entry.

16 years agoGrrr, remove an unused variable missed in the last commit.
Scott Long [Sat, 8 Dec 2007 01:41:31 +0000 (01:41 +0000)]
Grrr, remove an unused variable missed in the last commit.

16 years agoThe ../tools/do_sort script could not differentiate between
Doug Barton [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
Pyun YongHyeon [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
Doug Barton [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
Doug Barton [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().
Scott Long [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
Doug Barton [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,
Doug Barton [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"
Doug Barton [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
Doug Barton [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
Ed Maste [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.
Ruslan Ermilov [Fri, 7 Dec 2007 20:22:59 +0000 (20:22 +0000)]
More fixes.

16 years agoRevise the man->mdoc conversion of the amd manpages.
Ruslan Ermilov [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 Kovesdan [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 Kovesdan [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
Ed Maste [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.
Joseph Koshy [Fri, 7 Dec 2007 17:21:53 +0000 (17:21 +0000)]
Add stub functions to unbreak LINT.

16 years agoMake "manlint" recursive.
Ruslan Ermilov [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.
Joseph Koshy [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.
Joseph Koshy [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.
Søren Schmidt [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
Dag-Erling Smørgrav [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.
Olivier Houchard [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
Andrew Thompson [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
Joseph Koshy [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
Joseph Koshy [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
Joseph Koshy [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.
Joseph Koshy [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
Kip Macy [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
Randall Stewart [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
Ed Maste [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
Xin LI [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.
John Baldwin [Thu, 6 Dec 2007 23:37:26 +0000 (23:37 +0000)]
Regen.

16 years agoAdd freebsd32 compat wrappers for msgctl() and __semctl() using
John Baldwin [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
John Baldwin [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.
John Baldwin [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.
Xin LI [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
Olivier Houchard [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
John Baldwin [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 Elischer [Thu, 6 Dec 2007 22:48:24 +0000 (22:48 +0000)]
Remove more dup'd code
MFC After: 1 week