svn commit: r222245 - head/usr.bin/showmount

2011-05-23 Thread Ruslan Ermilov
Author: ru Date: Tue May 24 06:56:40 2011 New Revision: 45 URL: http://svn.freebsd.org/changeset/base/45 Log: Ensure there is a whitespace after a mount point. PR: 157286 Submitted by: Marcus Reid MFC after:3 days Modified: head/usr.bin/showmount/showmount.c Mo

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

2011-05-23 Thread Andrey V. Elsukov
Author: ae Date: Tue May 24 06:46:07 2011 New Revision: 44 URL: http://svn.freebsd.org/changeset/base/44 Log: Remove unused variable. MFC after:1 week Modified: head/sys/geom/part/g_part_pc98.c Modified: head/sys/geom/part/g_part_pc98.c ==

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

2011-05-23 Thread Andrey V. Elsukov
Author: ae Date: Tue May 24 06:44:16 2011 New Revision: 43 URL: http://svn.freebsd.org/changeset/base/43 Log: Remove unused variable. MFC after:1 week Modified: head/sys/geom/part/g_part_mbr.c Modified: head/sys/geom/part/g_part_mbr.c

svn commit: r222241 - head/sys/dev/ath/ath_hal/ar5416

2011-05-23 Thread Adrian Chadd
Author: adrian Date: Tue May 24 05:49:02 2011 New Revision: 41 URL: http://svn.freebsd.org/changeset/base/41 Log: Use the new per-series antenna and TPC definitions when setting ctl8->11. This should hopefully make it clearer to developers what is going on and when TPC is being ha

svn commit: r222240 - head/sys/dev/ath/ath_hal/ar5416

2011-05-23 Thread Adrian Chadd
Author: adrian Date: Tue May 24 05:34:45 2011 New Revision: 40 URL: http://svn.freebsd.org/changeset/base/40 Log: Add in descriptions for TX descriptor fields ctl8-11 - these fields control the antenna control bits for the four TX series and the TPC settings for TX series 1, 2, 3.

svn commit: r222239 - head/sys/powerpc/ps3

2011-05-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue May 24 02:19:45 2011 New Revision: 39 URL: http://svn.freebsd.org/changeset/base/39 Log: Add RTC support for the LV1 clock on the PS3. The hypervisor won't let us set it, but it's better than nothing. Modified: head/sys/powerpc/ps3/ps3bus.c Modified: he

svn commit: r222234 - head/sys/mips/include

2011-05-23 Thread Attilio Rao
Author: attilio Date: Mon May 23 23:35:50 2011 New Revision: 34 URL: http://svn.freebsd.org/changeset/base/34 Log: Merge r221846 from largeSMP project branch: Fix arguments passing to _long() version of atomic function for mips. The native implementation is bogus in that regard an

svn commit: r222233 - head/sys/fs/nfsclient

2011-05-23 Thread Rick Macklem
Author: rmacklem Date: Mon May 23 22:31:42 2011 New Revision: 33 URL: http://svn.freebsd.org/changeset/base/33 Log: Set the MNT_NFS4ACLS flag for an NFSv4 client mount if the NFSv4 server supports it. Requested by trasz. MFC after:2 weeks Modified: head/sys/fs/nfsclient/nfs

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

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 22:02:15 2011 New Revision: 32 URL: http://svn.freebsd.org/changeset/base/32 Log: Add 88E8075 Yukon Supreme to the list of supported hardware list. Modified: head/share/man/man4/msk.4 Modified: head/share/man/man4/msk.4 ===

svn commit: r222231 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:56:04 2011 New Revision: 31 URL: http://svn.freebsd.org/changeset/base/31 Log: When MTU is changed, check whether driver should be reinitialized or not. If reinitialized is required, clear driver running flag. Modified: head/sys/dev/msk/if_msk.c

svn commit: r222230 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:51:47 2011 New Revision: 30 URL: http://svn.freebsd.org/changeset/base/30 Log: Add initial support for Marvell 88E8055/88E8075 Yukon Supreme. Modified: head/sys/dev/msk/if_msk.c head/sys/dev/msk/if_mskreg.h Modified: head/sys/dev/msk/if_msk.c ===

svn commit: r222229 - head/sys/conf

2011-05-23 Thread Warner Losh
Author: imp Date: Mon May 23 21:32:45 2011 New Revision: 29 URL: http://svn.freebsd.org/changeset/base/29 Log: Test against "no" rather than "yes" for MK_KERNEL_SYMBOLS Also, change DEBUG back to DEBUG_FLAGS in kmod.mk. The latter accidentally snuck in with my backwards compat fix.

Re: svn commit: r222143 - in head/sys: net netinet netinet6

2011-05-23 Thread Oleksandr Tymoshenko
On 20/05/2011 12:12 PM, Qing Li wrote: Author: qingli Date: Fri May 20 19:12:20 2011 New Revision: 222143 URL: http://svn.freebsd.org/changeset/base/222143 Log: The statically configured (permanent) ARP entries are removed when an interface is brought down, even though the interface addres

Re: svn commit: r221972 - head/sys/geom/part

2011-05-23 Thread Poul-Henning Kamp
In message <20110523210915.ga3...@freebie.xs4all.nl>, Wilko Bulte writes: >Quoting Poul-Henning Kamp, who wrote on Mon, May 23, 2011 at 06:56:30AM + >.. >> This "requirement" dates back to "smart" BIOS'es and ST-506 drives >> which couldn't ask the drive for its geometry. > >WD1003 anyone? H

Re: svn commit: r221972 - head/sys/geom/part

2011-05-23 Thread Wilko Bulte
Quoting Poul-Henning Kamp, who wrote on Mon, May 23, 2011 at 06:56:30AM + .. > In message <4dd9f0a3@freebsd.org>, "Andrey V. Elsukov" writes: > > >There is another opinion: > >http://www.boot-us.com/gloss02.htm > > > >"There is the convention that partitions should always start and end on

svn commit: r222228 - in head/sbin: hastctl hastd

2011-05-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon May 23 21:15:19 2011 New Revision: 28 URL: http://svn.freebsd.org/changeset/base/28 Log: Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSH requests as well as number of activemap updates. Number of BIO_WRITEs and activemap updates are

svn commit: r222227 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:11:46 2011 New Revision: 27 URL: http://svn.freebsd.org/changeset/base/27 Log: Do not touch ASF related register for controllers that do not have these registers. Also disable Watchdog of ASF microcontroller. Modified: head/sys/dev/msk/if_msk.c

svn commit: r222226 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:00:56 2011 New Revision: 26 URL: http://svn.freebsd.org/changeset/base/26 Log: Make sure to enable all clocks before accessing registers. Releasing PHY from power down/COMA is done after enabling all clocks. While I'm here remove unnecessary contro

svn commit: r222225 - head/sys/geom/gate

2011-05-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon May 23 21:00:37 2011 New Revision: 25 URL: http://svn.freebsd.org/changeset/base/25 Log: Recognize BIO_FLUSH requests and pass them to userland. MFC after:1 week Modified: head/sys/geom/gate/g_gate.c Modified: head/sys/geom/gate/g_gate.c ===

svn commit: r222224 - head/sbin/hastd

2011-05-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon May 23 20:59:50 2011 New Revision: 24 URL: http://svn.freebsd.org/changeset/base/24 Log: To handle BIO_FLUSH and BIO_DELETE requests in secondary worker we need to use ioctl(2). This is why we can't use capsicum for now to sandbox secondary. Capsicum is still us

svn commit: r222223 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 20:18:09 2011 New Revision: 23 URL: http://svn.freebsd.org/changeset/base/23 Log: Do not configure RAM registers for controllers that do not have them. These registers are defined only for Yukon XL, Yukon EC and Yukon FE. Modified: head/sys/dev/ms

Re: svn commit: r221972 - head/sys/geom/part

2011-05-23 Thread Warner Losh
On May 23, 2011, at 12:44 PM, Doug Barton wrote: > I don't know enough about the topic to know what's "best," however what I > would like to add to the conversation is that it would be nice if we did it > the same way that windows and linux do it, because otherwise you end up with > messages li

svn commit: r222222 - head/sys/dev/acpica

2011-05-23 Thread Jung-uk Kim
Author: jkim Date: Mon May 23 20:12:36 2011 New Revision: 22 URL: http://svn.freebsd.org/changeset/base/22 Log: Decrease ACPI-fast timecounter quality to 900 and increase HPET timecounter quality to 950. HPET on modern platforms usually have better resolution and lower latency than

svn commit: r222221 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 20:09:32 2011 New Revision: 21 URL: http://svn.freebsd.org/changeset/base/21 Log: Rework store and forward configuration of TX MAC FIFO. Basically it enables store and forward mode except for jumbo frame on Yukon Ultra. Modified: head/sys/dev/msk/i

svn commit: r222220 - head/sys/kern

2011-05-23 Thread Ruslan Ermilov
Author: ru Date: Mon May 23 19:59:01 2011 New Revision: 20 URL: http://svn.freebsd.org/changeset/base/20 Log: BKVASIZE was bumped to 16k more than a decade ago. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c ===

svn commit: r222219 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 19:58:08 2011 New Revision: 19 URL: http://svn.freebsd.org/changeset/base/19 Log: Do not blindly clear entire GPHY control register. It seems some bits of the register is used for other purposes such that clearing these bits resulted in unexpected res

svn commit: r222218 - head/sys/conf

2011-05-23 Thread Ruslan Ermilov
Author: ru Date: Mon May 23 19:57:12 2011 New Revision: 18 URL: http://svn.freebsd.org/changeset/base/18 Log: expr -> sh arithmetic expansion Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

Re: svn commit: r222183 - head/lib/clang

2011-05-23 Thread Dimitry Andric
On 2011-05-22 23:30, Mark Linimon wrote: On Sun, May 22, 2011 at 10:22:56PM +0200, Roman Divacky wrote: The problem here is deeper in my opinion. What FreeBSD calls amd64 the rest of the world (ie. linux) calls x86_64, I think that instead of this we should teach llvm/clang about "amd64". Maybe

Re: svn commit: r222183 - head/lib/clang

2011-05-23 Thread Dimitry Andric
On 2011-05-23 14:05, Bjoern A. Zeeb wrote: Is there an authoritative source for these names? With regard to the 'triple' or 'quad' strings, e.g. "arch-vendor-os" or "arch-vendor-os-abi", the canonical source is really GNU config.guess, which is used in autoconf, gettext, and most other GNU tool

svn commit: r222217 - head/sys/netinet

2011-05-23 Thread Robert Watson
Author: rwatson Date: Mon May 23 19:32:02 2011 New Revision: 17 URL: http://svn.freebsd.org/changeset/base/17 Log: Continue to refine inpcb reference counting and locking, in preparation for reworking of inpcbinfo locking: (1) Convert inpcb reference counting from manually manipul

Re: svn commit: r221972 - head/sys/geom/part

2011-05-23 Thread Doug Barton
I don't know enough about the topic to know what's "best," however what I would like to add to the conversation is that it would be nice if we did it the same way that windows and linux do it, because otherwise you end up with messages like these: GEOM: ad0s2: geometry does not match label (25

svn commit: r222216 - head/sys/kern

2011-05-23 Thread Jaakko Heinonen
Author: jh Date: Mon May 23 16:40:44 2011 New Revision: 16 URL: http://svn.freebsd.org/changeset/base/16 Log: In init_dynamic_kenv(), ignore environment strings exceeding the KENV_MNAMELEN + 1 + KENV_MVALLEN + 1 length limit to avoid buffer overflow in getenv(). Currenly loader(8) do

svn commit: r222215 - in head/sys: netinet netinet6

2011-05-23 Thread Robert Watson
Author: rwatson Date: Mon May 23 15:23:18 2011 New Revision: 15 URL: http://svn.freebsd.org/changeset/base/15 Log: Move from passing a wildcard boolean to a general set up lookup flags into in_pcb_lport(), in_pcblookup_local(), and in_pcblookup_hash(), and similarly for IPv6 function

Re: svn commit: r222183 - head/lib/clang

2011-05-23 Thread John Baldwin
On Monday, May 23, 2011 8:05:12 am Bjoern A. Zeeb wrote: > On May 22, 2011, at 10:01 PM, Warner Losh wrote: > > > > > On May 22, 2011, at 3:30 PM, Mark Linimon wrote: > > > >> On Sun, May 22, 2011 at 10:22:56PM +0200, Roman Divacky wrote: > >>> The problem here is deeper in my opinion. What Free

Re: svn commit: r221972 - head/sys/geom/part

2011-05-23 Thread Warner Losh
On May 22, 2011, at 11:29 PM, Andrey V. Elsukov wrote: > On 23.05.2011 6:29, Warner Losh wrote: >> Looking at one of my flash drives that shows the problem: >> >> da0: 15423MB (31588351 512 byte sectors: 255H 63S/T 1966C) GEOM_PART: >> partition 1 has end offset >> beyond last LBA: 31588350 > 3

svn commit: r222213 - head/sys/netinet

2011-05-23 Thread Robert Watson
Author: rwatson Date: Mon May 23 13:51:57 2011 New Revision: 13 URL: http://svn.freebsd.org/changeset/base/13 Log: A number of quite incremental refinements to struct inpcbinfo's definition: (1) Add a locking guide for inpcbinfo. (2) Annotate inpcbinfo fields with synchronisation

Re: svn commit: r221743 - in head/sys: amd64/conf i386/conf

2011-05-23 Thread Andriy Gapon
on 23/05/2011 16:11 Pan Tsu said the following: > Andriy Gapon writes: > >> on 10/05/2011 19:44 Jung-uk Kim said the following: >>> Author: jkim >>> Date: Tue May 10 16:44:16 2011 >>> New Revision: 221743 >>> URL: http://svn.freebsd.org/changeset/base/221743 >>> >>> Log: >>> Add SC_PIXEL_MODE t

Re: svn commit: r221743 - in head/sys: amd64/conf i386/conf

2011-05-23 Thread Pan Tsu
Andriy Gapon writes: > on 10/05/2011 19:44 Jung-uk Kim said the following: >> Author: jkim >> Date: Tue May 10 16:44:16 2011 >> New Revision: 221743 >> URL: http://svn.freebsd.org/changeset/base/221743 >> >> Log: >> Add SC_PIXEL_MODE to GENERIC for amd64 and i386. >> >> Requested by:

Re: svn commit: r222183 - head/lib/clang

2011-05-23 Thread Alex Dupre
Mark Linimon ha scritto: If we move away from "amd64", we are going to need a _substantial_ amount of work on ports. Yup, as we constantly need to patch ports to correctly support "amd64". It was during my fighting with gmp (and mozilla) configure that I discovered the existence of the Templa

Re: svn commit: r222183 - head/lib/clang

2011-05-23 Thread Bjoern A. Zeeb
On May 22, 2011, at 10:01 PM, Warner Losh wrote: > > On May 22, 2011, at 3:30 PM, Mark Linimon wrote: > >> On Sun, May 22, 2011 at 10:22:56PM +0200, Roman Divacky wrote: >>> The problem here is deeper in my opinion. What FreeBSD calls >>> amd64 the rest of the world (ie. linux) calls x86_64, I t

Re: svn commit: r222094 - head/share/misc

2011-05-23 Thread Edwin Groothuis
On 23/05/2011, at 6:00 PM, Ulrich Spörlein wrote: > On Sun, 22.05.2011 at 20:16:47 +1000, Edwin Groothuis wrote: >> >> On 22/05/2011, at 7:29 PM, Ulrich Spörlein wrote: >> >>> On Thu, 19.05.2011 at 13:09:39 +, Edwin Groothuis wrote: Author: edwin Date: Thu May 19 13:09:39 2011 >>>

svn commit: r222211 - head/usr.bin/gzip

2011-05-23 Thread Xin LI
Author: delphij Date: Mon May 23 09:40:21 2011 New Revision: 11 URL: http://svn.freebsd.org/changeset/base/11 Log: Match symbolic link handling behavior with GNU gzip, bzip2 and xz: When we are operating on a symbolic link pointing to an existing file, bail out by default, but go

svn commit: r222210 - head/usr.bin/gzip

2011-05-23 Thread Xin LI
eeBSD gzip 20100407"; +static const char gzip_version[] = "FreeBSD gzip 20110523"; #ifndef SMALL static const char gzip_copyright[] = \ @@ -314,7 +314,7 @@ main(int argc, char **argv) dflag = cflag = 1; #ifdef SMALL -#define OPT_LIST "123456789cdh

Re: svn commit: r221743 - in head/sys: amd64/conf i386/conf

2011-05-23 Thread Andriy Gapon
on 10/05/2011 19:44 Jung-uk Kim said the following: > Author: jkim > Date: Tue May 10 16:44:16 2011 > New Revision: 221743 > URL: http://svn.freebsd.org/changeset/base/221743 > > Log: > Add SC_PIXEL_MODE to GENERIC for amd64 and i386. > > Requested by: many What about options

Re: svn commit: r222094 - head/share/misc

2011-05-23 Thread Ulrich Spörlein
On Sun, 22.05.2011 at 20:16:47 +1000, Edwin Groothuis wrote: > > On 22/05/2011, at 7:29 PM, Ulrich Spörlein wrote: > > > On Thu, 19.05.2011 at 13:09:39 +, Edwin Groothuis wrote: > >> Author: edwin > >> Date: Thu May 19 13:09:39 2011 > >> New Revision: 222094 > >> URL: http://svn.freebsd.org/c