Re: svn commit: r187426 - head/sys/amd64/conf

2009-01-18 Thread Scott Long
Maxim Sobolev wrote: Author: sobomax Date: Mon Jan 19 07:10:11 2009 New Revision: 187426 URL: http://svn.freebsd.org/changeset/base/187426 Log: Add asr(4) and stge(4) from i386 GENERIC. Both drivers compile on amd64 and there is no particular reason for them to be i386-only. Yes, there is

svn commit: r187428 - in stable/7/sys: . amd64/include contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Alan Cox
Author: alc Date: Mon Jan 19 07:44:18 2009 New Revision: 187428 URL: http://svn.freebsd.org/changeset/base/187428 Log: MFC rev 180108 Compute NKPDPE from NKPT. This reduces the number of knobs that must be turned in order to change the size of the kernel virtual address space. Modified

svn commit: r187427 - head/sys/amd64/conf

2009-01-18 Thread Maxim Sobolev
Author: sobomax Date: Mon Jan 19 07:18:32 2009 New Revision: 187427 URL: http://svn.freebsd.org/changeset/base/187427 Log: Whitespace-only: reduce diff to the i386 GENERIC. Modified: head/sys/amd64/conf/GENERIC Modified: head/sys/amd64/conf/GENERIC ===

svn commit: r187426 - head/sys/amd64/conf

2009-01-18 Thread Maxim Sobolev
Author: sobomax Date: Mon Jan 19 07:10:11 2009 New Revision: 187426 URL: http://svn.freebsd.org/changeset/base/187426 Log: Add asr(4) and stge(4) from i386 GENERIC. Both drivers compile on amd64 and there is no particular reason for them to be i386-only. MFC after:2 weeks Modified:

svn commit: r187425 - in stable/7/sys: . amd64/include contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Alan Cox
Author: alc Date: Mon Jan 19 06:55:29 2009 New Revision: 187425 URL: http://svn.freebsd.org/changeset/base/187425 Log: MFC rev 180101 Strictly speaking, the definition of VM_MAX_KERNEL_ADDRESS is wrong. However, in practice, the error (currently) makes no difference because the compu

svn commit: r187422 - head/lib/libc/stdio

2009-01-18 Thread David Schultz
Author: das Date: Mon Jan 19 06:19:51 2009 New Revision: 187422 URL: http://svn.freebsd.org/changeset/base/187422 Log: - Add support for multibyte decimal_point encodings, e.g., U+066B. A forthcoming gdtoa import is needed to make this fully work. - Improve the way "nan(...)" is parsed. M

svn commit: r187421 - head/lib/libc/stdio

2009-01-18 Thread David Schultz
Author: das Date: Mon Jan 19 06:19:38 2009 New Revision: 187421 URL: http://svn.freebsd.org/changeset/base/187421 Log: Add support for multibyte decimal_point encodings, e.g., U+066B. Modified: head/lib/libc/stdio/vfprintf.c head/lib/libc/stdio/vfwprintf.c Modified: head/lib/libc/stdio/vfp

svn commit: r187420 - in stable/7/sys/amd64: amd64 include

2009-01-18 Thread Alan Cox
Author: alc Date: Mon Jan 19 05:20:52 2009 New Revision: 187420 URL: http://svn.freebsd.org/changeset/base/187420 Log: MFC partial merge of rev 179886 Make preparations for increasing the size of the kernel virtual address space on the amd64 architecture. Modified: stable/7/sys/amd64/

svn commit: r187419 - in stable/7/sys: . amd64/amd64 contrib/pf dev/ath/ath_hal dev/cxgb i386/i386

2009-01-18 Thread Alan Cox
Author: alc Date: Mon Jan 19 04:31:18 2009 New Revision: 187419 URL: http://svn.freebsd.org/changeset/base/187419 Log: MFC rev 180255 Eliminate an unused declaration. (In fact, the declaration is bogus because the variable is defined static to pmap.c.) Modified: stable/7/sys/ (prop

svn commit: r187417 - in head/sys: dev/re pci

2009-01-18 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 19 02:31:27 2009 New Revision: 187417 URL: http://svn.freebsd.org/changeset/base/187417 Log: Sometimes RTL8168B seems to take long time to access GMII registers in device attach phase. Double GMII register access timeout value to fix the issue. Reported by:

svn commit: r187416 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-01-18 Thread Alan Cox
Author: alc Date: Mon Jan 19 01:03:42 2009 New Revision: 187416 URL: http://svn.freebsd.org/changeset/base/187416 Log: MFC rev 180262 Correct an error in the comments for init_param3(). Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/d

svn commit: r187414 - in stable/7/sys: . amd64/amd64 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Alan Cox
Author: alc Date: Sun Jan 18 23:34:17 2009 New Revision: 187414 URL: http://svn.freebsd.org/changeset/base/187414 Log: MFC rev 180362 Make preparations for increasing the size of the kernel virtual address space on the amd64 architecture: Rev 180333, ``Change create_pagetables() a

svn commit: r187413 - head/sys/conf

2009-01-18 Thread Andrew Thompson
Author: thompsa Date: Sun Jan 18 23:21:04 2009 New Revision: 187413 URL: http://svn.freebsd.org/changeset/base/187413 Log: Also strip the machine arch from SRCDIR in case it is a cross build so svnversion works. Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

svn commit: r187412 - in stable/7/sys: . contrib/pf dev/cxgb geom/vinum

2009-01-18 Thread Ulf Lilleengen
Author: lulf Date: Sun Jan 18 21:52:01 2009 New Revision: 187412 URL: http://svn.freebsd.org/changeset/base/187412 Log: MFC r186517: - Fix an issue with access permissions to underlying disks used by a gvinum plex. If the plex is a raid5 plex, and is being written to, parity data might

svn commit: r187411 - in stable/7/lib/libc: . string sys

2009-01-18 Thread Daniel Gerzo
Author: danger (doc committer) Date: Sun Jan 18 21:40:15 2009 New Revision: 187411 URL: http://svn.freebsd.org/changeset/base/187411 Log: MFC r187098: - add missing include [2] - fix struct memeber's name [1] PR: docs/130413 [1] Submitted by: Thomas Mueller [1], rink@ [2

svn commit: r187410 - head/sys/netgraph

2009-01-18 Thread Alexander Motin
Author: mav Date: Sun Jan 18 21:09:34 2009 New Revision: 187410 URL: http://svn.freebsd.org/changeset/base/187410 Log: If source mbuf chain consists of only one mbuf, use it directly as source buffer to avoid extra copying. Modified: head/sys/netgraph/ng_mppc.c Modified: head/sys/netgraph/

svn commit: r187409 - head/sys/kern

2009-01-18 Thread Alexander Motin
Author: mav Date: Sun Jan 18 20:19:55 2009 New Revision: 187409 URL: http://svn.freebsd.org/changeset/base/187409 Log: Teach m_copyback() to use trailing space of the last mbuf in chain. Modified: head/sys/kern/uipc_mbuf.c Modified: head/sys/kern/uipc_mbuf.c =

svn commit: r187408 - in stable/7/sys: . amd64/amd64 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Alan Cox
Author: alc Date: Sun Jan 18 19:56:13 2009 New Revision: 187408 URL: http://svn.freebsd.org/changeset/base/187408 Log: MFC rev 179898 Make preparations for increasing the size of the kernel virtual address space on the amd64 architecture. Modified: stable/7/sys/ (props changed) st

svn commit: r187407 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb vm

2009-01-18 Thread Alan Cox
Author: alc Date: Sun Jan 18 19:37:36 2009 New Revision: 187407 URL: http://svn.freebsd.org/changeset/base/187407 Log: MFC rev 180598 Eliminate stale comments from kmem_malloc(). Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/

svn commit: r187406 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb vm

2009-01-18 Thread Alan Cox
Author: alc Date: Sun Jan 18 19:33:55 2009 New Revision: 187406 URL: http://svn.freebsd.org/changeset/base/187406 Log: MFC rev 179923 Make preparations for increasing the size of the kernel virtual address space on the amd64 architecture. Modified: stable/7/sys/ (props changed) st

svn commit: r187405 - head/sys/netgraph

2009-01-18 Thread Alexander Motin
Author: mav Date: Sun Jan 18 19:25:36 2009 New Revision: 187405 URL: http://svn.freebsd.org/changeset/base/187405 Log: Use m_unshare()+m_copyback() instead of m_freem()+m_devget() to keep original mbuf chain headers. It can be less efficient in some cases, but it looks better then mess of co

svn commit: r187404 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb vm

2009-01-18 Thread Alan Cox
Author: alc Date: Sun Jan 18 19:20:10 2009 New Revision: 187404 URL: http://svn.freebsd.org/changeset/base/187404 Log: MFC rev 179921 KERNBASE is not necessarily an address within the kernel map, e.g., PowerPC/AIM. Consequently, it should not be used to determine the maximum number

svn commit: r187403 - stable/7/share/man/man4

2009-01-18 Thread Nick Hibma
Author: n_hibma Date: Sun Jan 18 18:54:41 2009 New Revision: 187403 URL: http://svn.freebsd.org/changeset/base/187403 Log: Remark on the fact that a phone is supported by this driver. Just to give people a hint. Modified: stable/7/share/man/man4/umodem.4 Modified: stable/7/share/man/man4/u

svn commit: r187402 - stable/7/share/man/man4

2009-01-18 Thread Nick Hibma
Author: n_hibma Date: Sun Jan 18 18:53:27 2009 New Revision: 187402 URL: http://svn.freebsd.org/changeset/base/187402 Log: Speling mistake. Modified: stable/7/share/man/man4/textdump.4 Modified: stable/7/share/man/man4/textdump.4 ==

svn commit: r187401 - stable/7/sys/dev/ata

2009-01-18 Thread Nick Hibma
Author: n_hibma Date: Sun Jan 18 18:50:18 2009 New Revision: 187401 URL: http://svn.freebsd.org/changeset/base/187401 Log: Speling mistake. Modified: stable/7/sys/dev/ata/ata-all.c Modified: stable/7/sys/dev/ata/ata-all.c ==

svn commit: r187400 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-01-18 Thread Alan Cox
Author: alc Date: Sun Jan 18 18:26:52 2009 New Revision: 187400 URL: http://svn.freebsd.org/changeset/base/187400 Log: MFC rev 179887 Enforce the mapping of kernel loadable modules in the uppermost 2GB of the kernel virtual address space on amd64. Modified: stable/7/sys/ (props chan

Re: svn commit: r187391 - in stable/7/sys: . arm/at91 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread M. Warner Losh
In message: <20090118163938.g24...@ury.york.ac.uk> Gavin Atkinson writes: : On Sun, 18 Jan 2009, Stanislav Sedov wrote: : : > Author: stas : > Date: Sun Jan 18 12:28:45 2009 : > New Revision: 187391 : > URL: http://svn.freebsd.org/changeset/base/187391 : > : > Log: : > - Merge r18247

Re: svn commit: r187391 - in stable/7/sys: . arm/at91 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 18 Jan 2009 16:42:52 + (GMT) Gavin Atkinson mentioned: > On Sun, 18 Jan 2009, Stanislav Sedov wrote: > > > Author: stas > > Date: Sun Jan 18 12:28:45 2009 > > New Revision: 187391 > > URL: http://svn.freebsd.org/changeset/base/187391 > >

svn commit: r187398 - in stable/7/sys: . arm/at91 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 17:07:48 2009 New Revision: 187398 URL: http://svn.freebsd.org/changeset/base/187398 Log: - MFC r182524 and r182555: - Set U/L bit in generate MAC address. - Use our specific OUI instead of Atmel one. Modified: stable/7/sys/ (props changed) stable/7/s

Re: svn commit: r187391 - in stable/7/sys: . arm/at91 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Gavin Atkinson
On Sun, 18 Jan 2009, Stanislav Sedov wrote: Author: stas Date: Sun Jan 18 12:28:45 2009 New Revision: 187391 URL: http://svn.freebsd.org/changeset/base/187391 Log: - Merge r182477: [snip] Use random MAC address if none configured instead of failing. Connected with this, I wonder if you

svn commit: r187397 - head/sys/gnu/fs/ext2fs

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 15:10:46 2009 New Revision: 187397 URL: http://svn.freebsd.org/changeset/base/187397 Log: - Eliminate warnings in debug print macros by explicitly converting all field to unsigned long. Modified: head/sys/gnu/fs/ext2fs/ext2_vfsops.c Modified: head/sys/gnu/fs

svn commit: r187396 - head/sys/gnu/fs/ext2fs

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 14:54:46 2009 New Revision: 187396 URL: http://svn.freebsd.org/changeset/base/187396 Log: - Whitespace fixes. - s_bmask field doesn't exist. - Use correct flags in debug printf. Modified: head/sys/gnu/fs/ext2fs/ext2_vfsops.c Modified: head/sys/gnu/fs/ext2fs/

Re: svn commit: r187395 - head/sys/gnu/fs/ext2fs

2009-01-18 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 18 Jan 2009 16:06:44 +0200 Kostik Belousov mentioned: > > Please see a discussion on the fs@ and reasoning why I declined to commit > the similar patch. > I'm sorry I've missed that discussion entirely, but I can admit I had all the same c

Re: svn commit: r187395 - head/sys/gnu/fs/ext2fs

2009-01-18 Thread Kostik Belousov
On Sun, Jan 18, 2009 at 05:43:57PM +0300, Stanislav Sedov wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Sun, 18 Jan 2009 16:06:44 +0200 > Kostik Belousov mentioned: > > > > > Please see a discussion on the fs@ and reasoning why I declined to commit > > the similar patch. > >

Re: svn commit: r187395 - head/sys/gnu/fs/ext2fs

2009-01-18 Thread Kostik Belousov
On Sun, Jan 18, 2009 at 02:04:56PM +, Stanislav Sedov wrote: > Author: stas > Date: Sun Jan 18 14:04:56 2009 > New Revision: 187395 > URL: http://svn.freebsd.org/changeset/base/187395 > > Log: > - Obtain inode sizes and location of the first inode based on the contents > of superblock ra

svn commit: r187395 - head/sys/gnu/fs/ext2fs

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 14:04:56 2009 New Revision: 187395 URL: http://svn.freebsd.org/changeset/base/187395 Log: - Obtain inode sizes and location of the first inode based on the contents of superblock rather than using hardcoded values. This fixes ext2fs on filesystems with inode

svn commit: r187394 - head/sys/sun4v/include

2009-01-18 Thread Marius Strobl
Author: marius Date: Sun Jan 18 13:04:38 2009 New Revision: 187394 URL: http://svn.freebsd.org/changeset/base/187394 Log: Adjust the padding of struct pcpu to r187357. Modified: head/sys/sun4v/include/pcpu.h Modified: head/sys/sun4v/include/pcpu.h

svn commit: r187393 - in stable/6/sys: . dev/usb

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 12:59:37 2009 New Revision: 187393 URL: http://svn.freebsd.org/changeset/base/187393 Log: - MFC r174660: Add quirk for the TrendNet TU-S9 adapter, which uses new version of PL2303 chip (revision 0x400). This allows it to be correctly identified as PL2303X.

svn commit: r187392 - in stable/7/sys: . arm/at91 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 12:35:11 2009 New Revision: 187392 URL: http://svn.freebsd.org/changeset/base/187392 Log: - MFC r182476: style fix. Modified: stable/7/sys/ (props changed) stable/7/sys/arm/at91/if_ate.c stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/

svn commit: r187391 - in stable/7/sys: . arm/at91 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 12:28:45 2009 New Revision: 187391 URL: http://svn.freebsd.org/changeset/base/187391 Log: - Merge r182477: Try to look for MAC address in all SA registers, not only in the first one. U-boot, for example, uses the second register to store MAC.[1] Use

svn commit: r187390 - in stable/7/sys: . amd64/amd64 contrib/pf dev/ath/ath_hal dev/cxgb i386/i386

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 12:16:45 2009 New Revision: 187390 URL: http://svn.freebsd.org/changeset/base/187390 Log: - Merge r183151: Recognize SAVE and OSXSAVE extended processor features. Modified: stable/7/sys/ (props changed) stable/7/sys/amd64/amd64/identcpu.c stable/7/sys/c

svn commit: r187389 - in stable/7/sys: . arm/at91 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 12:12:38 2009 New Revision: 187389 URL: http://svn.freebsd.org/changeset/base/187389 Log: - Merge r184309: Add a missing NULL-pointer check. Modified: stable/7/sys/ (props changed) stable/7/sys/arm/at91/at91.c stable/7/sys/contrib/pf/ (props changed)

svn commit: r187388 - in stable/7/sys: . arm/at91 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 12:09:24 2009 New Revision: 187388 URL: http://svn.freebsd.org/changeset/base/187388 Log: - Merge r184310: Add stream bus_space operations. Modified: stable/7/sys/ (props changed) stable/7/sys/arm/at91/at91.c stable/7/sys/contrib/pf/ (props changed)

svn commit: r187387 - head/sys/netgraph

2009-01-18 Thread Alexander Motin
Author: mav Date: Sun Jan 18 12:03:43 2009 New Revision: 187387 URL: http://svn.freebsd.org/changeset/base/187387 Log: Remove strict limitation on minimal multilink MRRU. RFC claims that MRRU of 1500 must be supported, but allows smaller values to be negotiated. Enforce specified MRRU for ou

svn commit: r187386 - in stable/7/sys: . contrib/pf dev/cxgb gnu/fs/ext2fs

2009-01-18 Thread Konstantin Belousov
Author: kib Date: Sun Jan 18 11:47:39 2009 New Revision: 187386 URL: http://svn.freebsd.org/changeset/base/187386 Log: MFC r186740: Do not incorrectly add the low 5 bits of the offset to the resulting position of the found zero bit. Modified: stable/7/sys/ (props changed) stable/7/sys

svn commit: r187385 - in stable/7/sys: . arm/arm contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 11:43:23 2009 New Revision: 187385 URL: http://svn.freebsd.org/changeset/base/187385 Log: - Merge r185494: Get rid of unused variable in KTR checks. This allows ktr(4) enabled ARM kernel to compile. PR: rm/128897 Submitted by: Pankov Pavel

svn commit: r187384 - head/sbin/route

2009-01-18 Thread Alexander Motin
Author: mav Date: Sun Jan 18 11:38:35 2009 New Revision: 187384 URL: http://svn.freebsd.org/changeset/base/187384 Log: Fix regression introduced in rev. 173124: 0.0.0.0/1 is not the same as 0.0.0.0/0. MFC after:1 month Modified: head/sbin/route/route.c Modified: head/sbin/route/ro

svn commit: r187383 - stable/7/sys/dev/ae

2009-01-18 Thread Stanislav Sedov
Author: stas Date: Sun Jan 18 11:17:46 2009 New Revision: 187383 URL: http://svn.freebsd.org/changeset/base/187383 Log: - MFC r185707: - Eliminate unused variable. [1] - Check for runt frames entering the stack. [2] Suggested by: ganbold[1], yongari[2] Modified: stable/7/sys/dev/

Re: svn commit: r187374 - head/sys/dev/syscons/teken

2009-01-18 Thread Ed Schouten
Hello Garrett, * Garrett Cooper wrote: > Dumb question: > > Why are C function definitions in a .h file? I know it's legal, but at > least from what I've been coached on in the past, it isn't necessarily > the most kosher way of solving the issue. > > Macros are a different point. The reason w

Re: svn commit: r187374 - head/sys/dev/syscons/teken

2009-01-18 Thread Christoph Mallon
Garrett Cooper schrieb: On Sat, Jan 17, 2009 at 3:01 PM, Ed Schouten wrote: [...] Modified: head/sys/dev/syscons/teken/teken_subr_compat.h Modified: head/sys/dev/syscons/teken/teken_subr_compat.h == --- head/sys/dev

Re: svn commit: r187374 - head/sys/dev/syscons/teken

2009-01-18 Thread Garrett Cooper
On Sat, Jan 17, 2009 at 3:01 PM, Ed Schouten wrote: [...] > Modified: > head/sys/dev/syscons/teken/teken_subr_compat.h > > Modified: head/sys/dev/syscons/teken/teken_subr_compat.h > == > --- head/sys/dev/syscons/teken/t

svn commit: r187382 - head/sys/dev/syscons/teken

2009-01-18 Thread Ed Schouten
Author: ed Date: Sun Jan 18 09:44:33 2009 New Revision: 187382 URL: http://svn.freebsd.org/changeset/base/187382 Log: Don't forget to mark the color translation array as const. Spotted by: Christoph Mallon Modified: head/sys/dev/syscons/teken/teken_subr_compat.h Modified: head/sys/de

svn commit: r187381 - head/sys/ia64/ia64

2009-01-18 Thread Alan Cox
Author: alc Date: Sun Jan 18 08:00:55 2009 New Revision: 187381 URL: http://svn.freebsd.org/changeset/base/187381 Log: Correct an error in revision 1.170 of this file. When get_pv_entry() is forced to reclaim pv entries, the one pv entry that it returns should not be freed. Modified: hea