]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoReturn BUS_PROBE_DEFAULT instead of 0.
imp [Thu, 24 Feb 2005 21:32:56 +0000 (21:32 +0000)]
Return BUS_PROBE_DEFAULT instead of 0.

19 years agoMove acpi_perf and acpi_throttle into acpi.ko. Remove the acpi_perf
njl [Thu, 24 Feb 2005 20:48:07 +0000 (20:48 +0000)]
Move acpi_perf and acpi_throttle into acpi.ko.  Remove the acpi_perf
build structure.

19 years agoNote the ACPI clock and its characteristics.
njl [Thu, 24 Feb 2005 20:28:41 +0000 (20:28 +0000)]
Note the ACPI clock and its characteristics.

19 years agoBump the maximum number of levels to 64 and add warning messages about
njl [Thu, 24 Feb 2005 20:21:41 +0000 (20:21 +0000)]
Bump the maximum number of levels to 64 and add warning messages about
what to do to fix reduced functionality if the number of levels is too low.

19 years agoCorrect an off-by-one error in the number of settings est announces.
njl [Thu, 24 Feb 2005 20:20:11 +0000 (20:20 +0000)]
Correct an off-by-one error in the number of settings est announces.
The extraneous "0" state was not fatal but useless.

19 years agoNew release notes:
hrs [Thu, 24 Feb 2005 19:43:39 +0000 (19:43 +0000)]
New release notes:
options SYSCTL_DEBUG,
loader menu option to set hint.atkbd.0.flags=1,
device snd_audiocs for CS4231 audio controller,
bge(4) altq(4) support,
hptmv(4) added,
rm(1) -I option,
interface name change in rc.conf, and
rc.d/moused multiple device support.

19 years agoIntroduce defines for different levels of match in the bus probe routine to
imp [Thu, 24 Feb 2005 19:22:54 +0000 (19:22 +0000)]
Introduce defines for different levels of match in the bus probe routine to
try to standardize values a bit.

Discussed on: arch@
MFC After: 3 days

19 years agoNew release notes:
hrs [Thu, 24 Feb 2005 18:52:21 +0000 (18:52 +0000)]
New release notes:
device driver cleanup to use the generic tty(4) interface,
ipdivert kernel loadable module,
rune(3) multibyte/wide chatacter support removed,
xargs -I option POSIX conformance,
GNU readline 4.3->5.0, and
pkg_version(1) -q option.

19 years agoRegen.
jhb [Thu, 24 Feb 2005 18:24:29 +0000 (18:24 +0000)]
Regen.

19 years agoUse msync() to implement msync() for freebsd32 emulation. This isn't quite
jhb [Thu, 24 Feb 2005 18:24:16 +0000 (18:24 +0000)]
Use msync() to implement msync() for freebsd32 emulation.  This isn't quite
right for certain MAP_FIXED mappings on ia64 but it will work fine for all
other mappings and works fine on amd64.

Requested by: ps, Christian Zander
MFC after: 1 week

19 years agoFix a typo in my last commit.
sem [Thu, 24 Feb 2005 18:17:41 +0000 (18:17 +0000)]
Fix a typo in my last commit.

Reported by: ceri

19 years agoCouple of lessons learned during USB driver testing:
wpaul [Thu, 24 Feb 2005 17:58:27 +0000 (17:58 +0000)]
Couple of lessons learned during USB driver testing:

- In kern_ndis.c:ndis_unload_driver(), test that ndis_block->nmb_rlist
  is not NULL before trying to free() it.

- In subr_pe.c:pe_get_import_descriptor(), do a case-insensitive
  match on the import module name. Most drivers I have encountered
  link against "ntoskrnl.exe" but the ASIX USB ethernet driver I'm
  testing with wants "NTOSKRNL.EXE."

- In subr_ntoskrnl.c:IoAllocateIrp(), return a pointer to the IRP
  instead of NULL. (Stub code leftover.)

- Also in subr_ntoskrnl.c, add ExAllocatePoolWithTag() and ExFreePool()
  to the function table list so they'll get exported to drivers properly.

19 years agoPut my birthday into the pool.
sem [Thu, 24 Feb 2005 17:08:39 +0000 (17:08 +0000)]
Put my birthday into the pool.
Sorry guys, USSR idiosyncrasy.

19 years agoSplit the chip-specific code from the generic Utopia code. This simplifies
harti [Thu, 24 Feb 2005 16:56:36 +0000 (16:56 +0000)]
Split the chip-specific code from the generic Utopia code. This simplifies
adding of new physical chips. Now one just needs to add a .h and a .c
file for the new chip and add one line to utopia.c for that chip.

19 years agoRemove an accidental clearing of the new label pointer on a system V
rwatson [Thu, 24 Feb 2005 16:08:41 +0000 (16:08 +0000)]
Remove an accidental clearing of the new label pointer on a system V
message queue, which was introduced during the merge process.

Submitted by: Andrew Reisse <areisse at nailabs dot com>

19 years agoVar_Parse: Separate different error states by introducing an else block
harti [Thu, 24 Feb 2005 16:05:45 +0000 (16:05 +0000)]
Var_Parse: Separate different error states by introducing an else block
after a return. Move assignments to {freePtr, dynamic, start} closer to the
return statements to clarify which variables are actually used for
communication between the losely coupled blocks of the code. Clear up
an if-expression to make common structures of the conditions clearer.
Use strchr instead of switch statements to check for a character beeing
a member of a set.

Patches: 7-62.2, 7-62.3, 7-64, 7-65.1, 7-65.2
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoFix to support Buffalo HYPERMEMORY.
nyan [Thu, 24 Feb 2005 13:15:05 +0000 (13:15 +0000)]
Fix to support Buffalo HYPERMEMORY.

Submitted by: Chiharu Shibata
MFC after: 3 days

19 years agoo Move ifcr_count sanity check up and reject negative values before we
maxim [Thu, 24 Feb 2005 13:14:41 +0000 (13:14 +0000)]
o Move ifcr_count sanity check up and reject negative values before we
panic at kmem_alloc() via malloc(9).

PR: kern/77748
Submitted by: Wojciech A. Koszek
OK'ed by: brooks
Security: local DoS, a sample code in the PR.
MFC after: 3 days

19 years agoPush assignments to just before the returns from the function to
harti [Thu, 24 Feb 2005 10:35:39 +0000 (10:35 +0000)]
Push assignments to just before the returns from the function to
get it clearer what variables are actually needed.

Patches: 7.62.2, 7.62.3
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoFix wording of a comment.
harti [Thu, 24 Feb 2005 10:30:23 +0000 (10:30 +0000)]
Fix wording of a comment.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoReplace the calls to Lst_ForEach with the new LST_FOREACH macro and
harti [Thu, 24 Feb 2005 10:23:31 +0000 (10:23 +0000)]
Replace the calls to Lst_ForEach with the new LST_FOREACH macro and
fix the prototype for Compat_RunCommand to take the actual argument
types instead of void *.

19 years agoFix long lines in comment introduced in previous commit.
glebius [Thu, 24 Feb 2005 10:15:50 +0000 (10:15 +0000)]
Fix long lines in comment introduced in previous commit.

19 years agomdoc(7) cleanup
glebius [Thu, 24 Feb 2005 09:43:16 +0000 (09:43 +0000)]
mdoc(7) cleanup

Submitted by: ru

19 years agoFix problem when master comes up with one interface down, and preempts
glebius [Thu, 24 Feb 2005 09:05:28 +0000 (09:05 +0000)]
Fix problem when master comes up with one interface down, and preempts
mastering on all other interfaces:

- call carp_carpdev_state() on initialize instead of just setting to INIT
- in carp_carpdev_state() check that interface is UP, instead of checking
  that it is not DOWN, because a rebooted machine may have interface in
  UNKNOWN state.

Sponsored by: Rambler
Obtained from: OpenBSD (partially)

19 years agoRevert rev 1.8, which causes small (e.g. 2 ulp) errors for some
das [Thu, 24 Feb 2005 06:32:13 +0000 (06:32 +0000)]
Revert rev 1.8, which causes small (e.g. 2 ulp) errors for some
inputs.  The trouble with replacing two floats with a double is that
the latter has 6 extra bits of precision, which actually hurts
accuracy in many cases.  All of the constants are optimal when float
arithmetic is used, and would need to be recomputed to do this right.

Noticed by: bde (ucbtest)

19 years agoForced commit: The previous revision's message should have referred to
alc [Thu, 24 Feb 2005 06:27:26 +0000 (06:27 +0000)]
Forced commit: The previous revision's message should have referred to
revision 1.115, not revision 1.114.

19 years agoRevert the first part of revision 1.114 and modify the second part. On
alc [Thu, 24 Feb 2005 06:13:01 +0000 (06:13 +0000)]
Revert the first part of revision 1.114 and modify the second part.  On
architectures implementing uma_small_alloc() pages do not necessarily
belong to the kmem object.

19 years agoAdd a HISTORY section.
trhodes [Thu, 24 Feb 2005 06:03:31 +0000 (06:03 +0000)]
Add a HISTORY section.

PR: 75282

19 years agoAdd IOGEAR GUF320.
trhodes [Thu, 24 Feb 2005 04:32:54 +0000 (04:32 +0000)]
Add IOGEAR GUF320.

PR: 73825

19 years agoPrevious commit missed the following:
trhodes [Thu, 24 Feb 2005 03:47:44 +0000 (03:47 +0000)]
Previous commit missed the following:

PR: 76064
Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> (original version)
Reviewed by: keramida (follow-up in the PR)

19 years agoTo be more complete, discuss 'make kernel' since we do cover buildkernel.
trhodes [Thu, 24 Feb 2005 03:46:36 +0000 (03:46 +0000)]
To be more complete, discuss 'make kernel' since we do cover buildkernel.
Xref config.8.
Bump doc date.

19 years agoAllow a forced dump even if the dump header information is inconsistent.
obrien [Thu, 24 Feb 2005 02:45:10 +0000 (02:45 +0000)]
Allow a forced dump even if the dump header information is inconsistent.
Output more verbosity with additional -v's.

Submitted by: seanc

19 years agoplug resource leak
sam [Thu, 24 Feb 2005 02:24:24 +0000 (02:24 +0000)]
plug resource leak

Noticed by: Coverity Prevent analysis tool
Reviewed by: scottl

19 years agoremove gratuitous null ptr check
sam [Thu, 24 Feb 2005 02:06:22 +0000 (02:06 +0000)]
remove gratuitous null ptr check

Noticed by: Coverity Prevent analysis tool

19 years agoo nuke duplicate call of dpt_free when dpt_init fails
sam [Thu, 24 Feb 2005 02:03:55 +0000 (02:03 +0000)]
o nuke duplicate call of dpt_free when dpt_init fails
o nuke gratuitous null ptr check; softc can never be null in this routine

Noticed by: Coverity Prevent analysis tool
Reviewed by: mdodd

19 years agomove ptr deref's to after null ptr checks
sam [Thu, 24 Feb 2005 01:40:52 +0000 (01:40 +0000)]
move ptr deref's to after null ptr checks

Noticed by: Coverity Prevent analysis tool

19 years agothe rt parameter to ifa_rtrequest callbacks should always be non-null;
sam [Thu, 24 Feb 2005 01:34:01 +0000 (01:34 +0000)]
the rt parameter to ifa_rtrequest callbacks should always be non-null;
eliminate grauitous ptr checks that follow ptr deref's

Noticed by: Coverity Prevent analysis tool

19 years agoFix a couple of grammar nits.
trhodes [Thu, 24 Feb 2005 01:00:09 +0000 (01:00 +0000)]
Fix a couple of grammar nits.

PR: 77437
Submitted by: Paul A. Hoadley <paulh@logicsquad.net> (original version)

19 years agochange m_adj to reclaim unused mbufs instead of zero'ing m_len
sam [Thu, 24 Feb 2005 00:40:33 +0000 (00:40 +0000)]
change m_adj to reclaim unused mbufs instead of zero'ing m_len
when trim'ing space off the back of a chain; this is indirect
solution to a potential null ptr deref

Noticed by: Coverity Prevent analysis tool (null ptr deref)
Reviewed by: dg, rwatson

19 years agoDo not mislead users into checking for a mount_ufs or mount_ufs2 manual
trhodes [Thu, 24 Feb 2005 00:32:58 +0000 (00:32 +0000)]
Do not mislead users into checking for a mount_ufs or mount_ufs2 manual
page.  They do not exist.

PR: 53303
Submitted by: Marc Silver <marcs@draenor.org> (original version)

19 years agoAdd locking assertions into vn_extattr_set, vn_extattr_get and
csjp [Thu, 24 Feb 2005 00:13:16 +0000 (00:13 +0000)]
Add locking assertions into vn_extattr_set, vn_extattr_get and
vn_extattr_rm. This is meant to catch conditions where IO_NODELOCKED
has been specified without the vnode being locked.

Discussed with: rwatson
MFC after: 1 week

19 years agoAutogenerate device listings for snd_sbc(4).
brueffer [Thu, 24 Feb 2005 00:12:17 +0000 (00:12 +0000)]
Autogenerate device listings for snd_sbc(4).

MFC after: 3 days

19 years agoNote how cp(1) handles directories ending in "/."
trhodes [Thu, 24 Feb 2005 00:06:22 +0000 (00:06 +0000)]
Note how cp(1) handles directories ending in "/."

PR: 75774
Submitted by: Mike Meyer <mwm@mired.org> (original version)

19 years agoDrop bzero and shove the responsibility of zeroing the kse upcall
csjp [Thu, 24 Feb 2005 00:05:50 +0000 (00:05 +0000)]
Drop bzero and shove the responsibility of zeroing the kse upcall
object on to the zone allocator. It should be noted that uma_zalloc(9)
uses bzero to zero out the object so there probably wont be any
real performance benefit. If UMA grows the ability to supply
zeroed zones more efficiently in the future, we will not have to
modify all the existing consumers.

Discussed with: rwatson,julian
MFC after: 1 week

19 years ago-document the fact that extattr_get_* can fail if the requested
csjp [Thu, 24 Feb 2005 00:04:45 +0000 (00:04 +0000)]
-document the fact that extattr_get_* can fail if the requested
 attribute does not exist on the file.
-bump document date

Reviewed by: rwatson,trhodes
MFC after: 1 week

19 years ago- move information about supported hardware into a HARDWARE section
brueffer [Wed, 23 Feb 2005 23:57:36 +0000 (23:57 +0000)]
- move information about supported hardware into a HARDWARE section
- bump .Dd

MFC after: 3 days

19 years agoXref chflags(2).
trhodes [Wed, 23 Feb 2005 23:55:58 +0000 (23:55 +0000)]
Xref chflags(2).
Note that unlink.2 can return EPERM if the immutable or append-only flags are set.

PR: 77043

19 years agoTweak description and add Belkin F5D5020
imp [Wed, 23 Feb 2005 23:55:32 +0000 (23:55 +0000)]
Tweak description and add Belkin F5D5020

19 years agoAdd information on utilities which may or may not be aware of file flags.
trhodes [Wed, 23 Feb 2005 23:07:45 +0000 (23:07 +0000)]
Add information on utilities which may or may not be aware of file flags.

PR: 55653
Submitted by: Tony Maher <tonymaher@optushome.com.au> (original version)

19 years agoeliminate dead code
sam [Wed, 23 Feb 2005 22:53:04 +0000 (22:53 +0000)]
eliminate dead code

Noticed by: Coverity Prevent analysis tool

19 years agoSort the list of devices in the HARDWARE section. Also move the section
brueffer [Wed, 23 Feb 2005 22:50:43 +0000 (22:50 +0000)]
Sort the list of devices in the HARDWARE section.  Also move the section
below the DESCRIPTION section for consistency with the other manpages.

MFC after: 3 days

19 years agoeliminate dead code and collapse the remainder
sam [Wed, 23 Feb 2005 22:50:19 +0000 (22:50 +0000)]
eliminate dead code and collapse the remainder

Noticed by: Coverity Prevent analysis tool
Reviewed by: rwatson

19 years agoavoid potential null ptr derefs
sam [Wed, 23 Feb 2005 22:44:38 +0000 (22:44 +0000)]
avoid potential null ptr derefs

Noticed by: Coverity Prevent analysis tool

19 years agoAdd better mdoc(7) mark up, clean up wording, better describe the effects
trhodes [Wed, 23 Feb 2005 22:40:45 +0000 (22:40 +0000)]
Add better mdoc(7) mark up, clean up wording, better describe the effects
of some arguments.

PR: 47705
Based on a patch submitted by: Gary W. Swearingen <swear@attbi.com>
Glanced at by: simon

19 years agoUpdate list of utilitys which are implemented externally, Xref info.1,
trhodes [Wed, 23 Feb 2005 22:37:17 +0000 (22:37 +0000)]
Update list of utilitys which are implemented externally, Xref info.1,
clean up some text, bump doc date.

PR: 47690
Submitted by: Gary W. Swearingen <swear@attbi.com> (original version)

19 years agoMake it more obvious that cap_mkdb(1) is required to rebuild the database.
trhodes [Wed, 23 Feb 2005 22:11:59 +0000 (22:11 +0000)]
Make it more obvious that cap_mkdb(1) is required to rebuild the database.

PR: 76981
Submitted by: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org>

19 years agoIf what we have is a struct sockaddr_storage * and what we want is a
des [Wed, 23 Feb 2005 21:26:55 +0000 (21:26 +0000)]
If what we have is a struct sockaddr_storage * and what we want is a
struct sockaddr_storage *, there's no point in casting it prematurely
to a struct sockaddr *.  This unbreaks WARNS=6 on sparc64.

19 years agoFixed warnings and bump WARNS to 6.
ru [Wed, 23 Feb 2005 20:59:03 +0000 (20:59 +0000)]
Fixed warnings and bump WARNS to 6.

19 years agoBump WARNS to 6.
ru [Wed, 23 Feb 2005 20:42:47 +0000 (20:42 +0000)]
Bump WARNS to 6.

19 years agoSimplify steps necessary to cross-install -CURRENT onto a
ru [Wed, 23 Feb 2005 20:37:11 +0000 (20:37 +0000)]
Simplify steps necessary to cross-install -CURRENT onto a
separate partition.  (Take advantage of "make distribute"
installing /boot/device.hints.)

19 years agoremove dead code
sam [Wed, 23 Feb 2005 19:34:44 +0000 (19:34 +0000)]
remove dead code

Noticed by: Coverity Prevent analysis tool
Reviewed by: silby

19 years agoeliminate potential null deref
sam [Wed, 23 Feb 2005 19:32:29 +0000 (19:32 +0000)]
eliminate potential null deref

Noticed by: Coverity Prevent analysis tool
Reviewed by: jhb

19 years agoReword the HARDWARE section, so it can be used in the autogenerated
brueffer [Wed, 23 Feb 2005 19:31:12 +0000 (19:31 +0000)]
Reword the HARDWARE section, so it can be used in the autogenerated
hardware notes.

19 years ago- make the hardware list look like that of other manpages
brueffer [Wed, 23 Feb 2005 19:23:36 +0000 (19:23 +0000)]
- make the hardware list look like that of other manpages
- fix typo

MFC after: 3 days

19 years agoUpdate release notes:
hrs [Wed, 23 Feb 2005 18:30:57 +0000 (18:30 +0000)]
Update release notes:
debug.mpsafevm enabled by default on alpha, amd64, and i386.

19 years ago- remove OpenBSDisms, add FreeBSDisms
glebius [Wed, 23 Feb 2005 17:37:39 +0000 (17:37 +0000)]
- remove OpenBSDisms, add FreeBSDisms
- comment out feature, we do not have yet: tcpdumping on pfsync,
  add a BUGS section
- reference carp.4
- dereference bpf(4), tcpdump(7), hostname.if(5)
- sort references
- tell when pfsync appeared in FreeBSD

Reviewed by: mlaier
MFC after: 1 week

19 years agoMake WARNS=6-clean.
des [Wed, 23 Feb 2005 17:13:28 +0000 (17:13 +0000)]
Make WARNS=6-clean.

19 years agoNew release notes:
hrs [Wed, 23 Feb 2005 16:54:03 +0000 (16:54 +0000)]
New release notes:
IPFIREWALL_FORWARD_EXTENDED kernel option.

19 years agoNote removal of "options CPU_ENABLE_TCC"
njl [Wed, 23 Feb 2005 16:52:55 +0000 (16:52 +0000)]
Note removal of "options CPU_ENABLE_TCC"

19 years agoAlso remove CPU_ENABLE_TCC from the NOTES build.
njl [Wed, 23 Feb 2005 16:45:55 +0000 (16:45 +0000)]
Also remove CPU_ENABLE_TCC from the NOTES build.

19 years agoRemove the old p4tcc.
njl [Wed, 23 Feb 2005 16:44:37 +0000 (16:44 +0000)]
Remove the old p4tcc.

19 years agoImplement IoCancelIrp(), IoAcquireCancelSpinLock(), IoReleaseCancelSpinLock()
wpaul [Wed, 23 Feb 2005 16:44:33 +0000 (16:44 +0000)]
Implement IoCancelIrp(), IoAcquireCancelSpinLock(), IoReleaseCancelSpinLock()
and a machine-independent though inefficient InterlockedExchange().
In Windows, InterlockedExchange() appears to be implemented in header
files via inline assembly. I would prefer using an atomic.h macro for
this, but there doesn't seem to be one that just does a plain old
atomic exchange (as opposed to compare and exchange). Also implement
IoSetCancelRoutine(), which is just a macro that uses InterlockedExchange().

Fill in IoBuildSynchronousFsdRequest(), IoBuildAsynchronousFsdRequest()
and IoBuildDeviceIoControlRequest() so that they do something useful,
and add a bunch of #defines to ntoskrnl_var.h to help make these work.
These may require some tweaks later.

19 years agoHook p4tcc up to the module build.
njl [Wed, 23 Feb 2005 16:44:06 +0000 (16:44 +0000)]
Hook p4tcc up to the module build.

19 years agoRemove CPU_ENABLE_TCC and hook the cpufreq p4tcc up to the build.
njl [Wed, 23 Feb 2005 16:43:44 +0000 (16:43 +0000)]
Remove CPU_ENABLE_TCC and hook the cpufreq p4tcc up to the build.

19 years agoImport a rewrite of p4tcc for the cpufreq(4) framework. This includes
njl [Wed, 23 Feb 2005 16:42:56 +0000 (16:42 +0000)]
Import a rewrite of p4tcc for the cpufreq(4) framework.  This includes
a bugfix of clearing the On-Demand flag when going back to 100%.  It
has been tested and works on an IBM R32.  Note original work done by
Ted Unangst and sobomax@.

19 years agoUpdate release notes:
hrs [Wed, 23 Feb 2005 16:37:22 +0000 (16:37 +0000)]
Update release notes:
SMP VFS enabled by default.

19 years agoForced commit to note a repocopy of this file from sys/i386/i386/p4tcc.c
njl [Wed, 23 Feb 2005 16:36:31 +0000 (16:36 +0000)]
Forced commit to note a repocopy of this file from sys/i386/i386/p4tcc.c

Thanks to: markm

19 years agoUpdate release notes:
hrs [Wed, 23 Feb 2005 16:17:15 +0000 (16:17 +0000)]
Update release notes:
add reference to carp(4) manual page.

19 years agoReplace "ipfw l", which is now deprecated, with "ipfw list".
ssouhlal [Wed, 23 Feb 2005 15:07:36 +0000 (15:07 +0000)]
Replace "ipfw l", which is now deprecated, with "ipfw list".

Approved by: grehan (mentor)

19 years agoCorrectly calculate what to do and how to retry a request to a plex when
le [Wed, 23 Feb 2005 14:59:14 +0000 (14:59 +0000)]
Correctly calculate what to do and how to retry a request to a plex when
the previous one failed and there are more than one plex in the volume.

This could have led to a flood of error messages on the console and
probably a deadlock in certain situations.

19 years agoUse the LST_FOREACH macro instead of the Lst_ForEach function
harti [Wed, 23 Feb 2005 14:03:18 +0000 (14:03 +0000)]
Use the LST_FOREACH macro instead of the Lst_ForEach function
and so get rid of the ForExec helper function by inlining it
into For_Run.

19 years agoStyle: fix indent, use tabs instead of space+tab for aligning things.
harti [Wed, 23 Feb 2005 13:58:56 +0000 (13:58 +0000)]
Style: fix indent, use tabs instead of space+tab for aligning things.
Add a couple of comments.

19 years agoFix the indendation of some multi-line comments.
harti [Wed, 23 Feb 2005 10:20:58 +0000 (10:20 +0000)]
Fix the indendation of some multi-line comments.

Noted by: Max Okumoto <okumoto@ucsd.edu>

19 years ago - Enable SMP VFS by default on current. More users are needed to turn up
jeff [Wed, 23 Feb 2005 10:05:43 +0000 (10:05 +0000)]
 - Enable SMP VFS by default on current.  More users are needed to turn up
   any remaining bugs.  Anyone inconvenienced by this can still disable it
   in the loader.

Sponsored by: Isilon Systems, Inc.

19 years agoManpage for CARP from .Ox, with minor modifications.
glebius [Wed, 23 Feb 2005 08:29:50 +0000 (08:29 +0000)]
Manpage for CARP from .Ox, with minor modifications.

Obtained from: OpenBSD

19 years agoNote that debug.acpi.disabled can also disable the video.
trhodes [Wed, 23 Feb 2005 07:23:35 +0000 (07:23 +0000)]
Note that debug.acpi.disabled can also disable the video.

PR: 77693
Tested/submitted by: John Prather <jprather@axon.cdc.uci.edu>
MFC: 1 day

19 years agoFix a misplaced .El
kientzle [Wed, 23 Feb 2005 06:58:09 +0000 (06:58 +0000)]
Fix a misplaced .El

19 years agoDon't return NULL if there's no error message;
kientzle [Wed, 23 Feb 2005 06:57:04 +0000 (06:57 +0000)]
Don't return NULL if there's no error message;
return a generic text message instead.
(Someday, I'll track down all the places that
are generating errors but not recording messages. ;-/

Thanks to: Jaakko Heinonen

19 years agomark timestamp for pending fragments
sam [Wed, 23 Feb 2005 04:52:30 +0000 (04:52 +0000)]
mark timestamp for pending fragments

Noticed by: Jeffrey D. Chung

19 years agoThey key combinations for Left window and Right window seem reversed, fix.
trhodes [Wed, 23 Feb 2005 04:22:17 +0000 (04:22 +0000)]
They key combinations for Left window and Right window seem reversed, fix.

PR: 48767

19 years agoAccording to kern_poll.c, you cannot use DEVICE_POLLING with SMP. Add a
trhodes [Wed, 23 Feb 2005 04:13:11 +0000 (04:13 +0000)]
According to kern_poll.c, you cannot use DEVICE_POLLING with SMP.  Add a
commen about this in every NOTES file which lists DEVICE_POLLING.

PR: 46793
MFC: 1 day

19 years agoFix up previous commit by adding prescott and itanium2 CPUs.
trhodes [Wed, 23 Feb 2005 03:28:14 +0000 (03:28 +0000)]
Fix up previous commit by adding prescott and itanium2 CPUs.

Submitted by: marcel

19 years agoIf a register width is less than 8, assume the BIOS author thought it was
njl [Wed, 23 Feb 2005 03:20:00 +0000 (03:20 +0000)]
If a register width is less than 8, assume the BIOS author thought it was
in units of bytes and adjust accordingly.  This is found at least on the
Sony PCG-505BX.

19 years agoAdd an EXAMPLES section[1], quote Nd, and bump doc date.
trhodes [Wed, 23 Feb 2005 02:02:38 +0000 (02:02 +0000)]
Add an EXAMPLES section[1], quote Nd, and bump doc date.

PR: 53621 [1]
Submitted by: Faried Nawaz <fn@hungry.com> [1]

19 years agoAdd 'nocona' to the list of Intel ia64 CPUs and k8 to the AMD CPUs.
trhodes [Wed, 23 Feb 2005 01:10:28 +0000 (01:10 +0000)]
Add 'nocona' to the list of Intel ia64 CPUs and k8 to the AMD CPUs.

Replace -fmemoize-lookups -fsave-memoized with a working example,
-fconserve-space.  To quote part of the GCC docs on this option:

"Put uninitialized or runtime-initialized global variables into the
common segment, as C does."

MFC after: 2 days
Submitted by: Daniel Gerzo <danger@rulez.sk> (original version)

19 years ago - A test in sched_switch() is no longer necessary and it is incorrect
jeff [Wed, 23 Feb 2005 00:50:26 +0000 (00:50 +0000)]
 - A test in sched_switch() is no longer necessary and it is incorrect
   when td0 is preempted before it voluntarily switches.

Discovered by: Arjan Van Leeuwen <avleeuwen@gmail.com>

19 years agokill dead code
sam [Wed, 23 Feb 2005 00:43:00 +0000 (00:43 +0000)]
kill dead code

Noticed by: Coverity Prevent analysis tool

19 years agofix potential invalid index into ip_protox array
sam [Wed, 23 Feb 2005 00:38:12 +0000 (00:38 +0000)]
fix potential invalid index into ip_protox array

Noticed by: Coverity Prevent analysis tool

19 years agoUnbreak CARP build on 64-bit architectures.
mux [Wed, 23 Feb 2005 00:20:33 +0000 (00:20 +0000)]
Unbreak CARP build on 64-bit architectures.

Tested on: sparc64

19 years ago - Only the xlock holder should be calling VOP_LOCK on a vp once VI_XLOCK
jeff [Wed, 23 Feb 2005 00:11:14 +0000 (00:11 +0000)]
 - Only the xlock holder should be calling VOP_LOCK on a vp once VI_XLOCK
   has been set.  Assert that this is the case so that we catch filesystems
   who are using naked VOP_LOCKs in illegal cases.

Sponsored by: Isilon Systems, Inc.