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

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 This doesn't look

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

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_LIBRARY_PATH

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 causing

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

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,

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 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 later. To

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

2010-04-14 Thread John Baldwin
Author: jhb Date: Wed Apr 14 15:00:46 2010 New Revision: 206598 URL: http://svn.freebsd.org/changeset/base/206598 Log: MFC 205851: Add a handler for the local APIC error interrupt. For now it just prints out the current value of the local APIC error register when the interrupt fires.

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

2010-04-14 Thread John Baldwin
Author: jhb Date: Wed Apr 14 15:01:49 2010 New Revision: 206599 URL: http://svn.freebsd.org/changeset/base/206599 Log: MFC 185933,205851: - Add constants for fields in the local APIC error status register. - Add a handler for the local APIC error interrupt. For now it just prints out

svn commit: r206600 - stable/8/etc

2010-04-14 Thread Hajimu UMEMOTO
Author: ume Date: Wed Apr 14 15:03:58 2010 New Revision: 206600 URL: http://svn.freebsd.org/changeset/base/206600 Log: MFC r206399, r206479: Disambiguate `IPs' to a more specific term. Modified: stable/8/etc/rc.firewall Directory Properties: stable/8/etc/ (props changed) Modified:

svn commit: r206601 - stable/7/lib/libc/sys

2010-04-14 Thread John Baldwin
Author: jhb Date: Wed Apr 14 15:20:30 2010 New Revision: 206601 URL: http://svn.freebsd.org/changeset/base/206601 Log: MFC 184226: Add a statement about the non-portability of non-page-aligned offsets. Modified: stable/7/lib/libc/sys/mmap.2 Directory Properties: stable/7/lib/libc/

svn commit: r206602 - in stable/8: lib/libc/sys sys/vm

2010-04-14 Thread John Baldwin
Author: jhb Date: Wed Apr 14 15:22:58 2010 New Revision: 206602 URL: http://svn.freebsd.org/changeset/base/206602 Log: MFC 205536: Reject attempts to create a MAP_ANON mapping with a non-zero offset. Modified: stable/8/lib/libc/sys/mmap.2 stable/8/sys/vm/vm_mmap.c Directory Properties:

svn commit: r206603 - in stable/7: lib/libc/sys sys/vm

2010-04-14 Thread John Baldwin
Author: jhb Date: Wed Apr 14 15:23:16 2010 New Revision: 206603 URL: http://svn.freebsd.org/changeset/base/206603 Log: MFC 205536: Reject attempts to create a MAP_ANON mapping with a non-zero offset. Modified: stable/7/lib/libc/sys/mmap.2 stable/7/sys/vm/vm_mmap.c Directory Properties:

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:

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

2010-04-14 Thread John Baldwin
Author: jhb Date: Wed Apr 14 15:33:15 2010 New Revision: 206605 URL: http://svn.freebsd.org/changeset/base/206605 Log: MFC 205886: Defer freeing a kevent list until after dropping kqueue locks. Modified: stable/8/sys/kern/kern_event.c Directory Properties: stable/8/sys/ (props changed)

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

2010-04-14 Thread John Baldwin
Author: jhb Date: Wed Apr 14 15:33:30 2010 New Revision: 206606 URL: http://svn.freebsd.org/changeset/base/206606 Log: MFC 205886: Defer freeing a kevent list until after dropping kqueue locks. Modified: stable/7/sys/kern/kern_event.c Directory Properties: stable/7/sys/ (props changed)

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: r206607 - stable/8/sys/vm

2010-04-14 Thread Alan Cox
Author: alc Date: Wed Apr 14 16:31:59 2010 New Revision: 206607 URL: http://svn.freebsd.org/changeset/base/206607 Log: MFC r206409 Introduce the function kmem_alloc_attr(), which allocates kernel virtual memory with the specified physical attributes. Correct an error in the

svn commit: r206608 - stable/8/sys/dev/bktr

2010-04-14 Thread Justin T. Gibbs
Author: gibbs Date: Wed Apr 14 16:37:34 2010 New Revision: 206608 URL: http://svn.freebsd.org/changeset/base/206608 Log: MFC revision 205781: Use standard types in preference to BSD types so that these header files can be used in applications compiled with only POSIX types visible.

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 ri...@iet.unipi.it 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,

svn commit: r206609 - stable/7/sys/vm

2010-04-14 Thread Alan Cox
Author: alc Date: Wed Apr 14 16:54:49 2010 New Revision: 206609 URL: http://svn.freebsd.org/changeset/base/206609 Log: MFC r206409 Introduce the function kmem_alloc_attr(), which allocates kernel virtual memory with the specified physical attributes. Correct an error in the

svn commit: r206610 - stable/8/sys/amd64/amd64

2010-04-14 Thread Justin T. Gibbs
Author: gibbs Date: Wed Apr 14 17:01:29 2010 New Revision: 206610 URL: http://svn.freebsd.org/changeset/base/206610 Log: MFC 204214: Enforce stronger bus-dma alignment semantics so bus-dma operates correctly with Xen's blkfront driver. Modified: stable/8/sys/amd64/amd64/busdma_machdep.c

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. Wouldn't

svn commit: r206611 - stable/8/lib/libstand

2010-04-14 Thread John Baldwin
Author: jhb Date: Wed Apr 14 17:17:06 2010 New Revision: 206611 URL: http://svn.freebsd.org/changeset/base/206611 Log: MFC 205900: Use panic() (which the environment is required to provide to libstand) to implement assert() instead of relying on a non-required exit(). The exit()

svn commit: r206612 - stable/7/lib/libstand

2010-04-14 Thread John Baldwin
Author: jhb Date: Wed Apr 14 17:17:25 2010 New Revision: 206612 URL: http://svn.freebsd.org/changeset/base/206612 Log: MFC 205900: Use panic() (which the environment is required to provide to libstand) to implement assert() instead of relying on a non-required exit(). The exit()

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 unsupported 48bit DMA

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,

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:

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

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

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 == ---

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: 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: 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

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

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

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

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

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: 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

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

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:

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

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: 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: 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

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:

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

svn commit: r206640 - in stable/8/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2010-04-14 Thread Xin LI
Author: delphij Date: Thu Apr 15 01:20:30 2010 New Revision: 206640 URL: http://svn.freebsd.org/changeset/base/206640 Log: MFC r205198: Merge OpenSolaris revision 8802:010b31dd4c53: 6773366 zfs list memory consumption can be further reduced PR: bin/144720 Submitted

svn commit: r206641 - stable/8/cddl/contrib/opensolaris/cmd/zfs

2010-04-14 Thread Xin LI
Author: delphij Date: Thu Apr 15 01:22:38 2010 New Revision: 206641 URL: http://svn.freebsd.org/changeset/base/206641 Log: MFC r205199: Merge OpenSolaris revision 9365:7838a22eccd6: PSARC/2009/171 zfs list -d and zfs get -d 6762432 zfs list --depth PR: bin/144720

svn commit: r206642 - in stable/8/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2010-04-14 Thread Xin LI
Author: delphij Date: Thu Apr 15 01:25:17 2010 New Revision: 206642 URL: http://svn.freebsd.org/changeset/base/206642 Log: MFC r205200 + r206199 Merge OpenSolaris revision 9396:f41cf682d0d3: 6830813 zfs list -t all fails assertion *Note that this is only a partial merge of this

Re: svn commit: r206640 - in stable/8/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2010-04-14 Thread Andriy Gapon
on 15/04/2010 04:20 Xin LI said the following: Author: delphij Date: Thu Apr 15 01:20:30 2010 New Revision: 206640 URL: http://svn.freebsd.org/changeset/base/206640 Log: MFC r205198: Merge OpenSolaris revision 8802:010b31dd4c53: 6773366 zfs list memory consumption can be

Re: svn commit: r206642 - in stable/8/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2010-04-14 Thread Andriy Gapon
on 15/04/2010 04:25 Xin LI said the following: Author: delphij Date: Thu Apr 15 01:25:17 2010 New Revision: 206642 URL: http://svn.freebsd.org/changeset/base/206642 Log: MFC r205200 + r206199 Merge OpenSolaris revision 9396:f41cf682d0d3: 6830813 zfs list -t all fails