Re: svn commit: r206497 - in head: sbin/geom/class sbin/geom/class/sched sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/modules/geom/geom_sched/gs_sched sys/modules/geom/geom_sched/gs

2010-04-14 Thread Luigi Rizzo
On Wed, Apr 14, 2010 at 11:01:17PM +0200, Pawel Jakub Dawidek wrote: > On Wed, Apr 14, 2010 at 06:05:54PM +0200, Fabio Checconi wrote: > > - Some classes (from a quick look I've seen only g_mirror, but I'm > > pretty sure there were some other ones) cache pointers to their > > providers.

svn commit: r206639 - in head/sys: ddb net

2010-04-14 Thread Julian Elischer
Author: julian Date: Wed Apr 14 23:06:07 2010 New Revision: 206639 URL: http://svn.freebsd.org/changeset/base/206639 Log: Move two copies of the same definition to a common include file. MFC after: 3 weeks Modified: head/sys/ddb/db_sym.c head/sys/net/vnet.c head/sys/net/vnet.h Modif

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

2010-04-14 Thread Gavin Atkinson
Author: gavin Date: Wed Apr 14 22:03:48 2010 New Revision: 206638 URL: http://svn.freebsd.org/changeset/base/206638 Log: Use the UIPROTO_BOOT_KEYBOARD #define from usb.h rather than a local (almost identically named) local #define. Reviewed by: hselasky Modified: head/sys/dev/usb/inpu

svn commit: r206637 - in head: sbin/ifconfig share/man/man4 sys/net

2010-04-14 Thread Xin LI
Author: delphij Date: Wed Apr 14 22:02:19 2010 New Revision: 206637 URL: http://svn.freebsd.org/changeset/base/206637 Log: When an underlying ioctl(2) handler returns an error, our ioctl(2) interface considers that it hits a fatal error, and will not copyout the request structure back for _I

svn commit: r206635 - head/usr.sbin/pmcstat

2010-04-14 Thread Fabien Thomas
Author: fabient Date: Wed Apr 14 21:53:27 2010 New Revision: 206635 URL: http://svn.freebsd.org/changeset/base/206635 Log: Move fatal error at the right place. Fix exit from top mode when checking if PMC is available. MFC after: 3 days Modified: head/usr.sbin/pmcstat/pmcpl_callgraph.c

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

2010-04-14 Thread Julian Elischer
Author: julian Date: Wed Apr 14 21:44:14 2010 New Revision: 206633 URL: http://svn.freebsd.org/changeset/base/206633 Log: Man page change to documant slight change in ktr_alq behaviour. Modified: head/share/man/man4/ktr.4 Modified: head/share/man/man4/ktr.4 ==

svn commit: r206632 - head/sys/kern

2010-04-14 Thread Julian Elischer
Author: julian Date: Wed Apr 14 21:42:29 2010 New Revision: 206632 URL: http://svn.freebsd.org/changeset/base/206632 Log: Change the semantics of the debug.ktr.alq_enable control so that when you disable alq, it acts as if alq had not been enabled in the build. in other words, the rest of k

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

2010-04-14 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 14 21:27:48 2010 New Revision: 206631 URL: http://svn.freebsd.org/changeset/base/206631 Log: Add sge(4) man page and hook up sge(4) to the build. Also add Xr to appropriate man pages. Added: head/share/man/man4/sge.4 (contents, props changed) Modified: head

Re: svn commit: r206497 - in head: sbin/geom/class sbin/geom/class/sched sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/modules/geom/geom_sched/gs_sched sys/modules/geom/geom_sched/gs

2010-04-14 Thread Pawel Jakub Dawidek
On Wed, Apr 14, 2010 at 06:05:54PM +0200, Fabio Checconi wrote: > - Some classes (from a quick look I've seen only g_mirror, but I'm > pretty sure there were some other ones) cache pointers to their > providers. With these classes this implementation does not work. This can be easly cha

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

2010-04-14 Thread Jack F Vogel
Author: jfv Date: Wed Apr 14 20:55:33 2010 New Revision: 206629 URL: http://svn.freebsd.org/changeset/base/206629 Log: Add a missing fragment in the tx msix handler to invoke another if all work is not done. Sync the igb driver with changes suggested by yongari and made in em, these mad

svn commit: r206628 - head/usr.sbin/sysinstall

2010-04-14 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 14 20:54:23 2010 New Revision: 206628 URL: http://svn.freebsd.org/changeset/base/206628 Log: Add sge(4) to the list of supported network interface. Modified: head/usr.sbin/sysinstall/devices.c Modified: head/usr.sbin/sysinstall/devices.c

svn commit: r206627 - head/sys/contrib/ipfilter/netinet

2010-04-14 Thread Warner Losh
Author: imp Date: Wed Apr 14 20:50:07 2010 New Revision: 206627 URL: http://svn.freebsd.org/changeset/base/206627 Log: We don't need the definition for in_cksum repeated here since we get it from machine/in_cksum.h. This definition prevents us from using hand-tuned assembler versions of in_

svn commit: r206625 - in head/sys: amd64/conf boot/forth conf dev/sge i386/conf modules modules/sge

2010-04-14 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 14 20:45:33 2010 New Revision: 206625 URL: http://svn.freebsd.org/changeset/base/206625 Log: Add driver for Silicon Integrated Systems SiS190/191 Fast/Gigabit Ethernet. This driver was written by Alexander Pohoyda and greatly enhanced by Nikolay Denev. I don't h

svn commit: r206624 - head/gnu/usr.bin/gdb/gdbserver

2010-04-14 Thread Warner Losh
Author: imp Date: Wed Apr 14 20:31:06 2010 New Revision: 206624 URL: http://svn.freebsd.org/changeset/base/206624 Log: Make this directory more regular. Since it is one we control, use the freebsd-based names for filenames. This allows us to eliminate almost all of the uses of ${MACHINE_AR

svn commit: r206623 - head/sys/amd64/amd64

2010-04-14 Thread Konstantin Belousov
Author: kib Date: Wed Apr 14 20:04:55 2010 New Revision: 206623 URL: http://svn.freebsd.org/changeset/base/206623 Log: ld_gs_base is executing with stack containing only the frame, temporary pushed %rflags has been popped already. Pointy hat to:kib MFC after:3 days Modified

svn commit: r206622 - in head: bin/pwait contrib/com_err gnu/usr.bin/gdb/kgdb lib/libc/gen lib/libc/posix1e lib/libc/stdlib lib/libcam lib/libcompat/4.1 lib/libcompat/4.4 lib/libedit lib/libelf lib...

2010-04-14 Thread Ulrich Spoerlein
Author: uqs Date: Wed Apr 14 19:08:06 2010 New Revision: 206622 URL: http://svn.freebsd.org/changeset/base/206622 Log: mdoc: order prologue macros consistently by Dd/Dt/Os Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/ma

svn commit: r206621 - head/usr.bin/csup

2010-04-14 Thread Ulrich Spoerlein
Author: uqs Date: Wed Apr 14 19:06:39 2010 New Revision: 206621 URL: http://svn.freebsd.org/changeset/base/206621 Log: Add and expand $FreeBSD$ keyword to allow committing to this file. Modified: head/usr.bin/csup/cpasswd.1 (contents, props changed) Modified: head/usr.bin/csup/cpasswd.1 ==

svn commit: r206619 - head/contrib/binutils/bfd

2010-04-14 Thread Warner Losh
Author: imp Date: Wed Apr 14 19:03:27 2010 New Revision: 206619 URL: http://svn.freebsd.org/changeset/base/206619 Log: Add armeb-*-freebsd* to the list of known architectures. This is like arm-*-freebsd*, except it defaults to big endian builds instead of little endian builds. Modified:

svn commit: r206618 - head

2010-04-14 Thread Warner Losh
Author: imp Date: Wed Apr 14 18:56:07 2010 New Revision: 206618 URL: http://svn.freebsd.org/changeset/base/206618 Log: Add note about TARGET_ARCH Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 == --- head/

svn commit: r206617 - head/sys/net80211

2010-04-14 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 14 18:29:40 2010 New Revision: 206617 URL: http://svn.freebsd.org/changeset/base/206617 Log: Make this code a little more portable by wrapping the mtx calls into macros. MFC after:1 week Modified: head/sys/net80211/ieee80211_freebsd.h head/sys/net8021

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

2010-04-14 Thread Ulrich Spoerlein
Author: uqs Date: Wed Apr 14 18:29:34 2010 New Revision: 206616 URL: http://svn.freebsd.org/changeset/base/206616 Log: mdoc: don't abuse Bo/Pc to get what looks like an interval Be explicit and use the general bracketing form plus symbols which are to be interpreted mathematically in this

svn commit: r206615 - in head/lib/libc: gen locale

2010-04-14 Thread Ulrich Spoerlein
Author: uqs Date: Wed Apr 14 18:29:26 2010 New Revision: 206615 URL: http://svn.freebsd.org/changeset/base/206615 Log: mdoc: remove .Pp where not needed This trips up mdocml and can simply go away. Reviewed by: ru Approved by: philip, ed (mentors) Modified: head/lib/libc/gen/con

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

2010-04-14 Thread Jack F Vogel
Author: jfv Date: Wed Apr 14 18:29:01 2010 New Revision: 206614 URL: http://svn.freebsd.org/changeset/base/206614 Log: Remove multiqueue stack related stuff form lem, it is unneeded for legacy hardware. Also remove some TSO related cruft. Add some watchdog_time setting that was missing, th

Re: svn commit: r206604 - head/sys/dev/ata/chipsets

2010-04-14 Thread Alexander Motin
Marius Strobl wrote: > On Wed, Apr 14, 2010 at 03:29:32PM +, Alexander Motin wrote: >> Author: mav >> Date: Wed Apr 14 15:29:32 2010 >> New Revision: 206604 >> URL: http://svn.freebsd.org/changeset/base/206604 >> >> Log: >> For early ALI chips do not announce I/O sizes that require unsupporte

Re: svn commit: r206604 - head/sys/dev/ata/chipsets

2010-04-14 Thread Marius Strobl
On Wed, Apr 14, 2010 at 03:29:32PM +, Alexander Motin wrote: > Author: mav > Date: Wed Apr 14 15:29:32 2010 > New Revision: 206604 > URL: http://svn.freebsd.org/changeset/base/206604 > > Log: > For early ALI chips do not announce I/O sizes that require unsupported > 48bit DMA commands. Wo

Re: svn commit: r206497 - in head: sbin/geom/class sbin/geom/class/sched sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/modules/geom/geom_sched/gs_sched sys/modules/geom/geom_sched/gs

2010-04-14 Thread Fabio Checconi
> From: Luigi Rizzo > Date: Wed, Apr 14, 2010 10:16:30AM +0200 > > [Cc-ing Fabio as he may have more details] > ... > > BTW. So you decided to implement insert/remove functionality after all. > > I have some questions: > > > > - It is implemented as internal gsched hack, which is a pity, because

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-14 Thread Kostik Belousov
On Wed, Apr 14, 2010 at 05:20:00PM +0300, Jaakko Heinonen wrote: > On 2010-04-14, Kostik Belousov wrote: > > > Otherwise sounds reasonable suggestion. However changes are needed in > > > devfs. Currently devfs_populate_loop() is not along the make_dev*() > > > code path but make_dev(9) increases a

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

2010-04-14 Thread Alexander Motin
Author: mav Date: Wed Apr 14 15:29:32 2010 New Revision: 206604 URL: http://svn.freebsd.org/changeset/base/206604 Log: For early ALI chips do not announce I/O sizes that require unsupported 48bit DMA commands. Modified: head/sys/dev/ata/chipsets/ata-acerlabs.c Modified: head/sys/dev/ata/ch

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-14 Thread Jaakko Heinonen
On 2010-04-14, Kostik Belousov wrote: > > Otherwise sounds reasonable suggestion. However changes are needed in > > devfs. Currently devfs_populate_loop() is not along the make_dev*() > > code path but make_dev(9) increases a generation counter and > > devfs_populate_loop() gets called sometimes la

svn commit: r206597 - head/sys/compat/linprocfs

2010-04-14 Thread Ed Maste
Author: emaste Date: Wed Apr 14 13:44:22 2010 New Revision: 206597 URL: http://svn.freebsd.org/changeset/base/206597 Log: Linux puts a blank line between each CPU. Modified: head/sys/compat/linprocfs/linprocfs.c Modified: head/sys/compat/linprocfs/linprocfs.c

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-14 Thread Kostik Belousov
On Wed, Apr 14, 2010 at 03:49:13PM +0300, Jaakko Heinonen wrote: > > Thank you for your comments. > > On 2010-04-14, Kostik Belousov wrote: > > The make_dev_credf() signature can be changed to return int error code > > instead of void, and a flag, lets call it MAKEDEV_CHECKNAME, added, > > make_

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-14 Thread Jaakko Heinonen
Thank you for your comments. On 2010-04-14, Kostik Belousov wrote: > The make_dev_credf() signature can be changed to return int error code > instead of void, and a flag, lets call it MAKEDEV_CHECKNAME, added, make_dev_credf() returns struct cdev *, not void. > that specifies that make_dev_cred

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-14 Thread Kostik Belousov
On Tue, Apr 13, 2010 at 06:53:39PM +, Jaakko Heinonen wrote: > Author: jh > Date: Tue Apr 13 18:53:39 2010 > New Revision: 206560 > URL: http://svn.freebsd.org/changeset/base/206560 > > Log: > - Ignore and report duplicate and empty device names in > devfs_populate_loop() > instead of c

Re: svn commit: r206497 - in head: sbin/geom/class sbin/geom/class/sched sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/modules/geom/geom_sched/gs_sched sys/modules/geom/geom_sched/gs

2010-04-14 Thread Luigi Rizzo
[Cc-ing Fabio as he may have more details] On Wed, Apr 14, 2010 at 09:46:17AM +0200, Pawel Jakub Dawidek wrote: > On Mon, Apr 12, 2010 at 11:05:12PM +0200, Luigi Rizzo wrote: > > On Mon, Apr 12, 2010 at 10:49:26PM +0200, Pawel Jakub Dawidek wrote: > > ... > > > > @@ -0,0 +1,19 @@ > > > > +# GEOM_L

Re: svn commit: r206497 - in head: sbin/geom/class sbin/geom/class/sched sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/modules/geom/geom_sched/gs_sched sys/modules/geom/geom_sched/gs

2010-04-14 Thread Pawel Jakub Dawidek
On Wed, Apr 14, 2010 at 09:46:17AM +0200, Pawel Jakub Dawidek wrote: > BTW. So you decided to implement insert/remove functionality after all. > I have some questions: > > - It is implemented as internal gsched hack, which is a pity, because > this might be very useful functionality for other cl

Re: svn commit: r206497 - in head: sbin/geom/class sbin/geom/class/sched sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/modules/geom/geom_sched/gs_sched sys/modules/geom/geom_sched/gs

2010-04-14 Thread Pawel Jakub Dawidek
On Mon, Apr 12, 2010 at 11:05:12PM +0200, Luigi Rizzo wrote: > On Mon, Apr 12, 2010 at 10:49:26PM +0200, Pawel Jakub Dawidek wrote: > ... > > > @@ -0,0 +1,19 @@ > > > +# GEOM_LIBRARY_PATH > > > +# $FreeBSD$ > > > + > > > +.PATH: /usr/src/sbin/geom/misc > > > + > > > +CFLAGS += -I/usr/src/sbin/geom

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

2010-04-14 Thread Kevin Lo
Author: kevlo Date: Wed Apr 14 07:07:43 2010 New Revision: 206595 URL: http://svn.freebsd.org/changeset/base/206595 Log: Eliminate duplicate comment Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs =