Re: svn commit: r212138 - head/share/examples/etc

2010-09-01 Thread Maxim Konovalov
Just a short followup: csup(1) actually has '-g' (command line mode, no graphics) flag for compatibility with cvsup(1) while doesn't announce it in usage(). We still have "SUPFLAGS=-g -L2" in src/Makefile.inc1 and perhaps it's time to remove '-g' there too. On Thu, 2 Sep 2010, 05:07-, Maxim K

svn commit: r212138 - head/share/examples/etc

2010-09-01 Thread Maxim Konovalov
Author: maxim Date: Thu Sep 2 05:07:34 2010 New Revision: 212138 URL: http://svn.freebsd.org/changeset/base/212138 Log: o csup(1) does not have -g flag. Remove it from the example. PR: conf/150214 Submitted by: Li MFC after:1 week Modified: head/share/examples/etc/mak

svn commit: r212136 - in head/sys/dev/usb: . net serial storage

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Thu Sep 2 04:39:45 2010 New Revision: 212136 URL: http://svn.freebsd.org/changeset/base/212136 Log: Reduce the need to accesss struct usb_device by providing functions to access the product, manufacturer and serial strings. Submitted by: Hans Petter Selasky Modifie

svn commit: r212135 - head/sys/dev/usb

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Thu Sep 2 04:05:00 2010 New Revision: 212135 URL: http://svn.freebsd.org/changeset/base/212135 Log: Add support for power mode filtering as some USB hardware does not support power saving. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/usb_controlle

svn commit: r212134 - in head/sys/dev/usb: . controller

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Thu Sep 2 04:01:18 2010 New Revision: 212134 URL: http://svn.freebsd.org/changeset/base/212134 Log: Change argument for usbd_get_dma_delay() from USB bus to USB device, some embedded hardware needs to know exactly which device is in question before it exactly can decid

svn commit: r212133 - head/sys/dev/usb/net

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Thu Sep 2 03:55:08 2010 New Revision: 212133 URL: http://svn.freebsd.org/changeset/base/212133 Log: Fix setting of the rx_max and tx_max variables. If the expected buffer size is greater than 65535 bytes then the CDC driver might not work as expected, which is not like

svn commit: r212132 - head/sys/dev/usb/input

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Thu Sep 2 03:52:04 2010 New Revision: 212132 URL: http://svn.freebsd.org/changeset/base/212132 Log: Fix UMS_BUTTON_MAX define name Modified: head/sys/dev/usb/input/ums.c Modified: head/sys/dev/usb/input/ums.c

svn commit: r212131 - head/sys/dev/usb/wlan

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Thu Sep 2 03:50:11 2010 New Revision: 212131 URL: http://svn.freebsd.org/changeset/base/212131 Log: Fix build breakage from r212127 Modified: head/sys/dev/usb/wlan/if_upgt.c head/sys/dev/usb/wlan/if_urtw.c Modified: head/sys/dev/usb/wlan/if_upgt.c ===

svn commit: r212130 - head/sys/dev/usb/net

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Thu Sep 2 03:47:07 2010 New Revision: 212130 URL: http://svn.freebsd.org/changeset/base/212130 Log: Add GPIO programming for more PHY hardware. Submitted by: yongari Modified: head/sys/dev/usb/net/if_axe.c head/sys/dev/usb/net/if_axereg.h Modified: head/sys/dev/

svn commit: r212129 - head/sys/dev/usb/input

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Thu Sep 2 03:44:56 2010 New Revision: 212129 URL: http://svn.freebsd.org/changeset/base/212129 Log: Add support for extra buttons on the Kensington Slimblade Trackball. Submitted by: Lee, Chung-Yeol Modified: head/sys/dev/usb/input/ums.c Modified: head/sys/dev/usb

svn commit: r212128 - head/sys/dev/usb/input

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Thu Sep 2 03:42:26 2010 New Revision: 212128 URL: http://svn.freebsd.org/changeset/base/212128 Log: Silence debug error by default. PR: usb/141212 Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/input/ukbd.c Modified: head/sys/dev/usb/inpu

svn commit: r212127 - head/sys/dev/usb/wlan

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Thu Sep 2 03:28:03 2010 New Revision: 212127 URL: http://svn.freebsd.org/changeset/base/212127 Log: We need to grab a node reference count to vap->iv_bss before using it as it is possible for the node to be replaced and freed at any time by ieee80211_sta_join1(). Modi

svn commit: r212126 - head/sys/boot/i386/libi386

2010-09-01 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 2 01:05:10 2010 New Revision: 212126 URL: http://svn.freebsd.org/changeset/base/212126 Log: Modify pxe.c to use the version of nfs_getrootfh() that returns the file handle's size and was recently committed to lib/libstand/nfs.c. This allows pxeboot to use NFSv

svn commit: r212125 - head/lib/libstand

2010-09-01 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 2 01:00:13 2010 New Revision: 212125 URL: http://svn.freebsd.org/changeset/base/212125 Log: Modify lib/libstand/nfs.c to use NFSv3 instead of NFSv2. This allows the nfs_getrootfh() function to return the correct file handle size to pxe.c for pxeboot. It also

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 2 00:44:05 2010 New Revision: 212124 URL: http://svn.freebsd.org/changeset/base/212124 Log: Fix stupid error in r212109 which didn't swap DMA maps. This caused IOMMU panic on sparc64 under high TX load. Modified: head/sys/dev/sis/if_sis.c Modified: head/sys/d

svn commit: r212123 - head/sys/nfsclient

2010-09-01 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 1 23:51:07 2010 New Revision: 212123 URL: http://svn.freebsd.org/changeset/base/212123 Log: Modify nfs_diskless.c to recognize the environment variable boot.nfsroot.nfshandlelen and set the diskless root fs to use NFSv3 and this file handle length when it is s

svn commit: r212122 - in head/sys/dev: if_ndis usb usb/input usb/misc usb/net usb/serial usb/storage usb/wlan

2010-09-01 Thread Andrew Thompson
Author: thompsa Date: Wed Sep 1 23:47:53 2010 New Revision: 212122 URL: http://svn.freebsd.org/changeset/base/212122 Log: Add missing MODULE_VERSION() definitions, this resolves problems around duplicate module loads. PR: usb/125736 Submitted by: danger, mm Reviewed by: hs

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 1 22:50:11 2010 New Revision: 212121 URL: http://svn.freebsd.org/changeset/base/212121 Log: Move sis_reset() to sis_initl(). This ensures driver starts with known good state of controller. Modified: head/sys/dev/sis/if_sis.c Modified: head/sys/dev/sis/if_sis.

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

2010-09-01 Thread mdf
On Wed, Sep 1, 2010 at 2:31 PM, John Baldwin wrote: > On Wednesday, September 01, 2010 4:32:48 pm Matthew D Fleming wrote: >> Author: mdf >> Date: Wed Sep  1 20:32:47 2010 >> New Revision: 212115 >> URL: http://svn.freebsd.org/changeset/base/212115 >> >> Log: >>   Fix a bug with sched_affinity() w

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 1 22:16:25 2010 New Revision: 212120 URL: http://svn.freebsd.org/changeset/base/212120 Log: Avoid controller reinitialization which could be triggered by dhclient(8) or alias addresses are added. PR: kern/87506 Modified: head/sys/dev/sis/if_sis.c Modif

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 1 22:08:23 2010 New Revision: 212119 URL: http://svn.freebsd.org/changeset/base/212119 Log: Do not reinitialize controller whenever promiscuous mode or allmulti is toggled. Controller does not require reinitialization. This removes unnecessary controller reinit

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 1 21:44:36 2010 New Revision: 212117 URL: http://svn.freebsd.org/changeset/base/212117 Log: Report result of link state change to caller. Previously it always returned success. Modified: head/sys/dev/sis/if_sis.c Modified: head/sys/dev/sis/if_sis.c ==

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 1 21:42:19 2010 New Revision: 212116 URL: http://svn.freebsd.org/changeset/base/212116 Log: Overhaul link state change handling. Previously sis(4) blindly configured TX/RX MACs before getting a valid link. After that, when link state change callback is called,

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

2010-09-01 Thread John Baldwin
On Wednesday, September 01, 2010 4:32:48 pm Matthew D Fleming wrote: > Author: mdf > Date: Wed Sep 1 20:32:47 2010 > New Revision: 212115 > URL: http://svn.freebsd.org/changeset/base/212115 > > Log: > Fix a bug with sched_affinity() where it checks td_pinned of another > thread in a racy mann

svn commit: r212115 - head/sys/kern

2010-09-01 Thread Matthew D Fleming
Author: mdf Date: Wed Sep 1 20:32:47 2010 New Revision: 212115 URL: http://svn.freebsd.org/changeset/base/212115 Log: Fix a bug with sched_affinity() where it checks td_pinned of another thread in a racy manner, which can lead to attempting to migrate a thread that is pinned to a CPU. Inst

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 1 19:53:15 2010 New Revision: 212113 URL: http://svn.freebsd.org/changeset/base/212113 Log: s/u_intXX_t/uintXX_t/g Modified: head/sys/dev/sis/if_sis.c head/sys/dev/sis/if_sisreg.h Modified: head/sys/dev/sis/if_sis.c ===

svn commit: r212112 - in head: share/man/man9 sys/kern sys/sys

2010-09-01 Thread Max Laier
Author: mlaier Date: Wed Sep 1 19:50:03 2010 New Revision: 212112 URL: http://svn.freebsd.org/changeset/base/212112 Log: rmlock(9) two additions and one change/fix: - add rm_try_rlock(). - add RM_SLEEPABLE to use sx(9) as the back-end lock in order to sleep while holding the write lo

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 1 19:33:40 2010 New Revision: 212109 URL: http://svn.freebsd.org/changeset/base/212109 Log: bus_dma(9) cleanup. o Enforce TX/RX descriptor ring alignment. NS data sheet says the controller needs 4 bytes alignment but use 16 to cover both SiS and NS con

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 1 18:41:59 2010 New Revision: 212105 URL: http://svn.freebsd.org/changeset/base/212105 Log: Nuke unnecessary return at the end of function. Modified: head/sys/dev/sis/if_sis.c Modified: head/sys/dev/sis/if_sis.c =

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 1 18:39:35 2010 New Revision: 212104 URL: http://svn.freebsd.org/changeset/base/212104 Log: style(9) - space after keywords. Modified: head/sys/dev/sis/if_sis.c Modified: head/sys/dev/sis/if_sis.c

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

2010-09-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 1 18:28:08 2010 New Revision: 212103 URL: http://svn.freebsd.org/changeset/base/212103 Log: Remove leading and trailing white spaces. No functional changes. Modified: head/sys/dev/sis/if_sis.c head/sys/dev/sis/if_sisreg.h Modified: head/sys/dev/sis/if_sis.c

svn commit: r212102 - head/sys/mips/rmi

2010-09-01 Thread Jayachandran C.
Author: jchandra Date: Wed Sep 1 17:35:31 2010 New Revision: 212102 URL: http://svn.freebsd.org/changeset/base/212102 Log: Updates for the RMI MIPS platform code - set cache_coherent_dma flag in cpuinfo for XLR, this will make sure that BUS_DMA_COHERENT flag is handled correctly in busdma

svn commit: r212100 - head/sys/net

2010-09-01 Thread Ed Maste
Author: emaste Date: Wed Sep 1 16:53:38 2010 New Revision: 212100 URL: http://svn.freebsd.org/changeset/base/212100 Log: Add a sysctl knob to accept input packets on any link in a failover lagg. Modified: head/sys/net/if_lagg.c Modified: head/sys/net/if_lagg.c ==

svn commit: r212099 - head/sys/netinet

2010-09-01 Thread Michael Tuexen
Author: tuexen Date: Wed Sep 1 16:11:26 2010 New Revision: 212099 URL: http://svn.freebsd.org/changeset/base/212099 Log: Fix a bug which results in peer IPv4 addresses a.b.c.d with 224<=d<=239 incorrectly being detected as multicast addresses on little endian systems. MFC after: 2 weeks

svn commit: r212098 - head/sys/boot/pc98/boot2

2010-09-01 Thread Dimitry Andric
Author: dim Date: Wed Sep 1 15:24:47 2010 New Revision: 212098 URL: http://svn.freebsd.org/changeset/base/212098 Log: Use a cleaner expression to retrieve the memory size in pc98's boot2.c, which also avoids NULL pointer arithmetic, as suggested by jhb. The available space goes from 11 byt

svn commit: r212096 - head/sys/kern

2010-09-01 Thread Ed Maste
Author: emaste Date: Wed Sep 1 13:47:11 2010 New Revision: 212096 URL: http://svn.freebsd.org/changeset/base/212096 Log: As long as we are going to panic anyway, there's no need to hide additional information behind DIAGNOSTIC. Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vf

svn commit: r212095 - head/lib/libthr/thread

2010-09-01 Thread David Xu
Author: davidxu Date: Wed Sep 1 13:22:55 2010 New Revision: 212095 URL: http://svn.freebsd.org/changeset/base/212095 Log: Remove incorrect comments, also make sure signal is disabled when unregistering sigaction. Modified: head/lib/libthr/thread/thr_sig.c Modified: head/lib/libthr/thread/

svn commit: r212094 - head/share/man/man7

2010-09-01 Thread Maxim Konovalov
Author: maxim Date: Wed Sep 1 12:08:54 2010 New Revision: 212094 URL: http://svn.freebsd.org/changeset/base/212094 Log: o Sync the man page with the reality: nfs/ includes are under include/ and include/fs/. PR: docs/139153 Submitted by: gjb MFC after:1 week Modified:

svn commit: r212093 - head/sys/cddl/dev/dtrace

2010-09-01 Thread Rui Paulo
Author: rpaulo Date: Wed Sep 1 12:08:32 2010 New Revision: 212093 URL: http://svn.freebsd.org/changeset/base/212093 Log: Make the /dev/dtrace/helper node have the mode 0660. This allows programs that refuse to run as root (pgsql) to install probes when their user is part of the wheel group.

svn commit: r212092 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2010-09-01 Thread Rui Paulo
Author: rpaulo Date: Wed Sep 1 11:27:09 2010 New Revision: 212092 URL: http://svn.freebsd.org/changeset/base/212092 Log: Include on a generated header. Sponsored by: The FreeBSD Foundation Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_program.c Modified: head/cddl/co

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

2010-09-01 Thread Ed Schouten
Author: ed Date: Wed Sep 1 09:53:24 2010 New Revision: 212087 URL: http://svn.freebsd.org/changeset/base/212087 Log: Remove reference to device minor numbers in psm(4) man page. The number returned by stat(2) is generated automatically, so it is not possible to deduce whether the device

svn commit: r212084 - head/sbin/geom/core

2010-09-01 Thread Maxim Konovalov
Author: maxim Date: Wed Sep 1 08:32:40 2010 New Revision: 212084 URL: http://svn.freebsd.org/changeset/base/212084 Log: o List MOUNTVER and SCHED classes. X-ref gsched(8). Bump Dd. PR: docs/149925 Submitted by: arundel Modified: head/sbin/geom/core/geom.8 Modified: head/s

svn commit: r212083 - head/lib/libthr/thread

2010-09-01 Thread David Xu
Author: davidxu Date: Wed Sep 1 07:09:46 2010 New Revision: 212083 URL: http://svn.freebsd.org/changeset/base/212083 Log: In function __pthread_cxa_finalize(), also make code for removing atfork handler be async-signal safe. Modified: head/lib/libthr/thread/thr_fork.c Modified: head/lib/l