]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoIf fifo_open() is called with a negative file descriptor, return EINVAL
Robert Watson [Tue, 14 Mar 2006 19:29:45 +0000 (19:29 +0000)]
If fifo_open() is called with a negative file descriptor, return EINVAL
rather than panicking later.  This can occur if the kernel calls
vn_open() on a fifo, as there will be no associated file descriptor,
and therefore the file descriptor operations cannot be modified to
point to the fifo operation set.

MFC after: 3 days
Reported by: Martin <nakal at nurfuerspam dot de>
PR: 94278

18 years agoTeach bthidd(8) to reload its config when SIGHUP is received.
Maksim Yevmenkin [Tue, 14 Mar 2006 19:29:40 +0000 (19:29 +0000)]
Teach bthidd(8) to reload its config when SIGHUP is received.

Submitted by: Iain Hibbert < plunky at rya-online dot net >
MFC after: 3 days

18 years agoExport SMBIOS serial numbers by default. To turn it off, use
Jung-uk Kim [Tue, 14 Mar 2006 19:02:00 +0000 (19:02 +0000)]
Export SMBIOS serial numbers by default.  To turn it off, use
'BOOT_HIDE_SERIAL_NUMBERS' knob.

Suggested by: ceri

18 years agoAdd missing libdata/ldconfig[32] entries.
Joe Marcus Clarke [Tue, 14 Mar 2006 18:23:35 +0000 (18:23 +0000)]
Add missing libdata/ldconfig[32] entries.

Approved by: portmgr (implicit)

18 years agoImport OpenBSD's manual page to the sys/sys/hash.c functions imported two
Andre Oppermann [Tue, 14 Mar 2006 17:19:09 +0000 (17:19 +0000)]
Import OpenBSD's manual page to the sys/sys/hash.c functions imported two
days earlier.

Obtained from: OpenBSD

18 years agoAdd link:
Jesus R. Camou [Tue, 14 Mar 2006 17:05:00 +0000 (17:05 +0000)]
Add link:

rc.conf.local.5->rc.conf.5.

PR: docs/87698
Reported by: Marian Cerny <jojo@matfyz.cz>
Submitted by: Daniel Gerzo <danger@rulez.sk>
Approved by: trhodes (mentor)
MFC after: 3 days

18 years agoFix HISTORY and point to OpenBSD.
Andre Oppermann [Tue, 14 Mar 2006 17:01:21 +0000 (17:01 +0000)]
Fix HISTORY and point to OpenBSD.

18 years agoImport of OpenBSD's strtonum(3) which is a nicer version of strtoll(3)
Andre Oppermann [Tue, 14 Mar 2006 16:57:30 +0000 (16:57 +0000)]
Import of OpenBSD's strtonum(3) which is a nicer version of strtoll(3)
providing proper error checking and other improvements.

Obtained from: OpenBSD
Requested by: flz (to port Open[BGP|OSPF]D)
MFC after: 3 days

18 years agoDon't allow userland to set hardware watch points on kernel memory at all.
John Baldwin [Tue, 14 Mar 2006 16:13:55 +0000 (16:13 +0000)]
Don't allow userland to set hardware watch points on kernel memory at all.
Previously, we tried to allow this only for root.  However, we were calling
suser() on the *target* process rather than the current process.  This
means that if you can ptrace() a process running as root you can set a
hardware watch point in the kernel.  In practice I think you probably have
to be root in order to pass the p_candebug() checks in ptrace() to attach
to a process running as root anyway.  Rather than fix the suser(), I just
axed the entire idea, as I can't think of any good reason _at all_ for
userland to set hardware watch points for KVM.

MFC after: 3 days
Also thinks hardware watch points on KVM from userland are bad: bde, rwatson

18 years ago1. Count last time slice, this intends to fix
David Xu [Tue, 14 Mar 2006 04:00:21 +0000 (04:00 +0000)]
1. Count last time slice, this intends to fix
   "calcru: runtime went backwards" bug for threaded process.
2. Add comment about possible logical problem with scheduler.

MFC after: 3 days

18 years agoUpdate make glue for csup-snap-20060313.
Maxime Henrion [Tue, 14 Mar 2006 03:53:50 +0000 (03:53 +0000)]
Update make glue for csup-snap-20060313.

18 years agoThis commit was generated by cvs2svn to compensate for changes in r156701,
Maxime Henrion [Tue, 14 Mar 2006 03:51:13 +0000 (03:51 +0000)]
This commit was generated by cvs2svn to compensate for changes in r156701,
which included commits to RCS files with non-trunk default branches.

18 years agoImport the latest snapshot of csup (20060313).
Maxime Henrion [Tue, 14 Mar 2006 03:51:13 +0000 (03:51 +0000)]
Import the latest snapshot of csup (20060313).

18 years agospell pdata correctly, we now will only dump maxlen of each mbuf in the
John-Mark Gurney [Tue, 14 Mar 2006 00:22:10 +0000 (00:22 +0000)]
spell pdata correctly, we now will only dump maxlen of each mbuf in the
chain, instead of the entire mbuf...  This should probably be reworked
so that it prints at max maxlen bytes for the entire chain...

18 years agoMerge/sync with i386: various cosmetic tweaks
Peter Wemm [Tue, 14 Mar 2006 00:01:56 +0000 (00:01 +0000)]
Merge/sync with i386: various cosmetic tweaks

18 years agoMFi386: The SIGFPE macros were moved to signal.h (FPE_INTOVF etc)
Peter Wemm [Tue, 14 Mar 2006 00:01:22 +0000 (00:01 +0000)]
MFi386: The SIGFPE macros were moved to signal.h (FPE_INTOVF etc)

18 years agoFix typo
Maksim Yevmenkin [Mon, 13 Mar 2006 23:59:43 +0000 (23:59 +0000)]
Fix typo

Submitted by: Iain Hibbert < plunky at rya-online dot net >
MFC after: 3 days

18 years agoMFi386: rename pcib_devclass to hostb_devclass (cosmetic here)
Peter Wemm [Mon, 13 Mar 2006 23:58:40 +0000 (23:58 +0000)]
MFi386: rename pcib_devclass to hostb_devclass (cosmetic here)

18 years agoMFi386: add a TRAP_INTERRUPT case
Peter Wemm [Mon, 13 Mar 2006 23:56:44 +0000 (23:56 +0000)]
MFi386: add a TRAP_INTERRUPT case

18 years agoCosmetic sync with i386
Peter Wemm [Mon, 13 Mar 2006 23:55:31 +0000 (23:55 +0000)]
Cosmetic sync with i386

18 years agoWhen encountering a ISO_SUSP_CFLAG_ROOT element in Rock Ridge
Joerg Wunsch [Mon, 13 Mar 2006 22:32:33 +0000 (22:32 +0000)]
When encountering a ISO_SUSP_CFLAG_ROOT element in Rock Ridge
processing, this actually means there's a double slash recorded in the
symbolic link's path name.  We used to start over from / then, which
caused link targets like ../../bsdi.1.0/include//pathnames.h to be
interpreted as /pathnahes.h.  This is both contradictionary to our
conventional slash interpretation, as well as potentially dangerous.

The right thing to do is (obviously) to just ignore that element.

bde once pointed out that mistake when he noticed it on the
4.4BSD-Lite2 CD-ROM, and asked me for help.

Reviewed by: bde (about half a year ago)
MFC after: 3 days

18 years agoAdd the TOSHIBA TransMemory USB sticks to the list of devices that
Joerg Wunsch [Mon, 13 Mar 2006 22:26:33 +0000 (22:26 +0000)]
Add the TOSHIBA TransMemory USB sticks to the list of devices that
hate "Synchronize cache" commands.

MFC after: 1 day

18 years agoswap Bus and MAC/BBP columns.
Damien Bergamini [Mon, 13 Mar 2006 21:24:28 +0000 (21:24 +0000)]
swap Bus and MAC/BBP columns.
add more devices (RT2561S and RT2661) to the list of supported hardware.

18 years agoRemove duplicate .Pp
Damien Bergamini [Mon, 13 Mar 2006 21:00:53 +0000 (21:00 +0000)]
Remove duplicate .Pp

Submitted by: Christian Brueffer

18 years agotypo
Damien Bergamini [Mon, 13 Mar 2006 20:42:37 +0000 (20:42 +0000)]
typo

18 years agosync w/ reality.
Damien Bergamini [Mon, 13 Mar 2006 20:36:55 +0000 (20:36 +0000)]
sync w/ reality.

18 years agoDon't read channel list from EEPROM since we were already scanning all
Damien Bergamini [Mon, 13 Mar 2006 20:05:32 +0000 (20:05 +0000)]
Don't read channel list from EEPROM since we were already scanning all
802.11b channels (1-14) regardless of what EEPROM says.

18 years agoFix a typo.
Ruslan Ermilov [Mon, 13 Mar 2006 14:59:57 +0000 (14:59 +0000)]
Fix a typo.

18 years agoThe mount(8) manpage says: "In case of conflicting options being
Ruslan Ermilov [Mon, 13 Mar 2006 14:58:37 +0000 (14:58 +0000)]
The mount(8) manpage says: "In case of conflicting options being
specified, the rightmost option takes effect."  Fix code to obey
this.  This makes e.g. "mount -r /usr" or "mount -ar" actually
mount file systems read-only.

18 years agoFix build on 64-bit platforms.
Ruslan Ermilov [Mon, 13 Mar 2006 14:48:45 +0000 (14:48 +0000)]
Fix build on 64-bit platforms.

18 years agoAdd support for the JMicron JMB361, 365 and 366 chips.
Søren Schmidt [Mon, 13 Mar 2006 14:01:37 +0000 (14:01 +0000)]
Add support for the JMicron JMB361, 365 and 366 chips.

HW and documentation kindly provided by JMicron.

18 years agoPut autosense data in the right place (needs a 4pos left shift).
Søren Schmidt [Mon, 13 Mar 2006 14:00:08 +0000 (14:00 +0000)]
Put autosense data in the right place (needs a 4pos left shift).

18 years agoAdd "-q" argument to getfacl(1), which suppresses the per-file header
Robert Watson [Mon, 13 Mar 2006 11:45:29 +0000 (11:45 +0000)]
Add "-q" argument to getfacl(1), which suppresses the per-file header
comment listing the file name, owner, and group.

MFC after: 1 week
Submitted by: Jan Srzednicki <w at expro dot pl>

18 years agoRemove unused code.
David Xu [Mon, 13 Mar 2006 10:37:25 +0000 (10:37 +0000)]
Remove unused code.

18 years agoThis commit was generated by cvs2svn to compensate for changes in r156678,
Hartmut Brandt [Mon, 13 Mar 2006 09:37:22 +0000 (09:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r156678,
which included commits to RCS files with non-trunk default branches.

18 years agoVendor fix: small man fixes, fix type names u_int8_t -> uint8_t.
Hartmut Brandt [Mon, 13 Mar 2006 09:37:22 +0000 (09:37 +0000)]
Vendor fix: small man fixes, fix type names u_int8_t -> uint8_t.

18 years agoDon't import tree.h from the distribution - we have our own one in sys.
Hartmut Brandt [Mon, 13 Mar 2006 09:30:26 +0000 (09:30 +0000)]
Don't import tree.h from the distribution - we have our own one in sys.

18 years agoThere has been a shared libdisk for a couple of days until it was reverted
Hartmut Brandt [Mon, 13 Mar 2006 09:28:46 +0000 (09:28 +0000)]
There has been a shared libdisk for a couple of days until it was reverted
back to be static-only in january. For this period libdisk was used by
the HOSTRES module for bsnmp which was then rewritten to use libgeom. The
only other consumer of libdisk is sysinstall so removing the shared library
should be safe.

18 years agoSilence some warnings by defining configuration preprocessor symbols.
Hartmut Brandt [Mon, 13 Mar 2006 09:23:51 +0000 (09:23 +0000)]
Silence some warnings by defining configuration preprocessor symbols.

18 years agoFix the format/display descriptor of vm.kmem_size and vm.kmem_free
Paul Saab [Mon, 13 Mar 2006 08:13:37 +0000 (08:13 +0000)]
Fix the format/display descriptor of vm.kmem_size and vm.kmem_free
to be 'long' instead of 'int' so that sysctl(8) correctly displays
the 8 returned bytes as a single 'long' instead of two 'int' values.

Submitted by: peter

18 years agoQuote ${CC} when passing it in environment.
Ruslan Ermilov [Mon, 13 Mar 2006 06:38:22 +0000 (06:38 +0000)]
Quote ${CC} when passing it in environment.

Submitted by: bde

18 years agons_name_skip was recently redefined to __ns_name_skip
Daniel Eischen [Mon, 13 Mar 2006 04:49:40 +0000 (04:49 +0000)]
ns_name_skip was recently redefined to __ns_name_skip
like the others in <include/arpa/nameser.h>.

Submitted by: ume

18 years agoMake _spinunlock() point to the spinunlock stub, not the
Daniel Eischen [Mon, 13 Mar 2006 01:17:39 +0000 (01:17 +0000)]
Make _spinunlock() point to the spinunlock stub, not the
spinlock stub.

18 years agoAdd each directory's symbol map file to SYM_MAPS.
Daniel Eischen [Mon, 13 Mar 2006 01:15:01 +0000 (01:15 +0000)]
Add each directory's symbol map file to SYM_MAPS.

18 years ago- Reimplement I/O data allocation to prevent deadlocks.
Pawel Jakub Dawidek [Mon, 13 Mar 2006 01:03:18 +0000 (01:03 +0000)]
- Reimplement I/O data allocation to prevent deadlocks.

Submitted by: green

- Speed up synchronization process by using configurable number of I/O
  requests in parallel.
  + Add kern.geom.raid3.sync_requests tunable which defines how many parallel
    I/O requests should be used.
  + Retire kern.geom.raid3.reqs_per_sync and kern.geom.raid3.syncs_per_sec
    sysctls.
- Fix race between regular and synchronization requests.
- Reimplement raid3's data synchronization - do not use the topology lock
  for this purpose, as it may case deadlocks.
- Stop synchronization from pre-sync hook.
- Fix some other minor issues.

Tested by: Mike Tancsa <mike@sentex.net>
MFC after: 3 days

18 years agoAdd compatibility symbol maps. libpthread (.so.1 and .so.2)
Daniel Eischen [Mon, 13 Mar 2006 00:59:51 +0000 (00:59 +0000)]
Add compatibility symbol maps.  libpthread (.so.1 and .so.2)
used LIBTHREAD_1_0 as its version definition, but now needs
to define its symbols in the same namespace used by libc.
The compatibility hooks allows you to use libraries and
binaries built and linked to libpthread before libc was
built with symbol versioning.  The shims can be removed if
libpthread is given a version bump.

Reviewed by: davidxu

18 years ago- Speed up synchronization process by using configurable number of I/O
Pawel Jakub Dawidek [Mon, 13 Mar 2006 00:58:41 +0000 (00:58 +0000)]
- Speed up synchronization process by using configurable number of I/O
  requests in parallel.
  + Add kern.geom.mirror.sync_requests tunable which defines how many parallel
    I/O requests should be used.
  + Retire kern.geom.mirror.reqs_per_sync and kern.geom.mirror.syncs_per_sec
    sysctls.
- Fix race between regular and synchronization requests.
- Reimplement mirror's data synchronization - do not use the topology lock
  for this purpose, as it may case deadlocks.
- Stop synchronization from pre-sync hook.
- Fix some other minor issues.

MFC after: 3 days

18 years agoAdd hooks to build libc with symbol versioning. This is
Daniel Eischen [Mon, 13 Mar 2006 00:56:02 +0000 (00:56 +0000)]
Add hooks to build libc with symbol versioning.  This is
disabled by default; add SYMVER_ENABLED=true to /etc/make.conf
to enable it.  libc should get a version bump before this is
enabled by default.

Reviewed by: davidxu

18 years agoAdd symbol maps and initial symbol version definitions to libc.
Daniel Eischen [Mon, 13 Mar 2006 00:53:21 +0000 (00:53 +0000)]
Add symbol maps and initial symbol version definitions to libc.

Reviewed by: davidxu

18 years agoAdd macros for generating symbol version assembler opcodes.
Daniel Eischen [Mon, 13 Mar 2006 00:49:28 +0000 (00:49 +0000)]
Add macros for generating symbol version assembler opcodes.

18 years agoRemove non-FreeBSD source from FreeBSD repository.
Tim Kientzle [Sun, 12 Mar 2006 19:55:02 +0000 (19:55 +0000)]
Remove non-FreeBSD source from FreeBSD repository.

18 years agoRemove automake source from FreeBSD tree.
Tim Kientzle [Sun, 12 Mar 2006 19:54:34 +0000 (19:54 +0000)]
Remove automake source from FreeBSD tree.

18 years agoremove depedancy with vnode_if.h.
Damien Bergamini [Sun, 12 Mar 2006 19:06:06 +0000 (19:06 +0000)]
remove depedancy with vnode_if.h.
it is no longer needed.

18 years agosync w/ iwi:
Damien Bergamini [Sun, 12 Mar 2006 19:01:00 +0000 (19:01 +0000)]
sync w/ iwi:
o fix locking
o use firmware(9)
o cosmetic

18 years agoo don't use '-' characters in firmware names
Damien Bergamini [Sun, 12 Mar 2006 18:54:40 +0000 (18:54 +0000)]
o don't use '-' characters in firmware names
o call firmware_put() early to release the firmware module
o on firmware panics or watchdog timeouts, schedule a task to reinitialize
  the interface (we may sleep in iwi_init())
o discard oversized rx frames

18 years agoRemove comment that does not appy to FreeBSD.
Andre Oppermann [Sun, 12 Mar 2006 15:34:33 +0000 (15:34 +0000)]
Remove comment that does not appy to FreeBSD.

18 years agoImport of OpenBSD's sys/sys/hash.h providing generic 32bit hash functions.
Andre Oppermann [Sun, 12 Mar 2006 15:33:19 +0000 (15:33 +0000)]
Import of OpenBSD's sys/sys/hash.h providing generic 32bit hash functions.

Requested by: flz (to port Open[BGP|OSPF]D)
MFC after: 3 days

18 years agoThere is no IFF_POLLING flag anymore.
Gleb Smirnoff [Sun, 12 Mar 2006 14:00:15 +0000 (14:00 +0000)]
There is no IFF_POLLING flag anymore.

18 years agoFlush stdout after printing name of created device, so it can be properly
Pawel Jakub Dawidek [Sun, 12 Mar 2006 09:27:51 +0000 (09:27 +0000)]
Flush stdout after printing name of created device, so it can be properly
read when 'ggatec create' is used in backticks or its output is piped to
another command.

Submitted by: Paul Schenkeveld
MFC after: 3 days

18 years ago - Remove the call to softdep_waitidle after suspending the filesystem.
Jeff Roberson [Sun, 12 Mar 2006 05:26:12 +0000 (05:26 +0000)]
 - Remove the call to softdep_waitidle after suspending the filesystem.
   This does not do what I wanted as all dirty buffers must be flushed
   by the call to ffs_sync and any remaining dependency work would mean
   that this failed.

Pointed out by: tegge

18 years ago - Force commit to give this the correct message; Lock giant when required
Jeff Roberson [Sun, 12 Mar 2006 05:25:16 +0000 (05:25 +0000)]
 - Force commit to give this the correct message;  Lock giant when required
   in softdep_flush().

Found by: kris
Sponsored by: Isilon Systems, Inc.

18 years ago - Remove the call to softdep_waitidle after suspending the filesystem.
Jeff Roberson [Sun, 12 Mar 2006 05:24:14 +0000 (05:24 +0000)]
 - Remove the call to softdep_waitidle after suspending the filesystem.
   This does not do what I wanted as all dirty buffers must be flushed
   by the call to ffs_sync and any remaining dependency work would mean
   that this failed.

Pointed out by: tegge

18 years ago - Reorder vrele calls after vput calls to prevent lock order reversals
Jeff Roberson [Sun, 12 Mar 2006 04:59:04 +0000 (04:59 +0000)]
 - Reorder vrele calls after vput calls to prevent lock order reversals
   between leaf and directory locks.

Found by: kris
Sponsored by: Isilon Systems, Inc.

18 years ago - Define a null_getwritemount to get the mount-point for the lower
Jeff Roberson [Sun, 12 Mar 2006 04:58:18 +0000 (04:58 +0000)]
 - Define a null_getwritemount to get the mount-point for the lower
   filesystem so that nullfs doesn't permit you to circumvent snapshots.

Discussed with: tegge
Sponsored by: Isilon Systems, Inc.

18 years agoThe idea of supporting 'tp' was a fun one, but it is
Tim Kientzle [Sat, 11 Mar 2006 23:59:44 +0000 (23:59 +0000)]
The idea of supporting 'tp' was a fun one, but it is
really not worth the effort to develop and maintain
support for a format that hasn't been used for 30 years. ;-/

18 years agouse the same test as release/Makefile to select WITH_SMP
Sam Leffler [Sat, 11 Mar 2006 19:00:05 +0000 (19:00 +0000)]
use the same test as release/Makefile to select WITH_SMP

Reviewed by: ru

18 years agofix handling of default kernels
Sam Leffler [Sat, 11 Mar 2006 18:59:16 +0000 (18:59 +0000)]
fix handling of default kernels

Reviewed by: ru

18 years agoMake sure that we are adding a path token to the audit record in open(2).
Christian S.J. Peron [Sat, 11 Mar 2006 17:14:05 +0000 (17:14 +0000)]
Make sure that we are adding a path token to the audit record in open(2).
Do this by making sure we are using the AUDITVNODE1 mask in the namei flags.

Obtained from: TrustedBSD Project

18 years agoDon't be noisy in case of shared interrupts.
Poul-Henning Kamp [Sat, 11 Mar 2006 15:39:22 +0000 (15:39 +0000)]
Don't be noisy in case of shared interrupts.

18 years agoadd dependency with firmware module.
Damien Bergamini [Sat, 11 Mar 2006 13:30:21 +0000 (13:30 +0000)]
add dependency with firmware module.
pointed out by Martin Wilke.

18 years agoGo over calcru and friends once more.
Poul-Henning Kamp [Sat, 11 Mar 2006 10:48:19 +0000 (10:48 +0000)]
Go over calcru and friends once more.

Reintroduce the monotonicity for the normal case and make the two
special cases behave in what is belived to be the most sensible fasion.

18 years agoRemove last traces of disk_enumerate()
Poul-Henning Kamp [Sat, 11 Mar 2006 10:24:50 +0000 (10:24 +0000)]
Remove last traces of disk_enumerate()

18 years agoFix "make distribution" when just NO_CRYPT is defined.
Ruslan Ermilov [Sat, 11 Mar 2006 08:51:16 +0000 (08:51 +0000)]
Fix "make distribution" when just NO_CRYPT is defined.

PR: misc/94309
Submitted by: Matthias Lederhofer
MFC after: 3 days

18 years agoRemove debug flag.
Søren Schmidt [Sat, 11 Mar 2006 08:42:08 +0000 (08:42 +0000)]
Remove debug flag.

Spotted by: ru@

18 years agoFix build.
Ruslan Ermilov [Sat, 11 Mar 2006 08:36:15 +0000 (08:36 +0000)]
Fix build.

18 years agoBlock secondary writes while expunging active unlinked files.
Tor Egge [Sat, 11 Mar 2006 01:08:37 +0000 (01:08 +0000)]
Block secondary writes while expunging active unlinked files.

Fix detection of active unlinked files by checking VI_OWEINACT and
VI_DOINGINACT in addition to v_usecount.

Defer inactive handling for unlinked files if the file system is mostly
suspended (secondary writes being blocked).

Perform deferred inactive handling after the file system is resumed.

18 years agoFix multicast support for cs89x0 chips. Just setting the RX_MULTCAST_ACCEPT
Philip Paeps [Fri, 10 Mar 2006 23:50:53 +0000 (23:50 +0000)]
Fix multicast support for cs89x0 chips.  Just setting the RX_MULTCAST_ACCEPT
flag isn't enough - the filter needs to be set up too, or no multicast frames
are accepted.

Sponsored by: Philips Industrial Applications (indirectly)
MFC after: 3 days

18 years agoMicro-optimize invalid UUID check.
Jung-uk Kim [Fri, 10 Mar 2006 23:33:27 +0000 (23:33 +0000)]
Micro-optimize invalid UUID check.

18 years agoo acknowledge interrupts early in the interrupt handler
Damien Bergamini [Fri, 10 Mar 2006 20:35:09 +0000 (20:35 +0000)]
o acknowledge interrupts early in the interrupt handler
o stop processing interrupts after a firmware fatal error or a radio kill
o clarify the possible values for the 'antenna' sysctl.
o by default, let the firmware do antenna diversity.
  the  firmware will periodically switch to another antenna to evaluate the
  signal quality.

18 years agomake use of the firmware(9) subsystem.
Damien Bergamini [Fri, 10 Mar 2006 19:59:09 +0000 (19:59 +0000)]
make use of the firmware(9) subsystem.
use intel's firmware version 3.0 layout.

18 years agoAdd atausb module
Søren Schmidt [Fri, 10 Mar 2006 19:15:20 +0000 (19:15 +0000)]
Add atausb module

18 years agoAdd "device atausb"
Søren Schmidt [Fri, 10 Mar 2006 19:10:05 +0000 (19:10 +0000)]
Add "device atausb"

18 years agoModule that adds support for using USB storage devices through the
Søren Schmidt [Fri, 10 Mar 2006 19:08:52 +0000 (19:08 +0000)]
Module that adds support for using USB storage devices through the
ATA framework. Mainly written to be able to use USB Flash keys.
This is work in progress so use with care :)
Doesn't need CAM and cannot coexist with umass.c

18 years agofix the locking.
Damien Bergamini [Fri, 10 Mar 2006 18:55:30 +0000 (18:55 +0000)]
fix the locking.

18 years agoAdd note about 'audit' group.
Warner Losh [Fri, 10 Mar 2006 18:40:31 +0000 (18:40 +0000)]
Add note about 'audit' group.
Add note about the '_dhcp' user.

While one is expected to run mergemaster -p before installworld, make
a note of the points where this will actively fail due to the addition of
users/groups.

18 years agoUse .Cm for all key words, not just the ones I added. More in line with
Tom Rhodes [Fri, 10 Mar 2006 12:37:19 +0000 (12:37 +0000)]
Use .Cm for all key words, not just the ones I added.  More in line with
mdoc(7) according to ru.

Requested by: ru

18 years agowrite the right unit # on verbose output.
Søren Schmidt [Fri, 10 Mar 2006 12:20:53 +0000 (12:20 +0000)]
write the right unit # on verbose output.

18 years agoDisable an SMP detection on pc98.
Yoshihiro Takahashi [Fri, 10 Mar 2006 12:18:41 +0000 (12:18 +0000)]
Disable an SMP detection on pc98.

18 years agoHopefully fix all nearby style bugs that Bruce has mentioned.
Ruslan Ermilov [Fri, 10 Mar 2006 11:07:39 +0000 (11:07 +0000)]
Hopefully fix all nearby style bugs that Bruce has mentioned.

18 years ago- Fix variable assignment to be portable.
Ruslan Ermilov [Fri, 10 Mar 2006 11:00:11 +0000 (11:00 +0000)]
- Fix variable assignment to be portable.
- "Line up" continuations.

Submitted by: bde

18 years agoAdd entries for new pthread stubs.
David Xu [Fri, 10 Mar 2006 09:58:18 +0000 (09:58 +0000)]
Add entries for new pthread stubs.

18 years agoBlock all signals in helper threads except those should not be blocked.
David Xu [Fri, 10 Mar 2006 08:01:23 +0000 (08:01 +0000)]
Block all signals in helper threads except those should not be blocked.

18 years agoRemove including of libc sources. All the required functions
Daniel Eischen [Fri, 10 Mar 2006 07:58:02 +0000 (07:58 +0000)]
Remove including of libc sources.  All the required functions
are exported by libc with prototypes in our standard headers.
I guess at one time this was necessary, but not any longer.

18 years agoWhen inserting a new component md_provsize metadata field wasn't set, which
Pawel Jakub Dawidek [Fri, 10 Mar 2006 07:41:31 +0000 (07:41 +0000)]
When inserting a new component md_provsize metadata field wasn't set, which
means that old problem was triggered (when two providers end at the same
offset, eg. ad0 and ad0s1 and the wrong was is picked up by gmirror/graid3).

Reported by: Michal Suszko <dry@dry.pl>
MFC after: 3 days

18 years agofix switching between agressive and non-agressive wmm modes
Sam Leffler [Fri, 10 Mar 2006 06:18:03 +0000 (06:18 +0000)]
fix switching between agressive and non-agressive wmm modes

Obtained from: atheros
MFC after: 3 days

18 years agoIt is not necessary to read %gs twice.
David Xu [Fri, 10 Mar 2006 05:55:26 +0000 (05:55 +0000)]
It is not necessary to read %gs twice.

18 years agoFix stack offset to allow gcc's stack aligment code to work correctly.
David Xu [Fri, 10 Mar 2006 02:54:45 +0000 (02:54 +0000)]
Fix stack offset to allow gcc's stack aligment code to work correctly.

MFC after: 3 days

18 years agoRemove unneeded (and broken) usage of MNT_REF()/MNT_REL().
Tor Egge [Fri, 10 Mar 2006 02:31:12 +0000 (02:31 +0000)]
Remove unneeded (and broken) usage of MNT_REF()/MNT_REL().

18 years agoMFp4: Forget the asm inlined version of in_cksum_hdr(). It doesn't work if
Olivier Houchard [Thu, 9 Mar 2006 23:33:59 +0000 (23:33 +0000)]
MFp4: Forget the asm inlined version of in_cksum_hdr(). It doesn't work if
the pointer is unaligned, and it just doesn't worth it.

18 years ago- Implement serial numbers, UUID, and asset tag (turned off by default).
Jung-uk Kim [Thu, 9 Mar 2006 22:49:44 +0000 (22:49 +0000)]
- Implement serial numbers, UUID, and asset tag (turned off by default).
Use 'BOOT_SENSITIVE_INFO=YES' variable to turn them on.
- Use 'uint*_t' instead of 'u_int*_t', correct compilation warnings, and
update copyright while I am here.