Re: svn commit: r212160 - in head/sys: cam/ata cam/scsi cddl/contrib/opensolaris/uts/common/fs/zfs geom geom/sched kern sys

2010-09-02 Thread Pawel Jakub Dawidek
On Thu, Sep 02, 2010 at 04:07:36PM -0600, Justin T. Gibbs wrote: > On 9/2/2010 3:39 PM, Pawel Jakub Dawidek wrote: > > Don't you think it would be better to set the flag from within > > g_io_request()? This way every BIO_FLUSH consumer doesn't have to > > remember to set it. Or am I missing someth

svn commit: r212170 - in head/sys/powerpc: conf include powerpc

2010-09-02 Thread Peter Grehan
Author: grehan Date: Fri Sep 3 03:56:09 2010 New Revision: 212170 URL: http://svn.freebsd.org/changeset/base/212170 Log: - Bump MAXCPU to 4. Tested on a quad G5 with both 32 and 64-bit kernels. A make buildkernel -j4 uses ~360% CPU. - Bracket the AP spinup printf with a mutex to avoid garbl

svn commit: r212169 - head/tools/tools/nanobsd

2010-09-02 Thread Warner Losh
Author: imp Date: Fri Sep 3 03:48:06 2010 New Revision: 212169 URL: http://svn.freebsd.org/changeset/base/212169 Log: Allow / in the NANO_DEVICE PR: 149729 Submitted by: Thomas Quinot Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.

svn commit: r212168 - head/games/fortune/datfiles

2010-09-02 Thread John-Mark Gurney
Author: jmg Date: Fri Sep 3 03:20:34 2010 New Revision: 212168 URL: http://svn.freebsd.org/changeset/base/212168 Log: fix the move so that it matches what the rest of the internet says about this game... This move also makes more sense... MFC after:1 week Modified: head/games/for

svn commit: r212167 - head/sys/dev/sis

2010-09-02 Thread Pyun YongHyeon
Author: yongari Date: Fri Sep 3 00:34:45 2010 New Revision: 212167 URL: http://svn.freebsd.org/changeset/base/212167 Log: Initial WOL support. NS DP8315 was tested but SiS900/SiS7016 was not tested. While I'm here, clean up SIOCSIFCAP handler. Modified: head/sys/dev/sis/if_sis.c head/s

svn commit: r212166 - head/sys/dev/sis

2010-09-02 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 2 22:37:13 2010 New Revision: 212166 URL: http://svn.freebsd.org/changeset/base/212166 Log: Implement initial device suspend/resume method. Modified: head/sys/dev/sis/if_sis.c Modified: head/sys/dev/sis/if_sis.c =

svn commit: r212165 - head/sys/boot/ofw/libofw

2010-09-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Sep 2 22:26:49 2010 New Revision: 212165 URL: http://svn.freebsd.org/changeset/base/212165 Log: In the case of non-sequential mappings, ofw_mapmem() could ask Open Firmware to map a memory region with negative length, causing crashes and Undefined Behavior. Add

Re: svn commit: r212160 - in head/sys: cam/ata cam/scsi cddl/contrib/opensolaris/uts/common/fs/zfs geom geom/sched kern sys

2010-09-02 Thread Matthew Jacob
FWIW, policy should be set the callers of g_io_request (IMO) I don't feel strongly one way or the other, but I thought that g_io_request()'s job was to execute the request and to test invariants, not to set policy. Perhaps I misinterpreted it's role. -- Justin

Re: svn commit: r212160 - in head/sys: cam/ata cam/scsi cddl/contrib/opensolaris/uts/common/fs/zfs geom geom/sched kern sys

2010-09-02 Thread Justin T. Gibbs
On 9/2/2010 3:39 PM, Pawel Jakub Dawidek wrote: > On Thu, Sep 02, 2010 at 07:40:28PM +, Justin T. Gibbs wrote: >> Author: gibbs >> Date: Thu Sep 2 19:40:28 2010 >> New Revision: 212160 >> URL: http://svn.freebsd.org/changeset/base/212160 >> >> Log: >> Correct bioq_disksort so that bioq_insert_

svn commit: r212163 - head/usr.bin/calendar/calendars/fr_FR.ISO8859-1

2010-09-02 Thread Edwin Groothuis
Author: edwin Date: Thu Sep 2 21:48:35 2010 New Revision: 212163 URL: http://svn.freebsd.org/changeset/base/212163 Log: Adding a missing firstname (Monique) PR: conf/150049 Submitted by: Thierry Thomas Modified: head/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.fetes

Re: svn commit: r212160 - in head/sys: cam/ata cam/scsi cddl/contrib/opensolaris/uts/common/fs/zfs geom geom/sched kern sys

2010-09-02 Thread Pawel Jakub Dawidek
On Thu, Sep 02, 2010 at 07:40:28PM +, Justin T. Gibbs wrote: > Author: gibbs > Date: Thu Sep 2 19:40:28 2010 > New Revision: 212160 > URL: http://svn.freebsd.org/changeset/base/212160 > > Log: > Correct bioq_disksort so that bioq_insert_tail() offers barrier semantic. Thank you for working

svn commit: r212162 - head/usr.bin/split

2010-09-02 Thread Gavin Atkinson
Author: gavin Date: Thu Sep 2 21:29:50 2010 New Revision: 212162 URL: http://svn.freebsd.org/changeset/base/212162 Log: Correct spelling mistake, int -> into MFC after:3 days Modified: head/usr.bin/split/split.1 Modified: head/usr.bin/split/split.1 =

svn commit: r212161 - head/share/man/man4

2010-09-02 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 2 20:43:01 2010 New Revision: 212161 URL: http://svn.freebsd.org/changeset/base/212161 Log: Better wording. Submitted by: jkim Modified: head/share/man/man4/sis.4 Modified: head/share/man/man4/sis.4 =

svn commit: r212160 - in head/sys: cam/ata cam/scsi cddl/contrib/opensolaris/uts/common/fs/zfs geom geom/sched kern sys

2010-09-02 Thread Justin T. Gibbs
Author: gibbs Date: Thu Sep 2 19:40:28 2010 New Revision: 212160 URL: http://svn.freebsd.org/changeset/base/212160 Log: Correct bioq_disksort so that bioq_insert_tail() offers barrier semantic. Add the BIO_ORDERED flag for struct bio and update bio clients to use it. The barrier semantic

Re: svn commit: r212157 - head/sys/dev/sis

2010-09-02 Thread Pyun YongHyeon
On Thu, Sep 02, 2010 at 06:10:11PM +, Pyun YongHyeon wrote: > Author: yongari > Date: Thu Sep 2 18:10:11 2010 > New Revision: 212157 > URL: http://svn.freebsd.org/changeset/base/212157 > > Log: > Unlike most other controllers, NS DP83815/DP83816 controllers seem > to pad with 0xFF when it

svn commit: r212159 - head/share/man/man4

2010-09-02 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 2 18:22:06 2010 New Revision: 212159 URL: http://svn.freebsd.org/changeset/base/212159 Log: Document tunable dev.sis.%unit.manual_pad While I'm here Xref vlan(4) as sis(4) supports VLAN oversized frames. Modified: head/share/man/man4/sis.4 Modified: head/sh

svn commit: r212158 - head/sys/sparc64/conf

2010-09-02 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 2 18:12:54 2010 New Revision: 212158 URL: http://svn.freebsd.org/changeset/base/212158 Log: Enable sis(4). sis(4) should work on all architectures. Modified: head/sys/sparc64/conf/GENERIC Modified: head/sys/sparc64/conf/GENERIC =

svn commit: r212157 - head/sys/dev/sis

2010-09-02 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 2 18:10:11 2010 New Revision: 212157 URL: http://svn.freebsd.org/changeset/base/212157 Log: Unlike most other controllers, NS DP83815/DP83816 controllers seem to pad with 0xFF when it encounter short frames. According to RFC 1042 the pad bytes should be 0x00.

svn commit: r212156 - head/sys/dev/sis

2010-09-02 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 2 17:51:41 2010 New Revision: 212156 URL: http://svn.freebsd.org/changeset/base/212156 Log: Fix the last endianness issue on handling station address which prevented driver from working on big-endian machines. Also rewrite station address programming to make it

svn commit: r212155 - in head/sys: netinet netinet6

2010-09-02 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 2 17:43:44 2010 New Revision: 212155 URL: http://svn.freebsd.org/changeset/base/212155 Log: MFp4 CH=183052 183053 183258: In protosw we define pr_protocol as short, while on the wire it is an uint8_t. That way we can have "internal" protocols like DIVERT

svn commit: r212154 - head/sys/dev/fb

2010-09-02 Thread Jung-uk Kim
Author: jkim Date: Thu Sep 2 17:22:12 2010 New Revision: 212154 URL: http://svn.freebsd.org/changeset/base/212154 Log: Disable video ROM shadowing by default as I originally intended. I found a case where video ROM for an IGP is too tightly coupled with system BIOS to get relocated. Modif

Re: svn commit: r212153 - head/sys/kern

2010-09-02 Thread mdf
On Thu, Sep 2, 2010 at 9:23 AM, Matthew D Fleming wrote: > Author: mdf > Date: Thu Sep  2 16:23:05 2010 > New Revision: 212153 > URL: http://svn.freebsd.org/changeset/base/212153 > > Log: >  Fix UP build. Noticed by b.f. (bf1783 at gmail dot com) We apologize for the inconvenience. matthew >  M

svn commit: r212153 - head/sys/kern

2010-09-02 Thread Matthew D Fleming
Author: mdf Date: Thu Sep 2 16:23:05 2010 New Revision: 212153 URL: http://svn.freebsd.org/changeset/base/212153 Log: Fix UP build. MFC after:2 weeks Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c

svn commit: r212152 - head/sys/net

2010-09-02 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 2 16:11:12 2010 New Revision: 212152 URL: http://svn.freebsd.org/changeset/base/212152 Log: MFp4 CH=183259: No reason to use if_free_type() as we don't change our type. Just if_free() is fine. MFC after:3 days Modified: head/sys/net/if_epair.c Mo

svn commit: r212149 - head/sys/dev/iscsi/initiator

2010-09-02 Thread Dag-Erling Smorgrav
Author: des Date: Thu Sep 2 14:13:43 2010 New Revision: 212149 URL: http://svn.freebsd.org/changeset/base/212149 Log: Remove the freelist, which simply duplicates some of the zone allocator's functionality. Submitted by: Daniel Braniss MFC after:3 weeks Modified: head/sys/dev/i

svn commit: r212148 - head/sys/sys

2010-09-02 Thread Ed Maste
Author: emaste Date: Thu Sep 2 14:05:32 2010 New Revision: 212148 URL: http://svn.freebsd.org/changeset/base/212148 Log: Remove trailing whitespace. Modified: head/sys/sys/copyright.h Modified: head/sys/sys/copyright.h

Re: svn commit: r211059 - head/sys/netinet

2010-09-02 Thread Gleb Smirnoff
Xin, sorry for late answer. On Sun, Aug 08, 2010 at 07:04:27AM +, Xin LI wrote: X> Author: delphij X> Date: Sun Aug 8 07:04:27 2010 X> New Revision: 211059 X> URL: http://svn.freebsd.org/changeset/base/211059 X> X> Log: X> Address an edge condition that we found at work, where the car

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread David Xu
John Baldwin wrote: On Thursday, September 02, 2010 7:36:08 am David Xu wrote: John Baldwin wrote: On Thursday, September 02, 2010 6:22:18 am Kostik Belousov wrote: On Thu, Sep 02, 2010 at 05:35:39PM +, David Xu wrote: Kostik Belousov wrote:

svn commit: r212146 - head/sys/dev/ata/chipsets

2010-09-02 Thread Alexander Motin
Author: mav Date: Thu Sep 2 12:32:29 2010 New Revision: 212146 URL: http://svn.freebsd.org/changeset/base/212146 Log: Add fix for SiI3114 and SiI3512 chips bug, which caused sending R_ERR in response to DMA activate FIS under certain circumstances. This is recommended fix from chip datashee

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread John Baldwin
On Thursday, September 02, 2010 7:36:08 am David Xu wrote: > John Baldwin wrote: > > On Thursday, September 02, 2010 6:22:18 am Kostik Belousov wrote: > > > >> On Thu, Sep 02, 2010 at 05:35:39PM +, David Xu wrote: > >> > >>> Kostik Belousov wrote: > >>> > >>> > > the tf_err m

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread David Xu
John Baldwin wrote: On Thursday, September 02, 2010 6:22:18 am Kostik Belousov wrote: On Thu, Sep 02, 2010 at 05:35:39PM +, David Xu wrote: Kostik Belousov wrote: the tf_err may not be equal to ksi_addr! This may need to be fixed. The change was introduced by r

svn commit: r212145 - in head/sys/dev/ata: . chipsets

2010-09-02 Thread Alexander Motin
Author: mav Date: Thu Sep 2 11:18:43 2010 New Revision: 212145 URL: http://svn.freebsd.org/changeset/base/212145 Log: SATA1.x SiliconImage controllers on power-on reset TFD Status register into value 0xff. On hot-plug this value confuses ata_generic_reset() device presence detection logic.

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread John Baldwin
On Thursday, September 02, 2010 6:22:18 am Kostik Belousov wrote: > On Thu, Sep 02, 2010 at 05:35:39PM +, David Xu wrote: > > Kostik Belousov wrote: > > > > >>the tf_err may not be equal to ksi_addr! This may need to be fixed. > > >> > > >The change was introduced by > > >r151316 | davidxu | 2

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread Kostik Belousov
On Thu, Sep 02, 2010 at 05:35:39PM +, David Xu wrote: > Kostik Belousov wrote: > > >>the tf_err may not be equal to ksi_addr! This may need to be fixed. > >> > >The change was introduced by > >r151316 | davidxu | 2005-10-14 > > /* Old FreeBSD-style arguments. */ > >- sf.sf_siginfo = c

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread Kostik Belousov
On Wed, Sep 01, 2010 at 02:18:33AM +, David Xu wrote: > Author: davidxu > Date: Wed Sep 1 02:18:33 2010 > New Revision: 212076 > URL: http://svn.freebsd.org/changeset/base/212076 > > Log: > Add signal handler wrapper, the reason to add it becauses there are > some cases we want to improve

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread David Xu
Kostik Belousov wrote: On Thu, Sep 02, 2010 at 04:34:58PM +, David Xu wrote: Kostik Belousov wrote: On Wed, Sep 01, 2010 at 02:18:33AM +, David Xu wrote: Author: davidxu Date: Wed Sep 1 02:18:33 2010 New Revision: 212076 URL: http://svn.freebsd.org/changeset/base/212076 Log: Add sig

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread David Xu
Kostik Belousov wrote: the tf_err may not be equal to ksi_addr! This may need to be fixed. The change was introduced by r151316 | davidxu | 2005-10-14 /* Old FreeBSD-style arguments. */ - sf.sf_siginfo = code; - sf.sf_addr = regs->tf_err; + sf.sf_siginfo = ksi->ksi_code; +

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread Kostik Belousov
On Thu, Sep 02, 2010 at 05:03:13PM +, David Xu wrote: > Kostik Belousov wrote: > >On Thu, Sep 02, 2010 at 04:34:58PM +, David Xu wrote: > >>Kostik Belousov wrote: > >>>On Wed, Sep 01, 2010 at 02:18:33AM +, David Xu wrote: > Author: davidxu > Date: Wed Sep 1 02:18:33 2010 >

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread Kostik Belousov
On Thu, Sep 02, 2010 at 04:34:58PM +, David Xu wrote: > Kostik Belousov wrote: > >On Wed, Sep 01, 2010 at 02:18:33AM +, David Xu wrote: > >>Author: davidxu > >>Date: Wed Sep 1 02:18:33 2010 > >>New Revision: 212076 > >>URL: http://svn.freebsd.org/changeset/base/212076 > >> > >>Log: > >> A

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread David Xu
Kostik Belousov wrote: On Wed, Sep 01, 2010 at 02:18:33AM +, David Xu wrote: Author: davidxu Date: Wed Sep 1 02:18:33 2010 New Revision: 212076 URL: http://svn.freebsd.org/changeset/base/212076 Log: Add signal handler wrapper, the reason to add it becauses there are some cases we want