svn commit: r200253 - in head/sys/boot/pc98: libpc98 loader

2009-12-08 Thread Takahashi Yoshihiro
Author: nyan Date: Tue Dec 8 12:10:06 2009 New Revision: 200253 URL: http://svn.freebsd.org/changeset/base/200253 Log: MFi386: revision 200216 Various small whitespace and style fixes. Modified: head/sys/boot/pc98/libpc98/biosmem.c head/sys/boot/pc98/loader/main.c Modified: head/sy

svn commit: r200254 - head/sys/boot/pc98/btx/btx

2009-12-08 Thread Takahashi Yoshihiro
Author: nyan Date: Tue Dec 8 13:04:26 2009 New Revision: 200254 URL: http://svn.freebsd.org/changeset/base/200254 Log: MFi386: Use real mode instead of v86 mode. MFC after:1 week Modified: head/sys/boot/pc98/btx/btx/btx.S Modified: head/sys/boot/pc98/btx/btx/btx.S =

svn commit: r200255 - in head/sys/boot/pc98: libpc98 loader

2009-12-08 Thread Takahashi Yoshihiro
Author: nyan Date: Tue Dec 8 13:06:35 2009 New Revision: 200255 URL: http://svn.freebsd.org/changeset/base/200255 Log: MFi386: revision 200219 Improve the algorithm the loader uses to choose a memory range for its heap when using a range above 1MB. MFC after:1 week Modified

Re: svn commit: r200255 - in head/sys/boot/pc98: libpc98 loader

2009-12-08 Thread John Baldwin
On Tuesday 08 December 2009 8:06:35 am Takahashi Yoshihiro wrote: > Author: nyan > Date: Tue Dec 8 13:06:35 2009 > New Revision: 200255 > URL: http://svn.freebsd.org/changeset/base/200255 > > Log: > MFi386: revision 200219 > > Improve the algorithm the loader uses to choose a memory rang

Re: svn commit: r200121 - head/sys/dev/ata

2009-12-08 Thread Alexander Motin
Pawel Jakub Dawidek wrote: > On Sat, Dec 05, 2009 at 01:40:51PM +, Alexander Motin wrote: >> Author: mav >> Date: Sat Dec 5 13:40:51 2009 >> New Revision: 200121 >> URL: http://svn.freebsd.org/changeset/base/200121 >> >> Log: >> Do not ignore device interrupt if bus mastering is still active

svn commit: r200257 - head/sys/dev/uart

2009-12-08 Thread Alexander Motin
Author: mav Date: Tue Dec 8 14:55:07 2009 New Revision: 200257 URL: http://svn.freebsd.org/changeset/base/200257 Log: Add ID for NetMos NM9820 Serial Port chip, found on CardBus serial adapter. Modified: head/sys/dev/uart/uart_bus_pci.c Modified: head/sys/dev/uart/uart_bus_pci.c ===

svn commit: r200258 - stable/8/sys/dev/ichsmb

2009-12-08 Thread Andriy Gapon
Author: avg Date: Tue Dec 8 15:14:55 2009 New Revision: 200258 URL: http://svn.freebsd.org/changeset/base/200258 Log: MFC r200052: ichsmb: add pci ids for some newer supported hardware Modified: stable/8/sys/dev/ichsmb/ichsmb_pci.c Directory Properties: stable/8/sys/ (props changed) st

svn commit: r200259 - stable/7/sys/dev/ichsmb

2009-12-08 Thread Andriy Gapon
Author: avg Date: Tue Dec 8 15:16:48 2009 New Revision: 200259 URL: http://svn.freebsd.org/changeset/base/200259 Log: MFC r200052: ichsmb: add pci ids for some newer supported hardware Modified: stable/7/sys/dev/ichsmb/ichsmb_pci.c Directory Properties: stable/7/sys/ (props changed) st

svn commit: r200260 - in stable/8/sys: amd64/amd64 i386/i386

2009-12-08 Thread Andriy Gapon
Author: avg Date: Tue Dec 8 15:21:39 2009 New Revision: 200260 URL: http://svn.freebsd.org/changeset/base/200260 Log: MFC r199184: reflect that pg_ps_enabled is a tunable Modified: stable/8/sys/amd64/amd64/pmap.c stable/8/sys/i386/i386/pmap.c Directory Properties: stable/8/sys/ (props

svn commit: r200261 - in stable/7/sys: amd64/amd64 i386/i386

2009-12-08 Thread Andriy Gapon
Author: avg Date: Tue Dec 8 15:24:37 2009 New Revision: 200261 URL: http://svn.freebsd.org/changeset/base/200261 Log: MFC r199184: reflect that pg_ps_enabled is a tunable Modified: stable/7/sys/amd64/amd64/pmap.c stable/7/sys/i386/i386/pmap.c Directory Properties: stable/7/sys/ (props

svn commit: r200262 - in stable/8/sys: amd64/amd64 amd64/include i386/i386 i386/include

2009-12-08 Thread Andriy Gapon
Author: avg Date: Tue Dec 8 15:27:06 2009 New Revision: 200262 URL: http://svn.freebsd.org/changeset/base/200262 Log: MFC r199968: x86 cpu features: add MOVBE reporting and flag Modified: stable/8/sys/amd64/amd64/identcpu.c stable/8/sys/amd64/include/specialreg.h stable/8/sys/i386/i386/i

svn commit: r200263 - in stable/7/sys: amd64/amd64 amd64/include i386/i386 i386/include

2009-12-08 Thread Andriy Gapon
Author: avg Date: Tue Dec 8 15:29:12 2009 New Revision: 200263 URL: http://svn.freebsd.org/changeset/base/200263 Log: MFC r199968: x86 cpu features: add MOVBE reporting and flag Modified: stable/7/sys/amd64/amd64/identcpu.c stable/7/sys/amd64/include/specialreg.h stable/7/sys/i386/i386/i

svn commit: r200264 - head/sys/dev/bge

2009-12-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 8 17:54:23 2009 New Revision: 200264 URL: http://svn.freebsd.org/changeset/base/200264 Log: Create sysctl node(dev.bge.%d.focred_collapse) instead of hw.bge.forced_collapse. hw.bge.forced_collapse affects all bge(4) controllers on system which may not desirable

svn commit: r200265 - in stable/8: etc/defaults etc/rc.d share/man/man5

2009-12-08 Thread Xin LI
Author: delphij Date: Tue Dec 8 18:23:51 2009 New Revision: 200265 URL: http://svn.freebsd.org/changeset/base/200265 Log: MFC revisions 196550 and 196552: Add a new rc.d script, static_arp, which enables the administrator to statically bind IPv4 <-> MAC address at boot time. In orde

svn commit: r200266 - stable/8/sys/kern

2009-12-08 Thread Fabien Thomas
Author: fabient Date: Tue Dec 8 18:23:52 2009 New Revision: 200266 URL: http://svn.freebsd.org/changeset/base/200266 Log: MFC 198464: Inform hwpmc(4) of a thread's impending demise prior to invoking sched_throw(). Modified: stable/8/sys/kern/kern_thread.c Directory Properties: stable/8/

svn commit: r200267 - in stable/7: etc/defaults etc/rc.d share/man/man5

2009-12-08 Thread Xin LI
Author: delphij Date: Tue Dec 8 18:35:57 2009 New Revision: 200267 URL: http://svn.freebsd.org/changeset/base/200267 Log: MFC revisions 196550 and 196552: Add a new rc.d script, static_arp, which enables the administrator to statically bind IPv4 <-> MAC address at boot time. In orde

svn commit: r200268 - head/sys/dev/e1000

2009-12-08 Thread Jack F Vogel
Author: jfv Date: Tue Dec 8 18:54:37 2009 New Revision: 200268 URL: http://svn.freebsd.org/changeset/base/200268 Log: Remove phantom line of code that somehow slipped into the checkin. Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c

svn commit: r200269 - stable/7/bin/sh

2009-12-08 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 8 19:01:05 2009 New Revision: 200269 URL: http://svn.freebsd.org/changeset/base/200269 Log: MFC r198963: sh: Fix memory leak when using a variable in arithmetic like $((x)). Modified: stable/7/bin/sh/arith_lex.l Directory Properties: stable/7/bin/sh/ (props

svn commit: r200270 - head/contrib/netcat

2009-12-08 Thread Xin LI
Author: delphij Date: Tue Dec 8 19:12:38 2009 New Revision: 200270 URL: http://svn.freebsd.org/changeset/base/200270 Log: What we have in base system is actually OpenBSD 4.5's netcat, update this file to reflect the fact. Modified: head/contrib/netcat/FREEBSD-vendor Modified: head/contrib

svn commit: r200271 - stable/7/sys/kern

2009-12-08 Thread Fabien Thomas
Author: fabient Date: Tue Dec 8 19:18:32 2009 New Revision: 200271 URL: http://svn.freebsd.org/changeset/base/200271 Log: MFC 198464: Inform hwpmc(4) of a thread's impending demise prior to invoking sched_throw(). Modified: stable/7/sys/kern/kern_thread.c Directory Properties: stable/7/

svn commit: r200272 - in head/sys: sparc64/sparc64 sun4v/sun4v

2009-12-08 Thread Marius Strobl
Author: marius Date: Tue Dec 8 20:18:54 2009 New Revision: 200272 URL: http://svn.freebsd.org/changeset/base/200272 Log: Add additional checks of the kernel stack addresses in order to ensure we don't overrun the end of the call chain. MFC after:1 week Modified: head/sys/sparc64/s

Re: svn commit: r200171 - in head: sbin/atacontrol sys/arm/mv sys/cam/ata sys/cam/scsi sys/conf sys/dev/ata sys/dev/ata/chipsets sys/powerpc/powermac sys/powerpc/psim

2009-12-08 Thread Kristof Provost
On 2009-12-06 00:10:13 (+), Alexander Motin wrote: > Author: mav > Date: Sun Dec 6 00:10:13 2009 > New Revision: 200171 > URL: http://svn.freebsd.org/changeset/base/200171 I think this commit broke the build for mv_sata. sys/arm/mv/mv_sata.c currently reads: @@ -751,10 +751,10 @@ static in

Re: svn commit: r200171 - in head: sbin/atacontrol sys/arm/mv sys/cam/ata sys/cam/scsi sys/conf sys/dev/ata sys/dev/ata/chipsets sys/powerpc/powermac sys/powerpc/psim

2009-12-08 Thread Alexander Motin
Kristof Provost wrote: > This doesn't build because 'dev' isn't defined. As far as I can tell the > following patch matches what was intended, but I have no idea if it's > correct. It does at least build: Oops! Missed it. Please test this one: http://people.freebsd.org/~mav/mv_sata.c.patch -- Al

svn commit: r200273 - head/sys/kern

2009-12-08 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Dec 8 20:47:10 2009 New Revision: 200273 URL: http://svn.freebsd.org/changeset/base/200273 Log: Don't add VAPPEND if the file is not being opened for writing. Note that this only affects cases where open(2) is being used improperly - i.e. when the user specifies O_A

svn commit: r200274 - head/lib/libc/gen

2009-12-08 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 8 20:48:06 2009 New Revision: 200274 URL: http://svn.freebsd.org/changeset/base/200274 Log: sem_init(3): document process shared semaphores and their restrictions Modified: head/lib/libc/gen/sem_init.3 Modified: head/lib/libc/gen/sem_init.3 =

Re: svn commit: r200171 - in head: sbin/atacontrol sys/arm/mv sys/cam/ata sys/cam/scsi sys/conf sys/dev/ata sys/dev/ata/chipsets sys/powerpc/powermac sys/powerpc/psim

2009-12-08 Thread Kristof Provost
On 2009-12-08 22:46:45 (+0200), Alexander Motin wrote: > Kristof Provost wrote: > > This doesn't build because 'dev' isn't defined. As far as I can tell the > > following patch matches what was intended, but I have no idea if it's > > correct. It does at least build: > > Oops! Missed it. Please t

svn commit: r200275 - head/sys/arm/mv

2009-12-08 Thread Alexander Motin
Author: mav Date: Tue Dec 8 21:42:04 2009 New Revision: 200275 URL: http://svn.freebsd.org/changeset/base/200275 Log: Fix the build. Modified: head/sys/arm/mv/mv_sata.c Modified: head/sys/arm/mv/mv_sata.c == --- hea

Re: svn commit: r200274 - head/lib/libc/gen

2009-12-08 Thread John Baldwin
On Tuesday 08 December 2009 3:48:06 pm Jilles Tjoelker wrote: > Author: jilles > Date: Tue Dec 8 20:48:06 2009 > New Revision: 200274 > URL: http://svn.freebsd.org/changeset/base/200274 > > Log: > sem_init(3): document process shared semaphores and their restrictions I think the other language

svn commit: r200276 - stable/7/sys/geom/virstor

2009-12-08 Thread Xin LI
Author: delphij Date: Tue Dec 8 21:46:30 2009 New Revision: 200276 URL: http://svn.freebsd.org/changeset/base/200276 Log: MFC r180120: Avoid NULL deference. Modified: stable/7/sys/geom/virstor/g_virstor.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/

Re: svn commit: r200274 - head/lib/libc/gen

2009-12-08 Thread Jilles Tjoelker
On Tue, Dec 08, 2009 at 04:45:37PM -0500, John Baldwin wrote: > On Tuesday 08 December 2009 3:48:06 pm Jilles Tjoelker wrote: > > Author: jilles > > Date: Tue Dec 8 20:48:06 2009 > > New Revision: 200274 > > URL: http://svn.freebsd.org/changeset/base/200274 > > Log: > > sem_init(3): document pr

svn commit: r200277 - in stable/8/sys/fs: nfs nfsserver

2009-12-08 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 8 22:28:55 2009 New Revision: 200277 URL: http://svn.freebsd.org/changeset/base/200277 Log: MFC: r199616 Patch the experimental NFS server is a manner analagous to r197525, so that the creation verifier is handled correctly in va_atime for 64bit architecture

svn commit: r200279 - in stable/7: bin/sh tools/regression/bin/sh/execution

2009-12-08 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 8 22:37:07 2009 New Revision: 200279 URL: http://svn.freebsd.org/changeset/base/200279 Log: MFC r196483,r196634: sh: Fix crash when undefining or redefining a currently executing function Add a reference count to function definitions. Memory may leak if a S

svn commit: r200280 - head/sys/amd64/acpica

2009-12-08 Thread Jung-uk Kim
Author: jkim Date: Tue Dec 8 22:38:42 2009 New Revision: 200280 URL: http://svn.freebsd.org/changeset/base/200280 Log: Simplify a macro not to generate unncessary symbols. Modified: head/sys/amd64/acpica/acpi_switch.S Modified: head/sys/amd64/acpica/acpi_switch.S ===

svn commit: r200281 - stable/8/sys/fs/nfsserver

2009-12-08 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 8 22:41:37 2009 New Revision: 200281 URL: http://svn.freebsd.org/changeset/base/200281 Log: MFC: r199715 Modify the experimental nfs server so that it falls back to using VOP_LOOKUP() when VFS_VGET() returns EOPNOTSUPP in the ReaddirPlus RPC. This patch is b

svn commit: r200282 - head/sbin/geom/class/mirror

2009-12-08 Thread Alexander Motin
Author: mav Date: Tue Dec 8 22:43:29 2009 New Revision: 200282 URL: http://svn.freebsd.org/changeset/base/200282 Log: Change gmirror default balance algorithm from "split" to "load". "split" is very ineffective for devices with rotating media as HDDs. To be effective, it needs that transfer

Re: svn commit: r200274 - head/lib/libc/gen

2009-12-08 Thread John Baldwin
On Tuesday 08 December 2009 5:10:28 pm Jilles Tjoelker wrote: > On Tue, Dec 08, 2009 at 04:45:37PM -0500, John Baldwin wrote: > > On Tuesday 08 December 2009 3:48:06 pm Jilles Tjoelker wrote: > > > Author: jilles > > > Date: Tue Dec 8 20:48:06 2009 > > > New Revision: 200274 > > > URL: http://svn.

svn commit: r200284 - in stable/8: . contrib/top lib/libusb sbin/geom/class/mirror sys/geom/mirror tools/regression/lib/msun tools/regression/usr.bin/pkill tools/tools/ath/common tools/tools/termca...

2009-12-08 Thread Alexander Motin
Author: mav Date: Tue Dec 8 23:15:48 2009 New Revision: 200284 URL: http://svn.freebsd.org/changeset/base/200284 Log: MFC r196879: Add support for changing providers priority. Modified: stable/8/sbin/geom/class/mirror/geom_mirror.c stable/8/sbin/geom/class/mirror/gmirror.8 stable/8/sys

svn commit: r200285 - stable/8/sys/geom/mirror

2009-12-08 Thread Alexander Motin
Author: mav Date: Tue Dec 8 23:23:45 2009 New Revision: 200285 URL: http://svn.freebsd.org/changeset/base/200285 Log: MFC r200086: Change 'load' balancing mode algorithm: - Instead of measuring last request execution time for each drive and choosing one with smallest time, use averaged nu

svn commit: r200286 - stable/7/sys/geom/mirror

2009-12-08 Thread Alexander Motin
Author: mav Date: Tue Dec 8 23:34:34 2009 New Revision: 200286 URL: http://svn.freebsd.org/changeset/base/200286 Log: MFC r200086: Change 'load' balancing mode algorithm: - Instead of measuring last request execution time for each drive and choosing one with smallest time, use averaged nu

svn commit: r200287 - head/sys/fs/nfsserver

2009-12-08 Thread Xin LI
Author: delphij Date: Tue Dec 8 23:43:50 2009 New Revision: 200287 URL: http://svn.freebsd.org/changeset/base/200287 Log: Allow using IPv6 in nfsrvd_sentcache() callback. PR: kern/141289 Submitted by: Petr Lampa Approved by: rmacklem MFC after:1 week Modified: head