]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoFix 32-bit PTE in the GART table.
Jung-uk Kim [Mon, 9 Oct 2006 20:24:49 +0000 (20:24 +0000)]
Fix 32-bit PTE in the GART table.

Noticed by: jmg

17 years agoPatch in previous commit should have bumped doc date.
Tom Rhodes [Mon, 9 Oct 2006 19:53:00 +0000 (19:53 +0000)]
Patch in previous commit should have bumped doc date.
Fix spelling of ioctl.
Note that previous commit was actually submitted by bz.  I'm not yet used
to the code boxes yet.

Noticed by: ru

17 years agoDon't go beyond the provided string when parsing the `\' character.
Ruslan Ermilov [Mon, 9 Oct 2006 19:37:26 +0000 (19:37 +0000)]
Don't go beyond the provided string when parsing the `\' character.

PR: bin/99985
Submitted by: Nate Eldredge
MFC after: 3 days

17 years agoThe SIOCSIFNETMASK ioctl was removed from tun.c, thus remove mention of
Tom Rhodes [Mon, 9 Oct 2006 19:20:53 +0000 (19:20 +0000)]
The SIOCSIFNETMASK ioctl was removed from tun.c, thus remove mention of
it in the tun.4 manual page.

PR: 98541
Submitted by: David Gilbert

17 years agoBetter mdoc(7). Bump doc date.
Tom Rhodes [Mon, 9 Oct 2006 19:01:02 +0000 (19:01 +0000)]
Better mdoc(7).  Bump doc date.

Kicked by: ru

17 years agoNote the naming convention of files in share/skel and explain the "dot"
Tom Rhodes [Mon, 9 Oct 2006 17:57:40 +0000 (17:57 +0000)]
Note the naming convention of files in share/skel and explain the "dot"
prefix is removed.

PR: 103828

17 years agoPrevent mountd(8) from resetting mount options when exporting a filesystem.
Rink Springer [Mon, 9 Oct 2006 17:38:18 +0000 (17:38 +0000)]
Prevent mountd(8) from resetting mount options when exporting a filesystem.

Approved by: imp (mentor)
Sponsored by: Quality Service Provider BV
MFC after: 3 days

17 years agoprovide routines to access VPD data at the PCI layer...
John-Mark Gurney [Mon, 9 Oct 2006 16:15:56 +0000 (16:15 +0000)]
provide routines to access VPD data at the PCI layer...

remove sk's own implementation, and use the new calls to get the data...

Reviewed by: -arch

17 years agoFix markup.
Ruslan Ermilov [Mon, 9 Oct 2006 15:21:50 +0000 (15:21 +0000)]
Fix markup.

17 years agoAdd more .Xr's.
Ceri Davies [Mon, 9 Oct 2006 12:50:16 +0000 (12:50 +0000)]
Add more .Xr's.

MFC after: 6 days

17 years agomore sun4v fallout - missed add
Kip Macy [Mon, 9 Oct 2006 07:00:59 +0000 (07:00 +0000)]
more sun4v fallout - missed add
Approved by: rwatson (mentor)

17 years agoo Grammar.
Maxim Konovalov [Mon, 9 Oct 2006 06:47:08 +0000 (06:47 +0000)]
o Grammar.

Submitted by: kris

17 years agounbreak buildkernel for sparc64 - fallout from sun4v
Kip Macy [Mon, 9 Oct 2006 06:08:24 +0000 (06:08 +0000)]
unbreak buildkernel for sparc64 - fallout from sun4v

Approved by: rwatson (mentor)
Reviewed by: jmg

17 years agounbreak sparc64 loader build
Kip Macy [Mon, 9 Oct 2006 05:59:04 +0000 (05:59 +0000)]
unbreak sparc64 loader build
re-add accidentally deleted asi value
remove sun4v only header include

Approved by: rwatson (mentor)
Reviewed by: jmg

17 years agoo Enable test-sparceaout test since alc@ has fixed the panic in rev. 1.229
Maxim Konovalov [Mon, 9 Oct 2006 05:31:37 +0000 (05:31 +0000)]
o Enable test-sparceaout test since alc@ has fixed the panic in rev. 1.229
sys/vm/vnode_pager.c.
cVS: ----------------------------------------------------------------------

17 years agounbreak build for sparc64 etc.
Kip Macy [Mon, 9 Oct 2006 05:12:54 +0000 (05:12 +0000)]
unbreak build for sparc64 etc.
TARGET won't be defined on non subarches

Approved by: rwatson (mentor)
Reviewed by: jmg

17 years agobuildworld fixes for sun4v
Kip Macy [Mon, 9 Oct 2006 04:58:45 +0000 (04:58 +0000)]
buildworld fixes for sun4v
not sure why pmap.c is included as it is unchanged

Approved by: rwatson (mentor)
Reviewed by: jmg

17 years agoTemporarily add newer copy of tc-sparc.c to build to
Kip Macy [Mon, 9 Oct 2006 04:52:14 +0000 (04:52 +0000)]
Temporarily add newer copy of tc-sparc.c to build to
support building of sun4v. This can be removed once
the binutils import happens.

Reviewed by: kan
Approved by: rwatson (mentor)

17 years agokernel clean up to make the sun4v kernel build
Kip Macy [Mon, 9 Oct 2006 04:45:19 +0000 (04:45 +0000)]
kernel clean up to make the sun4v kernel build

Reviewed by: jmg
Approved by: rwatson (mentor)

17 years agoadd sun4v support to the sparc64 boot loader
Kip Macy [Mon, 9 Oct 2006 04:43:07 +0000 (04:43 +0000)]
add sun4v support to the sparc64 boot loader

Approved by: rwatson (mentor)
Reviewed by: jmg
Tested by: kris, dwhite, and jmg

17 years agoAdd a tip on "how to strip UTF-8 BOM"
Chin-San Huang [Mon, 9 Oct 2006 04:11:34 +0000 (04:11 +0000)]
Add a tip on "how to strip UTF-8 BOM"

Approved by: delphij (mentor)

17 years agoDocument new aliases `b', `t' and `registers'. Document old aliases
Bruce Evans [Mon, 9 Oct 2006 02:27:55 +0000 (02:27 +0000)]
Document new aliases `b', `t' and `registers'.  Document old aliases
`bt', `c', `d', `p', `s', `w' and `where'.

17 years agoUse LIST_FOREACH_SAFE instead of a hand rolled version.
Andrew Thompson [Mon, 9 Oct 2006 00:49:57 +0000 (00:49 +0000)]
Use LIST_FOREACH_SAFE instead of a hand rolled version.

17 years agoWhen using sysinstall on a running system and editing a disk label
Ceri Davies [Sun, 8 Oct 2006 21:16:00 +0000 (21:16 +0000)]
When using sysinstall on a running system and editing a disk label
fails, suggest setting kern.geom.debugflags to 16.

PR: bin/94409
Submitted by: Markus Oestreicher <m punkt oe at x dash trader dot de>
MFC after: 10 days

17 years agoChange vnode_pager_generic_getpages() so that it does not panic if the
Alan Cox [Sun, 8 Oct 2006 20:26:16 +0000 (20:26 +0000)]
Change vnode_pager_generic_getpages() so that it does not panic if the
given file is sparse.  Instead, it zeroes the requested page.

Reviewed by: tegge
PR: kern/98116
MFC after: 3 days

17 years agoUpdate the list of codecs as well...
Joel Dahl [Sun, 8 Oct 2006 19:57:53 +0000 (19:57 +0000)]
Update the list of codecs as well...

17 years agoUpdate list of supported hardware.
Joel Dahl [Sun, 8 Oct 2006 19:41:37 +0000 (19:41 +0000)]
Update list of supported hardware.

17 years ago- Note that the bridge uses a random MAC and can be overridden.
Andrew Thompson [Sun, 8 Oct 2006 19:41:05 +0000 (19:41 +0000)]
- Note that the bridge uses a random MAC and can be overridden.
- Provide an example of assigning an IP to the bridge.

PR: kern/102607
Submitted by: Stefan Bethke <stb@lassitu.de>
MFC after: 3 days

17 years agoAdded few more pci ids for Intel, ATI, NVidia, VIA and SiS.
Ariff Abdullah [Sun, 8 Oct 2006 18:51:58 +0000 (18:51 +0000)]
Added few more pci ids for Intel, ATI, NVidia, VIA and SiS.

17 years agoAdded some aliases:
Bruce Evans [Sun, 8 Oct 2006 18:37:00 +0000 (18:37 +0000)]
Added some aliases:
- `b' is now an official alias for `break'.  It used to be an unofficial
  alias, but this was broken by adding the `bt' alias for `trace'.
- `t' is now an official alias for `trace'.  It used to be an unofficial
  alias, but this was broken by adding the `thread' command.
- `registers' is now an alias for `show registers'.  This is a hack to
  break the unofficial `r' alias for `reset'.  `r' really means
  `registers' in some debuggers, so I sometimes type it accidentally and
  am annoyed when it resets the system.  A short command shouldn't have
  such a large effect.  Now at least `res' must be typed to disambiguate
  `reset'.

17 years agoFixed formatting of printing of command tables. WIth the default max
Bruce Evans [Sun, 8 Oct 2006 18:15:08 +0000 (18:15 +0000)]
Fixed formatting of printing of command tables.  WIth the default max
output width of 79, only 6 columns of width 12 each fit, but 7 columns
were printed.

The fix is to pass the width of the next output to db_end_line() and
not assume there that this width is always 1.

Related unfixed bugs:
- 1 character is wasted for a space after the last column
- suppression of trailing spaces used to limit the misformatting, but
  seems to have been lost
- in db_examine(), the width of the next output is not know and is
  still assumed to be 1.

17 years agoRemove unnecessary test case. (As written, that branch will never
Alexander Leidinger [Sun, 8 Oct 2006 17:13:54 +0000 (17:13 +0000)]
Remove unnecessary test case.  (As written, that branch will never
be followed.)

Submitted by: ryanb
Found with: Coverity Prevent
CID: 239860

17 years ago- change if (cond) panic() to KASSERT.
Alexander Leidinger [Sun, 8 Oct 2006 17:10:34 +0000 (17:10 +0000)]
- change if (cond) panic() to KASSERT.
- Dont forget to free em in a case of error.

Suggested by: ssouhlal
Submitted by: rdivacky
Tested with: LTP

17 years ago- Replace homegrown check for FIFO with S_ISFIFO. [1]
Alexander Leidinger [Sun, 8 Oct 2006 17:08:27 +0000 (17:08 +0000)]
- Replace homegrown check for FIFO with S_ISFIFO. [1]
- Check the status of the options before messing with it.

Inspired by: NetBSD [1]
Submitted by: rdivacky
Tested with: LTP

17 years agoAdd a basic manpage for geom_uzip(4).
Ceri Davies [Sun, 8 Oct 2006 17:05:15 +0000 (17:05 +0000)]
Add a basic manpage for geom_uzip(4).

Reviewed by: trhodes
MFC after: 1 week

17 years agoImplement /proc/sys/kernel/pid_max.
Alexander Leidinger [Sun, 8 Oct 2006 16:55:27 +0000 (16:55 +0000)]
Implement /proc/sys/kernel/pid_max.

Submitted by: rdivacky
Tested with: LTP

17 years agoFix a regression: let natd load libalias modules before /usr is mounted
Paolo Pisati [Sun, 8 Oct 2006 14:02:00 +0000 (14:02 +0000)]
Fix a regression: let natd load libalias modules before /usr is mounted
renaming /lib/libalias_*.so.4 to /lib/libalias_*.so.

Approved by: glebius
Reviewed by: glebius, ru

17 years agoVarious mdoc and grammar fixes.
Paolo Pisati [Sun, 8 Oct 2006 13:53:45 +0000 (13:53 +0000)]
Various mdoc and grammar fixes.

Approved by: glebius
Reviewed by: glebius, ru

17 years agoSort libalias files.
Paolo Pisati [Sun, 8 Oct 2006 13:51:27 +0000 (13:51 +0000)]
Sort libalias files.

Approved by: glebius
Reviewed by: glebius, ru

17 years agoUpdate the list of POSIX extensions.
Ceri Davies [Sun, 8 Oct 2006 10:31:44 +0000 (10:31 +0000)]
Update the list of POSIX extensions.

PR: docs/103859
Submitted by: shaun
MFC after: 1 week

17 years agoAdd missing PCI ID for the acer m5288
Søren Schmidt [Sun, 8 Oct 2006 09:58:00 +0000 (09:58 +0000)]
Add missing PCI ID for the acer m5288

17 years agoFix TLS on sparc64 for statically and dynamically linked binaries
Kip Macy [Sun, 8 Oct 2006 02:50:34 +0000 (02:50 +0000)]
Fix TLS on sparc64 for statically and dynamically linked binaries
Approved by: rwatson (mentor)
Reviewed by: jmg and marcel

17 years agoNew release note: SA-06:22.openssh.
Bruce A. Mah [Sun, 8 Oct 2006 00:22:20 +0000 (00:22 +0000)]
New release note:  SA-06:22.openssh.

17 years agoProperly separate sentences by adding a semi-colon.
Tom Rhodes [Sat, 7 Oct 2006 23:12:19 +0000 (23:12 +0000)]
Properly separate sentences by adding a semi-colon.

Hinted by: bmah

17 years agoMake -r a synonym for -R, similar to behavior on Linux while being backwards
Tom Rhodes [Sat, 7 Oct 2006 22:14:43 +0000 (22:14 +0000)]
Make -r a synonym for -R, similar to behavior on Linux while being backwards
compatible with old -r behavior with regards to -L.  You can now copy fifos
and other special files with -r.

Reviewed by: -standards (long ago), das, bde
Approved by: bde (recently)

17 years agogetenv.3: Put "is" on a line with other words
Tom Rhodes [Sat, 7 Oct 2006 21:27:21 +0000 (21:27 +0000)]
getenv.3: Put "is" on a line with other words
getobjformat.3: "takes precedence over" is not an envrionment variable.

PR: 75545
Submitted by: n-kogane@syd.odn.ne.jp
MFC after: 3 days

17 years agoflesh out the devd.conf man page... Mostly from the PR, but did a couple
John-Mark Gurney [Sat, 7 Oct 2006 21:15:40 +0000 (21:15 +0000)]
flesh out the devd.conf man page...  Mostly from the PR, but did a couple
gramatical tweaks along w/ sorting the list, and adding that serial is
available for USB....

PR: 85097
Submitted by: Fredrik Lindberg
MFC after: 1 week

17 years agoAdd a USB umass(4) quirk for Panasonic KXL-840AN CD-R drive.
Florent Thoumie [Sat, 7 Oct 2006 20:08:37 +0000 (20:08 +0000)]
Add a USB umass(4) quirk for Panasonic KXL-840AN CD-R drive.

PR: usb/81073
Submitted by: James E. Flemer <jflemer@alum.rpi.edu>
MFC after: 3 days

17 years agoAdd a USB quirk for CMOTECH CDMA USB modem.
Florent Thoumie [Sat, 7 Oct 2006 19:42:45 +0000 (19:42 +0000)]
Add a USB quirk for CMOTECH CDMA USB modem.

PR: usb/97948
Submitted by: Alexei Volkov <kot@kotzone.ru>
MFC after: 3 days

17 years agoAdd a USB quirk for Motorola A41x/V32x USB phones.
Florent Thoumie [Sat, 7 Oct 2006 19:27:53 +0000 (19:27 +0000)]
Add a USB quirk for Motorola A41x/V32x USB phones.

PR: usb/97512
Submitted by: Mark Diekhans <markd@kermodei.com>
MFC after: 3 days

17 years agoShuffle _*_libs assigments (no functional changes).
Ruslan Ermilov [Sat, 7 Oct 2006 19:26:46 +0000 (19:26 +0000)]
Shuffle _*_libs assigments (no functional changes).

17 years agoAdd a SCSI da(4) quirk for Rekam USB Camera.
Florent Thoumie [Sat, 7 Oct 2006 19:04:23 +0000 (19:04 +0000)]
Add a SCSI da(4) quirk for Rekam USB Camera.

PR: usb/98713
Submitted by: Alex <goo@t72.ru>
MFC after: 3 days

17 years ago- Prebuild libgssapi only if building with Kerberos support.
Ruslan Ermilov [Sat, 7 Oct 2006 18:34:08 +0000 (18:34 +0000)]
- Prebuild libgssapi only if building with Kerberos support.

- Remove libnetgraph from the list of prebuilt libraries as
  no other library depends on it (snmp_netgraph.so does not
  count as we don't build it in the "libraries" target).

- Restore libssh dependencies when compiling with Kerberos
  support.

17 years agoAdd SCSI da(4) quirk for the iRiver H10.
Florent Thoumie [Sat, 7 Oct 2006 18:28:55 +0000 (18:28 +0000)]
Add SCSI da(4) quirk for the iRiver H10.

PR: usb/102547
Submitted by: Sven Esbjerg <freebsd-pr@xbsd.net>
MFC after: 3 days

17 years agoAdd support for Novatech NV902 wireless NIC in ural(4).
Florent Thoumie [Sat, 7 Oct 2006 18:18:40 +0000 (18:18 +0000)]
Add support for Novatech NV902 wireless NIC in ural(4).

PR: usb/102852
Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org>
MFC after: 3 days

17 years agoAdd support for Epson Stylus CX4200 in uscanner(4).
Florent Thoumie [Sat, 7 Oct 2006 18:09:27 +0000 (18:09 +0000)]
Add support for Epson Stylus CX4200 in uscanner(4).

PR: usb/102851
Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org>
MFC after: 3 days

17 years agoAdd support for Psion Gold Port Ethernet USB NIC.
Florent Thoumie [Sat, 7 Oct 2006 18:03:39 +0000 (18:03 +0000)]
Add support for Psion Gold Port Ethernet USB NIC.

PR: usb/102296
Submitted by: Volker <volker@vwsoft.com>
MFC after: 3 days

17 years agoAdd support for Netgear FA101 ethernet USB NIC.
Florent Thoumie [Sat, 7 Oct 2006 17:58:50 +0000 (17:58 +0000)]
Add support for Netgear FA101 ethernet USB NIC.

PR: usb/102286
Submitted by: Volker <volker@vwsoft.com>
MFC after: 3 days

17 years agoAdd a quirk for the Belkin FC6550-AVR UPS.
Florent Thoumie [Sat, 7 Oct 2006 17:47:16 +0000 (17:47 +0000)]
Add a quirk for the Belkin FC6550-AVR UPS.

PR: usb/102260
Submitted by: David Grochowski <grocho98@students.rowan.edu>
MFC after: 3 days

17 years agoAdd support for Familiar Linux powered iPaq handhelds to cdce(4).
Florent Thoumie [Sat, 7 Oct 2006 17:35:37 +0000 (17:35 +0000)]
Add support for Familiar Linux powered iPaq handhelds to cdce(4).

PR: usb/103865
Submitted by: Alexey Roslyakov <internetworking@mail.ru>
MFC after: 3 days

17 years agoFix static compilation.
Ruslan Ermilov [Sat, 7 Oct 2006 17:32:05 +0000 (17:32 +0000)]
Fix static compilation.

17 years agoAdd quirk for Logitech iFeel MouseMan USB mouse.
Florent Thoumie [Sat, 7 Oct 2006 17:16:48 +0000 (17:16 +0000)]
Add quirk for Logitech iFeel MouseMan USB mouse.

PR: usb/101066
Submitted by: Heiko Przybyl <zuxez@uni.de>
MFC after: 3 days

17 years agoDe-capitalize days and months' names.
Florent Thoumie [Sat, 7 Oct 2006 17:04:23 +0000 (17:04 +0000)]
De-capitalize days and months' names.

PR: conf/101154
Submitted by: Thomas Jensen <tj@pil.dk>
MFC after: 3 days

17 years agoAdd the POSIX option -p to the jobs builtin command. It prints the PID of the
Stefan Farfeleder [Sat, 7 Oct 2006 16:51:16 +0000 (16:51 +0000)]
Add the POSIX option -p to the jobs builtin command.  It prints the PID of the
process leader for each job.  Now the last specified option for the output
format (-l, -p or -s) wins, previously -s trumped -l.

PR: 99926
Submitted by: Ed Schouten and novel (patches modified by me)

17 years ago- Add support for Epson USB Scanners (3590 [1] and 4990 [2]).
Florent Thoumie [Sat, 7 Oct 2006 16:00:59 +0000 (16:00 +0000)]
- Add support for Epson USB Scanners (3590 [1] and 4990 [2]).
- Add entries in the uscanner.4 man page (along with missing 3500).

PR: usb/100957 [1], usb/100992 [2]
Submitted by: Jim Teresco <terescoj@teresco.org> [1],
Walter C. Pelissero <walter.pelissero@iesy.net> [2]
MFC after: 3 days

17 years agoRestore the behavior that net.inet6.ip6.auto_linklocal=0 could
Hajimu UMEMOTO [Sat, 7 Oct 2006 15:45:56 +0000 (15:45 +0000)]
Restore the behavior that net.inet6.ip6.auto_linklocal=0 could
be coexist with ipv6_enable="YES".

MFC after: 3 days

17 years agoNew release notes: IPv6 link-local addresses now enabled with
Bruce A. Mah [Sat, 7 Oct 2006 14:49:45 +0000 (14:49 +0000)]
New release notes:  IPv6 link-local addresses now enabled with
ipv6_enable, ng_tag(4) (+MFC)

Modified release notes:  Rewritten ipfw(4) tablearg note, OpenSSH
4.4p1 (+MFC), OpenSSL 0.9.8d, OpenBSM 1.0alpha12.

MFCs noted:  ipfw(8) tag/untag/tagged,

17 years agoo Style(9).
Maxim Konovalov [Sat, 7 Oct 2006 12:14:50 +0000 (12:14 +0000)]
o Style(9).

Submitted by: bde

17 years agoo Avoid division by zero.
Maxim Konovalov [Sat, 7 Oct 2006 12:11:21 +0000 (12:11 +0000)]
o Avoid division by zero.
o Place error checking code near to the syscall.

Submitted by: bde

17 years agoReword previous delta a little bit.
Tom Rhodes [Sat, 7 Oct 2006 10:49:20 +0000 (10:49 +0000)]
Reword previous delta a little bit.

Submitted by: ru

17 years ago- Update URL of Intel documentation
Pav Lucistnik [Sat, 7 Oct 2006 10:39:34 +0000 (10:39 +0000)]
- Update URL of Intel documentation

Submitted by: Rob <spamrefuse@yahoo.com> on freebsd-doc
MFC after: 3 days

17 years agoSet scope on MC address so IPv6 carp advertisement will not get dropped
Bjoern A. Zeeb [Sat, 7 Oct 2006 10:19:58 +0000 (10:19 +0000)]
Set scope on MC address so IPv6 carp advertisement will not get dropped
in ip6_output. In case this fails  handle the error directly and log it[1].
In addition permit CARP over v6 in ip_fw2.

PR:                     kern/98622
Similar patch by:       suz
Discussed with:         glebius [1]
Tested by:              Paul.Dekkers surfnet.nl, Philippe.Pegon crc.u-strasbg.fr
MFC after:              3 days

17 years agoAdd a missing whitespace.
Florent Thoumie [Sat, 7 Oct 2006 10:00:22 +0000 (10:00 +0000)]
Add a missing whitespace.

Reported by: simon
Approved by: cperciva (mentor, implicit)

17 years agoAdd a delightful typographic gem I discovered on page 143 in Edward
Poul-Henning Kamp [Sat, 7 Oct 2006 08:29:20 +0000 (08:29 +0000)]
Add a delightful typographic gem I discovered on page 143 in Edward
Tuftes book "The Visual Display of Quantitative Information"

The constant width font does not quite do the typeset original justice,
but it is is good enough for a fortune.

17 years agoFix ambiguity in description. Note that the aio_return() system call should
Tom Rhodes [Sat, 7 Oct 2006 05:34:51 +0000 (05:34 +0000)]
Fix ambiguity in description.  Note that the aio_return() system call should
only be called once after failure or completion of an AIO request.  Bump doc
date while I'm here.

Noticed by: Samy Al Bahra

17 years agoAdd missing word "returns."
Tom Rhodes [Sat, 7 Oct 2006 05:13:32 +0000 (05:13 +0000)]
Add missing word "returns."

Noticed by: Samy Al Bahra

17 years agoRemove X11BASE from here so the one from bsd.port.mk has a chance to set
Dejan Lesjak [Fri, 6 Oct 2006 23:32:23 +0000 (23:32 +0000)]
Remove X11BASE from here so the one from bsd.port.mk has a chance to set
default. Grepping through src shows only gnu/usr.bin/groff which doesn't
use it in src build and OpenSSH for which this was a NOOP.

Discussed with: des, ru
Approved by: ru

17 years agoIntroduce mixer_enable (default: YES).
Florent Thoumie [Fri, 6 Oct 2006 23:22:13 +0000 (23:22 +0000)]
Introduce mixer_enable (default: YES).

PR: conf/101268
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
Approved by: cperciva (mentor)
X-MFC after: 6.2-RELEASE
Sponsored by: FreeBSD Test-Bugathon

17 years agoAdd a missing new line at the end of the australian calendar file to
Florent Thoumie [Fri, 6 Oct 2006 23:20:01 +0000 (23:20 +0000)]
Add a missing new line at the end of the australian calendar file to
suppress and error message.

PR: conf/99490
Submitted by: Shaun Branden <shaun@pcuse.com>
Approved by: cperciva (mentor)
MFC after: 1 day
Sponsored by: FreeBSD Test-Bugathon

17 years agofix fxp so that it will reset the link when you change the speed... This
John-Mark Gurney [Fri, 6 Oct 2006 20:53:01 +0000 (20:53 +0000)]
fix fxp so that it will reset the link when you change the speed...  This
will fix a problem where you boot w/ the default of autoselect, but then
set the speed to 100/full, the switch will keep the autoselect/100/full
negotiation...  This will continue to work till someone resets the switch
or unplugs the cable resulting in the switch failing to autoneg and falling
back to 100/half, causing a hard to track down duplex mismatch..

Submitted by: nCircle Network Security, Inc.
MFC after: 1 week

17 years agoInclude freebsd32_signal.h now that signal-related definitions are
Marcel Moolenaar [Fri, 6 Oct 2006 19:33:44 +0000 (19:33 +0000)]
Include freebsd32_signal.h now that signal-related definitions are
moved there.

Found by: ia64 tinderbox.

17 years ago- Fix wrong id for ALC882, add ALC883 id.
Ariff Abdullah [Fri, 6 Oct 2006 18:59:27 +0000 (18:59 +0000)]
- Fix wrong id for ALC882, add ALC883 id.

- Add support for the Conexant Waikiki/CX20551-22, found
  in most Toshiba P100 series laptops. Despite of growing
  urban legend of "unsupported Conexant", this codec is fully
  supported in this driver.
  Note: Toshiba P100 has broken (acpi) BIOS, thus rendering
        its soundchip useless. Please disable ACPI, or get
        BIOS updates (if any).

  Found/tested by: Vulpes Velox <v.velox@vvelox.net>
  URL: http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-September/004896.html

- Parser cleanups to handle possible oss/mixer collision. Found
  after parsing Conexant Waikiki nodes.

- Increase resilient against resource failure during attach/detach.

- Implement simple config through hint.pcm.<unit>.config. Supported
  options:
    gpio0 (default on Acer), gpio1, gpio2, softpcmvol,
    fixedrate (default), forcestereo (default)
  * Option prefixed with "no" (such as "nofixedrate") will do
    the opposite.
  * Options can be separated using space " " or comma ",".
  * The "no" option will take precedence over anything else.
  Example:
    hint.pcm.0.config="gpio2,nofixedrate,noforcestereo,nogpio0,softpcmvol"
    hint.pcm.0.config="softpcmvol noforcestereo"

17 years agoActually make bounds checking for PCIOCREAD and PCIOCWRITE work.
Ruslan Ermilov [Fri, 6 Oct 2006 14:31:32 +0000 (14:31 +0000)]
Actually make bounds checking for PCIOCREAD and PCIOCWRITE work.

17 years agoDon't define XAUTH_PATH here, we either pass it in on the compiler command
Dag-Erling Smørgrav [Fri, 6 Oct 2006 14:27:26 +0000 (14:27 +0000)]
Don't define XAUTH_PATH here, we either pass it in on the compiler command
line or rely on the built-in default.

17 years agoAdded the GEOM_CACHE option.
Ruslan Ermilov [Fri, 6 Oct 2006 10:43:42 +0000 (10:43 +0000)]
Added the GEOM_CACHE option.

Reminded by: pjd

17 years agoo Hold copied bytes counter in off_t. This prevents statistics
Maxim Konovalov [Fri, 6 Oct 2006 08:30:33 +0000 (08:30 +0000)]
o Hold copied bytes counter in off_t.  This prevents statistics
displayed by SIGINFO handler from overflow.

PR: bin/104039
Submitted by: Geoffrey Giesemann
MFC after: 2 weeks

17 years agoA GEOM cache can speed up read performance by sending fixed size
Ruslan Ermilov [Fri, 6 Oct 2006 08:27:07 +0000 (08:27 +0000)]
A GEOM cache can speed up read performance by sending fixed size
read requests to its consumer.  It has been developed to address
the problem of a horrible read performance of a 64k blocksize FS
residing on a RAID3 array with 8 data components, where a single
disk component would only get 8k read requests, thus effectively
killing disk performance under high load.  Documentation will be
provided later.  I'd like to thank Vsevolod Lobko for his bright
ideas, and Pawel Jakub Dawidek for helping me fix the nasty bug.

17 years agoRegenerate.
David Xu [Fri, 6 Oct 2006 08:24:37 +0000 (08:24 +0000)]
Regenerate.

17 years agoImplement 32bit umtx_lock and umtx_unlock system calls, these two system
David Xu [Fri, 6 Oct 2006 08:22:08 +0000 (08:22 +0000)]
Implement 32bit umtx_lock and umtx_unlock system calls, these two system
calls are not used by libthr in RELENG_6 and HEAD, it is only used by
the libthr in RELENG-5, the _umtx_op system call can do more incremental
dirty works than these two system calls without having to introduce new
system calls or throw away old system calls when things are going on.

17 years agoThe ARM platform does the setjmp/longjmp type of exception handling.
David E. O'Brien [Thu, 5 Oct 2006 20:55:37 +0000 (20:55 +0000)]
The ARM platform does the setjmp/longjmp type of exception handling.

17 years ago- Remove SCHED_ULE from GENERIC to better avoid foot-shooting by
Simon L. B. Nielsen [Thu, 5 Oct 2006 20:31:58 +0000 (20:31 +0000)]
- Remove SCHED_ULE from GENERIC to better avoid foot-shooting by
  unsuspecting users.
- Add a comment in NOTES about experimental status of SCHED_ULE.
- Make warning about experimental status in sched_ule(4) a bit
  stronger.

Suggested and reviewed by: dougb
Discussed on: developers
MFC after: 3 days

17 years agoApproved by: rwatson
Kip Macy [Thu, 5 Oct 2006 18:47:45 +0000 (18:47 +0000)]
Approved by: rwatson
Reviewed by: jmg and jb

Forced commit to provide a more meaningful commit message.

John Michael-Gurney is responsible for fixing all the vast majority of the
issues that arose with PCI support.

Kris Kennaway and John Birrell pushed heavily on stability issues. Kris is to
thank for it having even reached its current level of stability. When it
reaches a production state, we will have John to thank for driving it forward.

The following items are needed before sun4v can be used from CVS:
    - binutils/gas/config/tc-sparc.c needs to be pulled in from a modern
    version of binutils.

    - an updated version of the loader needs to be pulled in from perforce

The following items need to be addressed before sun4v can be considered for
deployment:
    - The T1 has a fairly minimal floating point unit, fsqrt and a number of
    other opcodes are not implemented. Emulation for unimplemented opcodes
    needs to be added.

    - Running against local disk a race condition exists whereby a cpu will
    sometimes run off into the weeds at tl > 2.

    - The MD code for interrupt handling will crash on the first ATA interrupt.

    - The BCM chipset (bge) is not set up correctly on the T1000. The current
    workaround is to use an add in Intel GigE card (em).

    - With KSE in the kernel signals are often not directed to the right
    process / thread within a process. This causes threaded processes
    to frequently become unkillable and gdb to not be reliable when debugging
    a threaded process. This issue is slowly being resolved on -threads.

Many thanks go to Sun for having lent / donated a T2000 to both me and
John Birrell.

17 years agoThe IPMI spec is ambiguous (or rather, it contradicts itself) about whether
John Baldwin [Thu, 5 Oct 2006 15:38:59 +0000 (15:38 +0000)]
The IPMI spec is ambiguous (or rather, it contradicts itself) about whether
or not the OS has to wait for RX_RDY or TX_RDY to be set before the OS sets
the control code in the control/status register.  Looking at the interface
design, it seems that RX_RDY and TX_RDY are probably there to protect
access to the data register and have nothing to do with the control/status
register.  Nevertheless, try to take what I think is the more conservative
approach and always wait for the appropriate [TR]X_RDY flag to be set
before writing any of the WR_NEXT, WR_END, RD_START, or RD_NEXT control
codes to the control/status register.

17 years agoAdd detailed debugging printf's for SMIC under SMIC_DEBUG.
John Baldwin [Thu, 5 Oct 2006 15:35:11 +0000 (15:35 +0000)]
Add detailed debugging printf's for SMIC under SMIC_DEBUG.

17 years agoOops, don't toss the last character read during an SMIC transaction with
John Baldwin [Thu, 5 Oct 2006 15:33:43 +0000 (15:33 +0000)]
Oops, don't toss the last character read during an SMIC transaction with
at least 1 data byte beyond the completion code.

Tested by: Terry Kennedy <terry at tmk dot com>

17 years ago- Fix a couple of improper uses of leal in the previous space saving
John Baldwin [Thu, 5 Oct 2006 15:30:51 +0000 (15:30 +0000)]
- Fix a couple of improper uses of leal in the previous space saving
  commits.  For some reason I thought the scale factor was a shift count
  rather than the multiplicand (that is, I thought leal (%eax,%edx,4) was
  going to generate %eax + %edx << 4 rather than %eax + %edx * 4).  What
  I need is to multiply by 16 to convert a real-mode (seg, offset) tuple
  into a flat address.  However, the max multiplicand for scaled/index
  addressing on i386 is 8, so go back to using a shl and an add.
- Convert two more inter-register mov instructions where we don't need to
  preserve the source register to xchg instructions to keep our space
  savings.

Tested by: Ian FREISLICH if at hetzner.co.za
MFC after: 1 week

17 years agoSort SUBDIR.
Ruslan Ermilov [Thu, 5 Oct 2006 13:42:30 +0000 (13:42 +0000)]
Sort SUBDIR.

17 years agoSort MAN and MLINKS lists.
Ruslan Ermilov [Thu, 5 Oct 2006 12:40:44 +0000 (12:40 +0000)]
Sort MAN and MLINKS lists.

17 years agoSort SUBDIR.
Ruslan Ermilov [Thu, 5 Oct 2006 12:18:15 +0000 (12:18 +0000)]
Sort SUBDIR.

17 years agoWorkaround bad locking design:
Oleg Bulyzhin [Thu, 5 Oct 2006 09:48:25 +0000 (09:48 +0000)]
Workaround bad locking design:
do not try to lock/unlock destroyed/non-existsing mutex.

PR: kern/103569
Reviewed by: guido
Approved by: glebius (mentor)
Silence from: darrenr
MFC: 2 week