Re: svn commit: r227650 - in head: lib/libkiconv sys/conf sys/fs/msdosfs sys/fs/smbfs sys/kern sys/libkern sys/modules/libiconv sys/modules/libmchain sys/netsmb sys/sys

2011-11-22 Thread Kevin Lo
On Fri, 2011-11-18 at 03:19 +, Alexey Dokuchaev wrote: > On Fri, Nov 18, 2011 at 03:05:21AM +, Kevin Lo wrote: > > Author: kevlo > > Date: Fri Nov 18 03:05:20 2011 > > New Revision: 227650 > > URL: http://svn.freebsd.org/changeset/base/227650 > > > > Log: > > Add unicode support to msdos

Re: svn commit: r227650 - in head: lib/libkiconv sys/conf sys/fs/msdosfs sys/fs/smbfs sys/kern sys/libkern sys/modules/libiconv sys/modules/libmchain sys/netsmb sys/sys

2011-11-22 Thread Buganini
Also, I've regenerated imura's patch for cd9660 against HEAD, but I don't have test case. Please test it. http://www.cnmc.tw/~buganini/cd9660.patch.txt Buganini ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src

svn commit: r227868 - head/sys/dev/ath

2011-11-22 Thread Adrian Chadd
Author: adrian Date: Wed Nov 23 05:00:25 2011 New Revision: 227868 URL: http://svn.freebsd.org/changeset/base/227868 Log: Flesh out the TX aggregation completion statistics. * Failall is now named just that. * Add TX ok and TX fail, for aggregate frame sub-frames. This will break ath

svn commit: r227869 - head/tools/tools/ath/athstats

2011-11-22 Thread Adrian Chadd
Author: adrian Date: Wed Nov 23 05:01:23 2011 New Revision: 227869 URL: http://svn.freebsd.org/changeset/base/227869 Log: Add the new statistics introduced in r227868. Sponsored by: Hobnob, Inc. Modified: head/tools/tools/ath/athstats/athstats.c Modified: head/tools/tools/ath/athstats/a

svn commit: r227870 - head/tools/tools/ath/athstats

2011-11-22 Thread Adrian Chadd
Author: adrian Date: Wed Nov 23 05:03:27 2011 New Revision: 227870 URL: http://svn.freebsd.org/changeset/base/227870 Log: Tidy up the statistic documentation. Sponsored by: Hobnob, Inc. Modified: head/tools/tools/ath/athstats/athstats.c Modified: head/tools/tools/ath/athstats/athstats.c

svn commit: r227871 - head/sys/dev/vte

2011-11-22 Thread Kevin Lo
Author: kevlo Date: Wed Nov 23 05:34:01 2011 New Revision: 227871 URL: http://svn.freebsd.org/changeset/base/227871 Log: Remove unused variable mii. This variable is initialized but not used. Reviewed by: yongari Modified: head/sys/dev/vte/if_vte.c Modified: head/sys/dev/vte/if_vte.c

Re: svn commit: r227778 - head/sys/net

2011-11-22 Thread Julien Ridoux
On 23/11/2011, at 1:00 AM, Lawrence Stewart wrote: > On 11/23/11 00:30, John Baldwin wrote: >> On Monday, November 21, 2011 2:28:10 am Lawrence Stewart wrote: >>> On 11/21/11 17:18, Julien Ridoux wrote: On 21/11/2011, at 4:39 PM, Lawrence Stewart wrote: > On 11/21/11 16:12, B

svn commit: r227872 - head/sys/dev/ath

2011-11-22 Thread Adrian Chadd
Author: adrian Date: Wed Nov 23 07:12:26 2011 New Revision: 227872 URL: http://svn.freebsd.org/changeset/base/227872 Log: Re-lock the ath lock after ath_reset() has been called. The calibrate callout is done with the sc lock held. This only showed up when using an older NIC (AR5212) whose

Re: svn commit: r227798 - in head: . lib/libpam lib/libpam/modules

2011-11-22 Thread Kostik Belousov
On Tue, Nov 22, 2011 at 10:38:02PM +0100, Dag-Erling Sm??rgrav wrote: > Dag-Erling Sm??rgrav writes: > > Jilles Tjoelker writes: > > > Although this will work, I think it trades the quality of the binaries > > > for a cleaner build system. It is better to pass all libraries to ld(1) > > > even th

svn commit: r227873 - head/usr.bin/procstat

2011-11-22 Thread Mikolaj Golub
Author: trociny Date: Wed Nov 23 07:34:09 2011 New Revision: 227873 URL: http://svn.freebsd.org/changeset/base/227873 Log: Fix build, hopefully. Reviewed by: kib Modified: head/usr.bin/procstat/procstat_auxv.c Modified: head/usr.bin/procstat/procstat_auxv.c

Re: svn commit: r227778 - head/sys/net

2011-11-22 Thread Lawrence Stewart
On 11/23/11 17:42, Julien Ridoux wrote: On 23/11/2011, at 1:00 AM, Lawrence Stewart wrote: On 11/23/11 00:30, John Baldwin wrote: On Monday, November 21, 2011 2:28:10 am Lawrence Stewart wrote: On 11/21/11 17:18, Julien Ridoux wrote: On 21/11/2011, at 4:39 PM, Lawrence Stewart wrote: On

Re: svn commit: r227808 - head/lib/libc/string

2011-11-22 Thread Bruce Evans
On Tue, 22 Nov 2011, Eitan Adler wrote: Log: - add check for pointer equality prior to performing the O(n) pass This seems like a negative optimization. The pointers are unequal in the usual case. More seriously, it gives worse undefined behaviour when the pointers are invalid. E.g., strcm

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread Bruce Evans
On Mon, 21 Nov 2011 m...@freebsd.org wrote: On Mon, Nov 21, 2011 at 6:50 PM, Eitan Adler wrote: Author: eadler (ports committer) Date: Tue Nov 22 02:50:24 2011 New Revision: 227812 URL: http://svn.freebsd.org/changeset/base/227812 Log: ?- fix some style(9) nits with my last commit ?- add a co

svn commit: r227814 - head/sys/dev/ppbus

2011-11-22 Thread Attilio Rao
Author: attilio Date: Tue Nov 22 11:35:24 2011 New Revision: 227814 URL: http://svn.freebsd.org/changeset/base/227814 Log: - Use ppb_assert_locked() rather than using explicit mtx_assert call - Make ppbus code agnostic in regard of INVARIANTS option MFC after:2 weeks Modified: head

Re: svn commit: r227701 - in head/sys: arm/xscale/ixp425 dev/ahci dev/ata dev/gpio dev/mvs dev/ppbus dev/ppc dev/siba dev/siis dev/usb kern sys

2011-11-22 Thread John Baldwin
On Monday, November 21, 2011 1:39:33 pm Marius Strobl wrote: > On Mon, Nov 21, 2011 at 11:16:47AM -0500, John Baldwin wrote: > > On Saturday, November 19, 2011 5:11:51 am Hans Petter Selasky wrote: > > > Author: hselasky > > > Date: Sat Nov 19 10:11:50 2011 > > > New Revision: 227701 > > > URL: htt

svn commit: r227816 - head/sys/conf

2011-11-22 Thread Konstantin Belousov
Author: kib Date: Tue Nov 22 13:27:53 2011 New Revision: 227816 URL: http://svn.freebsd.org/changeset/base/227816 Log: Remove the wrong comment about ufs not being loadable. Note that only root filesystem module needs to be available before root is mounted. MFC after:1 week Modifie

Re: svn commit: r227778 - head/sys/net

2011-11-22 Thread John Baldwin
On Monday, November 21, 2011 2:28:10 am Lawrence Stewart wrote: > On 11/21/11 17:18, Julien Ridoux wrote: > > > > On 21/11/2011, at 4:39 PM, Lawrence Stewart wrote: > > > >> On 11/21/11 16:12, Ben Kaduk wrote: > >>> On Sun, Nov 20, 2011 at 11:17 PM, Lawrence > >>> Stewart wrote: > Author: ls

svn commit: r227817 - head/sys/fs/msdosfs

2011-11-22 Thread Konstantin Belousov
Author: kib Date: Tue Nov 22 13:30:36 2011 New Revision: 227817 URL: http://svn.freebsd.org/changeset/base/227817 Log: Put all the messages from msdosfs under the MSDOSFS_DEBUG ifdef. They are confusing to user, and not informative for general consumption. MFC after:1 week Modified:

Re: svn commit: r227778 - head/sys/net

2011-11-22 Thread Lawrence Stewart
On 11/23/11 00:30, John Baldwin wrote: On Monday, November 21, 2011 2:28:10 am Lawrence Stewart wrote: On 11/21/11 17:18, Julien Ridoux wrote: On 21/11/2011, at 4:39 PM, Lawrence Stewart wrote: On 11/21/11 16:12, Ben Kaduk wrote: On Sun, Nov 20, 2011 at 11:17 PM, Lawrence Stewartwrote:

svn commit: r227818 - head/lib/libc/locale

2011-11-22 Thread David Chisnall
Author: theraven Date: Tue Nov 22 14:11:42 2011 New Revision: 227818 URL: http://svn.freebsd.org/changeset/base/227818 Log: Fix a crash when trying to duplicate a locale that contains some implicit C locale components. Reported by: Michael Butler Approved by: dim (mentor) Modified:

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread David Chisnall
On 22 Nov 2011, at 11:21, Bruce Evans wrote: > If this optimization were any good, then the compiler would already do > it. In fact, gcc-4.2.1 already does it -- the reverse of it -- it rewrites: > > "if ((i == 0) | (j == 0)) return; test();" > > into: > > "if (i == 0 || j == 0) re

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread David Schultz
On Tue, Nov 22, 2011, Eitan Adler wrote: > + /* use a bitwise or to avoid an additional branch instruction */ > + if ((s1 == s2) | (n == 0)) > + return (0); I think there are three issues with this. First, the comment suggesting that using '|' instead of '||' isn't correct; an

Re: svn commit: r227791 - head/sys/netinet

2011-11-22 Thread Gleb Smirnoff
Qing, first I'd like to notice that we are speaking about obsoleted interfaces. This should be taken into account during all the discussion. We shouldn't make code more complex in favor to make obsoleted interfaces more smart. 1) Scrubbing in in_ifinit() is done only in case of SIOCSIFADDR. T

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread Andriy Gapon
on 22/11/2011 16:20 David Chisnall said the following: > the use of | tells a human reading the code that the order is unimportant I think that it tells that we are dealing with bit flags, not with logical operations. Which would be a lie^W^W an incorrect hint in this case (both to humans and com

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread David Schultz
On Tue, Nov 22, 2011, David Schultz wrote: > First, the comment suggesting that using '|' instead of '||' isn't > correct; any reasonable compiler knows how to optimize > side-effect-free expressions like these. (The reverse > transformation, from the arithmetic expression to the boolean one, > is

svn commit: r227822 - head/sys/fs/tmpfs

2011-11-22 Thread Ivan Voras
Author: ivoras Date: Tue Nov 22 16:18:12 2011 New Revision: 227822 URL: http://svn.freebsd.org/changeset/base/227822 Log: Avoid panics from recursive rename operations. Not a perfect patch but good enough for now. PR: kern/159418 Submitted by: Gleb Kurtsou Reviewed by: kib

svn commit: r227823 - in head: share/man/man4 sys/dev/acpi_support

2011-11-22 Thread Jaakko Heinonen
Author: jh Date: Tue Nov 22 16:44:50 2011 New Revision: 227823 URL: http://svn.freebsd.org/changeset/base/227823 Log: Append unit number to the WMI status device name to allow attaching multiple acpi_wmi(4) instances. PR: kern/162491 Reviewed by: avg Modified: head/share/m

Re: svn commit: r227778 - head/sys/net

2011-11-22 Thread Benjamin Kaduk
On Tue, 22 Nov 2011, John Baldwin wrote: Think of standalone modules that are not built as part of a kernel (e.g. 3rd party device drivers). In general we should avoid having structures change size for kernel options, especially common structures. It just adds lots of pain and suffering and c

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread Eitan Adler
Meta comment: I should have sent this patch to -hackers prior to seeking approval to commit. I learned my lesson and will seek wider review before making such changes in the future. On Tue, Nov 22, 2011 at 6:21 AM, Bruce Evans wrote: I saw your email about the style changes. I'd like to flesh out

svn commit: r227827 - head/sys/sys

2011-11-22 Thread Robert Millan
Author: rmh Date: Tue Nov 22 18:53:54 2011 New Revision: 227827 URL: http://svn.freebsd.org/changeset/base/227827 Log: Define __FreeBSD_kernel__ macro in sys/param.h. __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD, which by definition is always true on FreeBSD. T

svn commit: r227828 - head/sys/dev/vge

2011-11-22 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 22 18:58:39 2011 New Revision: 227828 URL: http://svn.freebsd.org/changeset/base/227828 Log: Always start MII auto polling before accessing any MII registers. Modified: head/sys/dev/vge/if_vge.c Modified: head/sys/dev/vge/if_vge.c ===

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread John Baldwin
On Tuesday, November 22, 2011 10:33:32 am David Schultz wrote: > On Tue, Nov 22, 2011, Eitan Adler wrote: > > + /* use a bitwise or to avoid an additional branch instruction */ > > + if ((s1 == s2) | (n == 0)) > > + return (0); > > I think there are three issues with this. > > First

svn commit: r227829 - in head: share/man/man9 sys/sys

2011-11-22 Thread Marius Strobl
Author: marius Date: Tue Nov 22 19:31:43 2011 New Revision: 227829 URL: http://svn.freebsd.org/changeset/base/227829 Log: - Add a DEVMETHOD_END alias for KOBJMETHOD_END so that along with 'driver_t' and DEVMETHOD() we can fully hide the explicit mention of kobj(9) from device drivers.

svn commit: r227830 - head/sys/netinet

2011-11-22 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 22 19:37:57 2011 New Revision: 227830 URL: http://svn.freebsd.org/changeset/base/227830 Log: Fix SIOCDIFADDR semantics: if no address is specified, then delete first one. Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c ===

svn commit: r227831 - head/sys/netinet

2011-11-22 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 22 19:39:27 2011 New Revision: 227831 URL: http://svn.freebsd.org/changeset/base/227831 Log: style(9) nit Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c == --- head/sys/

svn commit: r227832 - head/sys/net

2011-11-22 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 22 19:42:17 2011 New Revision: 227832 URL: http://svn.freebsd.org/changeset/base/227832 Log: Improve logging: - don't hardcode function name - use LOG_DEBUG for such a debug message - print error value Modified: head/sys/net/if.c Modified: head/sys/net/if.

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

2011-11-22 Thread Rui Paulo
With this change, I can no longer update a FreeBSD 9.0-current system from June 2010 to FreeBSD 10.0. I suspect I'm not the only one. On 2011/11/21, at 16:35, Dag-Erling Smorgrav wrote: > Author: des > Date: Mon Nov 21 16:35:57 2011 > New Revision: 227797 > URL: http://svn.freebsd.org/changeset/

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread David Schultz
On Tue, Nov 22, 2011, Eitan Adler wrote: > The problem with profiling this type of change is that it is hard to > find a good representative benchmark. I could easily write code that > will show you that adding the equality check is a good idea or that it > is a horrible idea. IMHO it saves enough

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

2011-11-22 Thread Mikolaj Golub
Author: trociny Date: Tue Nov 22 20:40:18 2011 New Revision: 227833 URL: http://svn.freebsd.org/changeset/base/227833 Log: Add new sysctls, KERN_PROC_ENV and KERN_PROC_AUXV, to return environment strings and ELF auxiliary vectors from a process stack. Make sysctl_kern_proc_args to read no

Re: svn commit: r227798 - in head: . lib/libpam lib/libpam/modules

2011-11-22 Thread Jilles Tjoelker
On Mon, Nov 21, 2011 at 04:40:39PM +, Dag-Erling Smorgrav wrote: > Author: des > Date: Mon Nov 21 16:40:39 2011 > New Revision: 227798 > URL: http://svn.freebsd.org/changeset/base/227798 > Log: > Simplify the libpam build by removing the shared modules' dependency > on the shared library.

svn commit: r227834 - head/sys/fs/procfs

2011-11-22 Thread Mikolaj Golub
Author: trociny Date: Tue Nov 22 20:43:03 2011 New Revision: 227834 URL: http://svn.freebsd.org/changeset/base/227834 Log: In procfs_doproccmdline() if arguments are not cashed read them from the process stack. Suggested by: kib Reviewed by: kib Tested by:pho MFC after:2 we

svn commit: r227835 - head/sys/dev/vge

2011-11-22 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 22 20:45:09 2011 New Revision: 227835 URL: http://svn.freebsd.org/changeset/base/227835 Log: Rework link establishment and link state detection logic. - Remove MIIBUS statchg callback and program VGE_DIAGCTL before initiating link establishment. Previously

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

2011-11-22 Thread Mikolaj Golub
Author: trociny Date: Tue Nov 22 20:45:11 2011 New Revision: 227836 URL: http://svn.freebsd.org/changeset/base/227836 Log: Retire linprocfs_doargv(). Instead use new functions, proc_getargv() and proc_getenvv(), which were implemented using linprocfs_doargv() as a reference. Suggested b

svn commit: r227837 - head/sys/dev/vge

2011-11-22 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 22 20:57:06 2011 New Revision: 227837 URL: http://svn.freebsd.org/changeset/base/227837 Log: Announce flow control capability to underlying PHY driver. Pause timer value is initialized to 0x. Controller allows just 4 different TX pause thresholds. The lowest

svn commit: r227838 - head/usr.bin/procstat

2011-11-22 Thread Mikolaj Golub
Author: trociny Date: Tue Nov 22 20:59:52 2011 New Revision: 227838 URL: http://svn.freebsd.org/changeset/base/227838 Log: Add new options, -e and -x, to display process environment variables and ELF auxiliary vectors. MFC after:2 weeks Added: head/usr.bin/procstat/procstat_auxv.c

svn commit: r227839 - head/lib/libkvm

2011-11-22 Thread Mikolaj Golub
Author: trociny Date: Tue Nov 22 21:12:28 2011 New Revision: 227839 URL: http://svn.freebsd.org/changeset/base/227839 Log: Now kvm_getenvv() and kvm_getargv() don't need procfs(5). MFC after:2 weeks Modified: head/lib/libkvm/kvm_getprocs.3 head/lib/libkvm/kvm_proc.c Modified: head

svn commit: r227840 - head/bin/ps

2011-11-22 Thread Mikolaj Golub
Author: trociny Date: Tue Nov 22 21:14:46 2011 New Revision: 227840 URL: http://svn.freebsd.org/changeset/base/227840 Log: No need in procfs(5). MFC after:2 weeks Modified: head/bin/ps/ps.1 head/bin/ps/ps.c Modified: head/bin/ps/ps.1 ===

svn commit: r227841 - head

2011-11-22 Thread Dag-Erling Smorgrav
Author: des Date: Tue Nov 22 21:18:14 2011 New Revision: 227841 URL: http://svn.freebsd.org/changeset/base/227841 Log: Remove libpam from _prebuild_libs. This should unbreak the -jX build. MFC after:3 weeks Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 =

svn commit: r227842 - head/sys/dev/mii

2011-11-22 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 22 21:22:06 2011 New Revision: 227842 URL: http://svn.freebsd.org/changeset/base/227842 Log: For IP1001 PHY, do not set multi-port device(MASTER). Ideally this bit should not affect link establishment process of auto-negotiation if manual configuration is not u

Re: svn commit: r227840 - head/bin/ps

2011-11-22 Thread Alexander Best
On Tue Nov 22 11, Mikolaj Golub wrote: > Author: trociny > Date: Tue Nov 22 21:14:46 2011 > New Revision: 227840 > URL: http://svn.freebsd.org/changeset/base/227840 > > Log: > No need in procfs(5). > > MFC after: 2 weeks > > Modified: > head/bin/ps/ps.1 > head/bin/ps/ps.c > > Modifie

svn commit: r227843 - in head/sys: amd64/amd64 arm/econa arm/mv arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 dev/aac dev/acpi_support dev/acpica dev/amr dev/arcmsr dev/bce dev/bfe dev/bge ...

2011-11-22 Thread Marius Strobl
Author: marius Date: Tue Nov 22 21:28:20 2011 New Revision: 227843 URL: http://svn.freebsd.org/changeset/base/227843 Log: - There's no need to overwrite the default device method with the default one. Interestingly, these are actually the default for quite some time (bus_generic_driver_a

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

2011-11-22 Thread Dag-Erling Smørgrav
Rui Paulo writes: > With this change, I can no longer update a FreeBSD 9.0-current system > from June 2010 to FreeBSD 10.0. I suspect I'm not the only one. Sorry, my mind reader is broken at the moment, so you'll have to provide more information than that. DES -- Dag-Erling Smørgrav - d...@des.

Re: svn commit: r227798 - in head: . lib/libpam lib/libpam/modules

2011-11-22 Thread Dag-Erling Smørgrav
Jilles Tjoelker writes: > Although this will work, I think it trades the quality of the binaries > for a cleaner build system. It is better to pass all libraries to ld(1) > even though a .so may have unresolved references: the NEEDED entry > serves as an additional protection against version misma

Re: svn commit: r227798 - in head: . lib/libpam lib/libpam/modules

2011-11-22 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav writes: > Jilles Tjoelker writes: > > Although this will work, I think it trades the quality of the binaries > > for a cleaner build system. It is better to pass all libraries to ld(1) > > even though a .so may have unresolved references: the NEEDED entry > > serves as an addi

Re: svn commit: r227840 - head/bin/ps

2011-11-22 Thread Mikolaj Golub
On Tue, 22 Nov 2011 21:24:13 + Alexander Best wrote: AB> On Tue Nov 22 11, Mikolaj Golub wrote: >> Author: trociny >> Date: Tue Nov 22 21:14:46 2011 >> New Revision: 227840 >> URL: http://svn.freebsd.org/changeset/base/227840 >> >> Log: >> No need in procfs(5). >> >> MFC aft

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread Doug Barton
On 11/22/2011 12:27 PM, David Schultz wrote: > On Tue, Nov 22, 2011, Eitan Adler wrote: >> The problem with profiling this type of change is that it is hard to >> find a good representative benchmark. I could easily write code that >> will show you that adding the equality check is a good idea or t

svn commit: r227844 - head/share/examples/drivers

2011-11-22 Thread Marius Strobl
Author: marius Date: Tue Nov 22 21:49:29 2011 New Revision: 227844 URL: http://svn.freebsd.org/changeset/base/227844 Log: Update to use DEVMETHOD_END. Modified: head/share/examples/drivers/make_device_driver.sh Modified: head/share/examples/drivers/make_device_driver.sh =

svn commit: r227845 - head/sys/conf

2011-11-22 Thread Luigi Rizzo
Author: luigi Date: Tue Nov 22 21:50:38 2011 New Revision: 227845 URL: http://svn.freebsd.org/changeset/base/227845 Log: forgot to merge NETMAP entries in sys/conf ! Modified: head/sys/conf/NOTES head/sys/conf/files head/sys/conf/options Modified: head/sys/conf/NOTES

svn commit: r227846 - head/bin/ps

2011-11-22 Thread Mikolaj Golub
Author: trociny Date: Tue Nov 22 21:53:06 2011 New Revision: 227846 URL: http://svn.freebsd.org/changeset/base/227846 Log: Remove yet another outdated note about procfs(5) being required. Spotted by: arundel Modified: head/bin/ps/ps.1 Modified: head/bin/ps/ps.1 ===

svn commit: r227847 - head/sys/kern

2011-11-22 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 22 21:53:19 2011 New Revision: 227847 URL: http://svn.freebsd.org/changeset/base/227847 Log: Style change. Suggested by: jhb @ and marius @ MFC after:1 week Modified: head/sys/kern/subr_bus.c Modified: head/sys/kern/subr_bus.c ===

Re: svn commit: r227843 - in head/sys: amd64/amd64 arm/econa arm/mv arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 dev/aac dev/acpi_support dev/acpica dev/amr dev/arcmsr dev/bce dev/bfe dev/bge

2011-11-22 Thread Andriy Gapon
on 22/11/2011 23:28 Marius Strobl said the following: > Author: marius > Date: Tue Nov 22 21:28:20 2011 > New Revision: 227843 > URL: http://svn.freebsd.org/changeset/base/227843 > > Log: > - There's no need to overwrite the default device method with the default > one. Interestingly, these

svn commit: r227848 - in head/sys: dev/bwn dev/esp dev/mii dev/ofw dev/siba dev/stge dev/vte sparc64/central sparc64/ebus sparc64/fhc sparc64/pci sparc64/sbus sparc64/sparc64

2011-11-22 Thread Marius Strobl
Author: marius Date: Tue Nov 22 21:55:40 2011 New Revision: 227848 URL: http://svn.freebsd.org/changeset/base/227848 Log: s,KOBJMETHOD_END,DEVMETHOD_END,g in order to fully hide the explicit mention of kobj(9) from device drivers. Modified: head/sys/dev/bwn/if_bwn.c head/sys/dev/esp/esp_p

svn commit: r227849 - in head/sys: arm/econa arm/xscale/ixp425 dev/ahci dev/ata dev/gpio dev/mvs dev/ppbus dev/ppc dev/siba dev/siis dev/usb/controller kern mips/atheros mips/cavium/usb mips/rmi mi...

2011-11-22 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 22 21:56:55 2011 New Revision: 227849 URL: http://svn.freebsd.org/changeset/base/227849 Log: Rename device_delete_all_children() into device_delete_children(). Suggested by: jhb @ and marius @ MFC after:1 week Modified: head/sys/arm/econa/ehci_ebus.c

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

2011-11-22 Thread Rui Paulo
On 2011/11/22, at 21:33, Dag-Erling Smørgrav wrote: > Rui Paulo writes: >> With this change, I can no longer update a FreeBSD 9.0-current system >> from June 2010 to FreeBSD 10.0. I suspect I'm not the only one. > > Sorry, my mind reader is broken at the moment, so you'll have to provide > more

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

2011-11-22 Thread Ben Kaduk
2011/11/22 Rui Paulo : > On 2011/11/22, at 21:33, Dag-Erling Smørgrav wrote: > >> Rui Paulo writes: >>> With this change, I can no longer update a FreeBSD 9.0-current system >>> from June 2010 to FreeBSD 10.0. I suspect I'm not the only one. >> >> Sorry, my mind reader is broken at the moment, so

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

2011-11-22 Thread Doug Barton
On 11/22/2011 2:26 PM, Ben Kaduk wrote: > 2011/11/22 Rui Paulo : >> On 2011/11/22, at 21:33, Dag-Erling Smørgrav wrote: >> >>> Rui Paulo writes: With this change, I can no longer update a FreeBSD 9.0-current system from June 2010 to FreeBSD 10.0. I suspect I'm not the only one. >>> >>> S

svn commit: r227850 - head/sys/dev/re

2011-11-22 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 22 23:19:49 2011 New Revision: 227850 URL: http://svn.freebsd.org/changeset/base/227850 Log: Writing access to RL_CFG5 register also requires EEPROM write access. While I'm here, enable WOL through magic packet but disable waking up system via unicast, multica

svn commit: r227851 - head/sys/dev/re

2011-11-22 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 22 23:27:59 2011 New Revision: 227851 URL: http://svn.freebsd.org/changeset/base/227851 Log: Perform media change after setting IFF_DRV_RUNNING flag. Without it, driver would ignore the first link state update if controller already established a link such that i

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

2011-11-22 Thread Peter Wemm
On Tue, Nov 22, 2011 at 3:15 PM, Doug Barton wrote: > On 11/22/2011 2:26 PM, Ben Kaduk wrote: >> 2011/11/22 Rui Paulo : >>> On 2011/11/22, at 21:33, Dag-Erling Smørgrav wrote: >>> Rui Paulo writes: > With this change, I can no longer update a FreeBSD 9.0-current system > from June 20

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

2011-11-22 Thread Jilles Tjoelker
Author: jilles Date: Tue Nov 22 23:46:56 2011 New Revision: 227852 URL: http://svn.freebsd.org/changeset/base/227852 Log: fdopendir(): Do not close the passed file descriptor on failure. Reviewed by: delphij Modified: head/lib/libc/gen/opendir.c Modified: head/lib/libc/gen/opendir.c ==

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread Peter Wemm
On Tue, Nov 22, 2011 at 12:27 PM, David Schultz wrote: > On Tue, Nov 22, 2011, Eitan Adler wrote: >> The problem with profiling this type of change is that it is hard to >> find a good representative benchmark. I could easily write code that >> will show you that adding the equality check is a goo

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread Eitan Adler
On Tue, Nov 22, 2011 at 6:56 PM, Peter Wemm wrote: > On Tue, Nov 22, 2011 at 12:27 PM, David Schultz wrote: >> On Tue, Nov 22, 2011, Eitan Adler wrote: >>> The problem with profiling this type of change is that it is hard to >>> find a good representative benchmark. I could easily write code that

svn commit: r227854 - head/sys/dev/re

2011-11-22 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 23 02:08:05 2011 New Revision: 227854 URL: http://svn.freebsd.org/changeset/base/227854 Log: Disable accepting frames in re_stop() to put RX MAC into idle state. Because there is no reliable way to know whether RX MAC is in stopped state, rejecting all frames wo