Re: svn commit: r231817 - head/usr.sbin/IPXrouted

2012-02-15 Thread Hiroki Sato
Eitan Adler wrote in <201202160517.q1g5h6z...@svn.freebsd.org>: ea> Author: eadler ea> Date: Thu Feb 16 05:17:06 2012 ea> New Revision: 231817 ea> URL: http://svn.freebsd.org/changeset/base/231817 ea> ea> Log: ea> Fix warning when compiling with gcc46 ea> ea> Approved by: cperciva

Re: svn commit: r231805 - in head/sys/fs: nfs nfsserver

2012-02-15 Thread Bruce Evans
On Thu, 16 Feb 2012, Rick Macklem wrote: Log: Delete a couple of out of date comments that are no longer true in the new NFS client. Requested by: bde MFC after: 1 week Thanks. Bruce ___ svn-src-head@freebsd.org mailing list http://lists.f

svn commit: r231819 - head/sys/vm

2012-02-15 Thread Alan Cox
Author: alc Date: Thu Feb 16 06:45:51 2012 New Revision: 231819 URL: http://svn.freebsd.org/changeset/base/231819 Log: When vm_mmap() is used to map a vm object into a kernel vm_map, it makes no sense to check the size of the kernel vm_map against the user-level resource limits for the calli

Re: svn commit: r231780 - head/share/mk

2012-02-15 Thread Bruce Evans
On Wed, 15 Feb 2012, Warner Losh wrote: Log: Wordsmith the can't find kernel error message, and suggest which variable to set to override. Modified: head/share/mk/bsd.kmod.mk Modified: head/share/mk/bsd.kmod.mk == -

svn commit: r231817 - head/usr.sbin/IPXrouted

2012-02-15 Thread Eitan Adler
Author: eadler Date: Thu Feb 16 05:17:06 2012 New Revision: 231817 URL: http://svn.freebsd.org/changeset/base/231817 Log: Fix warning when compiling with gcc46 Approved by: cperciva MFC after:3 days Modified: head/usr.sbin/IPXrouted/tables.c Modified: head/usr.sbin/IPXrouted/tabl

svn commit: r231816 - head/usr.bin/gencat

2012-02-15 Thread Eitan Adler
Author: eadler Date: Thu Feb 16 05:17:01 2012 New Revision: 231816 URL: http://svn.freebsd.org/changeset/base/231816 Log: Removed unused code: fixes compiler warning with CC=gcc46 error: parameter 'fd' set but not used Approved by: cperciva MFC after:1 week Modified: head/

svn commit: r231815 - head/usr.bin/elfdump

2012-02-15 Thread Eitan Adler
Author: eadler Date: Thu Feb 16 05:16:55 2012 New Revision: 231815 URL: http://svn.freebsd.org/changeset/base/231815 Log: Don't extract the n_type value from the elf header, since it is never used Fix warning when compiling with gcc46: variable 'type' set but not used Approved

svn commit: r231814 - in head/sys: kern sys

2012-02-15 Thread Eitan Adler
Author: eadler Date: Thu Feb 16 05:11:35 2012 New Revision: 231814 URL: http://svn.freebsd.org/changeset/base/231814 Log: Add a timestamp to the msgbuf output in order to determine when when messages were printed. This can be enabled with the kern.msgbuf_show_timestamp sysctl PR:

svn commit: r231813 - head/lib/libc/string

2012-02-15 Thread Eitan Adler
Author: eadler Date: Thu Feb 16 05:06:07 2012 New Revision: 231813 URL: http://svn.freebsd.org/changeset/base/231813 Log: Add err(3) to strerror(3) SEE ALSO section PR: docs/164940 Submitted by: Niclas Zeising Approved by: cperciva MFC after:3 days Modified: head/li

svn commit: r231810 - head/sys/boot/powerpc/boot1.chrp

2012-02-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Feb 16 03:27:38 2012 New Revision: 231810 URL: http://svn.freebsd.org/changeset/base/231810 Log: Make sure to synchronize icache for the newly loaded loader. Not an issue on most systems, when the relevant icache lines are not full. MFC after:2 weeks Modi

svn commit: r231805 - in head/sys/fs: nfs nfsserver

2012-02-15 Thread Rick Macklem
Author: rmacklem Date: Thu Feb 16 02:19:53 2012 New Revision: 231805 URL: http://svn.freebsd.org/changeset/base/231805 Log: Delete a couple of out of date comments that are no longer true in the new NFS client. Requested by: bde MFC after:1 week Modified: head/sys/fs/nfs/nfs_comm

svn commit: r231797 - in head/sys/amd64: acpica amd64

2012-02-15 Thread Jung-uk Kim
Author: jkim Date: Wed Feb 15 23:33:22 2012 New Revision: 231797 URL: http://svn.freebsd.org/changeset/base/231797 Log: Clean up RFLAG and CR3 register handling and nearby comments. For BSP, use spinlock_enter()/spinlock_exit() to save/restore RFLAGS. We know interrupt is disabled when ret

svn commit: r231796 - in head/sys/dev: e1000 ixgbe netmap

2012-02-15 Thread Luigi Rizzo
Author: luigi Date: Wed Feb 15 23:13:29 2012 New Revision: 231796 URL: http://svn.freebsd.org/changeset/base/231796 Log: (This commit only touches code within the DEV_NETMAP blocks) Introduce some functions to map NIC ring indexes into netmap ring indexes and vice versa. This way we can i

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

2012-02-15 Thread Jung-uk Kim
Author: jkim Date: Wed Feb 15 22:49:25 2012 New Revision: 231791 URL: http://svn.freebsd.org/changeset/base/231791 Log: Set up an event handler to turn off speaker if user requested it. Speaker will stop beeping after all device drivers are resumed. Use proper API to "acquire" and "release

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

2012-02-15 Thread Jung-uk Kim
Author: jkim Date: Wed Feb 15 22:10:33 2012 New Revision: 231787 URL: http://svn.freebsd.org/changeset/base/231787 Log: Make ACPI resume beeper less cryptic. Set PIC timer2 mode properly. Modified: head/sys/amd64/acpica/acpi_wakecode.S Modified: head/sys/amd64/acpica/acpi_wakecode.S ===

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

2012-02-15 Thread Jung-uk Kim
Author: jkim Date: Wed Feb 15 21:32:05 2012 New Revision: 231781 URL: http://svn.freebsd.org/changeset/base/231781 Log: Some BIOSes are known for corrupting low 64KB between suspend and resume. Mask off the first 16 pages unless we appear to be running in a VM. This address may be overridde

svn commit: r231780 - head/share/mk

2012-02-15 Thread Warner Losh
Author: imp Date: Wed Feb 15 21:20:58 2012 New Revision: 231780 URL: http://svn.freebsd.org/changeset/base/231780 Log: Wordsmith the can't find kernel error message, and suggest which variable to set to override. Modified: head/share/mk/bsd.kmod.mk Modified: head/share/mk/bsd.kmod.mk =

svn commit: r231778 - head/sys/dev/netmap

2012-02-15 Thread Luigi Rizzo
Author: luigi Date: Wed Feb 15 18:59:26 2012 New Revision: 231778 URL: http://svn.freebsd.org/changeset/base/231778 Log: reduce the differences between these three files. The three drivers (em, lem and igb) are extremely similar, too bad that the structures use different names and we cannot

svn commit: r231777 - head/lib/libc/sys

2012-02-15 Thread Xin LI
Author: delphij Date: Wed Feb 15 18:34:57 2012 New Revision: 231777 URL: http://svn.freebsd.org/changeset/base/231777 Log: Bump .Dd date for previous revision. Modified: head/lib/libc/sys/kqueue.2 Modified: head/lib/libc/sys/kqueue.2 ==

svn commit: r231770 - head/sys/powerpc/powermac

2012-02-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Feb 15 16:59:24 2012 New Revision: 231770 URL: http://svn.freebsd.org/changeset/base/231770 Log: Improve error handling in smusat(4). MFC after:4 days Modified: head/sys/powerpc/powermac/smusat.c Modified: head/sys/powerpc/powermac/smusat.c =

svn commit: r231767 - head/sys/netinet

2012-02-15 Thread Bjoern A. Zeeb
Author: bz Date: Wed Feb 15 16:09:56 2012 New Revision: 231767 URL: http://svn.freebsd.org/changeset/base/231767 Log: Fix PAWS (Protect Against Wrapped Sequence numbers) in cases when hz >> 1000 and thus getting outside the timestamp clock frequenceny of 1ms < x < 1s per tick as mandated by

svn commit: r231766 - head/sys/netgraph

2012-02-15 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 15 15:54:57 2012 New Revision: 231766 URL: http://svn.freebsd.org/changeset/base/231766 Log: Fix includes list. Submitted by: bde Modified: head/sys/netgraph/ng_base.c Modified: head/sys/netgraph/ng_base.c ===

Re: svn commit: r231760 - head/sys/netgraph

2012-02-15 Thread Bruce Evans
On Wed, 15 Feb 2012, Gleb Smirnoff wrote: On Thu, Feb 16, 2012 at 02:19:37AM +1100, Bruce Evans wrote: B> systm was already sorted. Like param.h, it defines important macros that ... is this patch okay? Yes. I'd prefer to leave sys/queue.h included explicitly. Yes, there is nothing bet

Re: svn commit: r231760 - head/sys/netgraph

2012-02-15 Thread Gleb Smirnoff
On Thu, Feb 16, 2012 at 02:19:37AM +1100, Bruce Evans wrote: B> On Wed, 15 Feb 2012, Gleb Smirnoff wrote: B> B> > Log: B> > style(9): sort includes. B> > Modified: head/sys/netgraph/ng_base.c B> > == B> > --- head/sys/ne

Re: svn commit: r231760 - head/sys/netgraph

2012-02-15 Thread Bruce Evans
On Wed, 15 Feb 2012, Gleb Smirnoff wrote: Log: style(9): sort includes. Modified: head/sys/netgraph/ng_base.c == --- head/sys/netgraph/ng_base.c Wed Feb 15 14:23:01 2012(r231759) +++ head/sys/netgraph/ng_base.c

svn commit: r231765 - head/sys/netgraph

2012-02-15 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 15 15:06:03 2012 New Revision: 231765 URL: http://svn.freebsd.org/changeset/base/231765 Log: Trim double empty lines. Modified: head/sys/netgraph/ng_base.c Modified: head/sys/netgraph/ng_base.c

svn commit: r231764 - head/sys/netgraph

2012-02-15 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 15 14:56:18 2012 New Revision: 231764 URL: http://svn.freebsd.org/changeset/base/231764 Log: Remove testing stuff, reducing kernel memory footprint by 1 Kb. Anyway, when we are building a LINT kernel, all these macros are tested via nodes. Modified: head/s

svn commit: r231761 - head/sys/netgraph

2012-02-15 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 15 14:29:23 2012 New Revision: 231761 URL: http://svn.freebsd.org/changeset/base/231761 Log: In ng_bypass() add more protection against potential race with ng_rmnode() and its followers. Modified: head/sys/netgraph/ng_base.c Modified: head/sys/netgraph/ng_base

svn commit: r231760 - head/sys/netgraph

2012-02-15 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 15 14:26:50 2012 New Revision: 231760 URL: http://svn.freebsd.org/changeset/base/231760 Log: style(9): sort includes. Modified: head/sys/netgraph/ng_base.c Modified: head/sys/netgraph/ng_base.c

svn commit: r231754 - head/sys/geom/part

2012-02-15 Thread Andrey V. Elsukov
Author: ae Date: Wed Feb 15 10:33:29 2012 New Revision: 231754 URL: http://svn.freebsd.org/changeset/base/231754 Log: Add additional check to EBR probe and create methods: don't try probe and create EBR scheme when parent partition type is not "ebr". This fixes error messages about corrupte

svn commit: r231751 - head/sys/geom/part

2012-02-15 Thread Andrey V. Elsukov
Author: ae Date: Wed Feb 15 10:02:19 2012 New Revision: 231751 URL: http://svn.freebsd.org/changeset/base/231751 Log: Add PART::type attribute handler. It returns partition type as string. MFC after:2 weeks Modified: head/sys/geom/part/g_part.c Modified: head/sys/geom/part/g_part.c