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

2011-12-07 Thread Ruslan Ermilov
Author: ru Date: Wed Dec 7 11:06:18 2011 New Revision: 228318 URL: http://svn.freebsd.org/changeset/base/228318 Log: The NOTE_COPY should have been named NOTE_FFCOPY from the very beginning. Submitted by: Igor Sysoev Modified: head/lib/libc/sys/kqueue.2 Modified: head/lib/libc/sys/kq

svn commit: r228319 - head/usr.bin/grep

2011-12-07 Thread Gabor Kovesdan
Author: gabor Date: Wed Dec 7 12:25:28 2011 New Revision: 228319 URL: http://svn.freebsd.org/changeset/base/228319 Log: - Match GNU behavior of exit code - Rename variable that has a different meaning now PR: bin/162930 Submitted by: Jan Beich MFC after:1 week Modifie

svn commit: r228321 - head/sys/netinet6

2011-12-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 7 13:37:42 2011 New Revision: 228321 URL: http://svn.freebsd.org/changeset/base/228321 Log: Fix double free. PR: kern/163089 Submitted by: Herbie Robinson Modified: head/sys/netinet6/mld6.c Modified: head/sys/netinet6/mld6.c ==

svn commit: r228322 - in head: include lib/libc/stdlib sys/sys

2011-12-07 Thread David Chisnall
Author: theraven Date: Wed Dec 7 15:25:48 2011 New Revision: 228322 URL: http://svn.freebsd.org/changeset/base/228322 Log: Implement quick_exit() / at_quick_exit() from C++11 / C1x. Also add a __noreturn macro and modify the other exiting functions to use it. The __noreturn macro, unlik

Re: svn commit: r228322 - in head: include lib/libc/stdlib sys/sys

2011-12-07 Thread Kostik Belousov
On Wed, Dec 07, 2011 at 03:25:48PM +, David Chisnall wrote: > Author: theraven > Date: Wed Dec 7 15:25:48 2011 > New Revision: 228322 > URL: http://svn.freebsd.org/changeset/base/228322 > > Log: > Implement quick_exit() / at_quick_exit() from C++11 / C1x. Also add a > __noreturn macro an

Re: svn commit: r228322 - in head: include lib/libc/stdlib sys/sys

2011-12-07 Thread Stefan Farfeleder
On Wed, Dec 07, 2011 at 03:25:48PM +, David Chisnall wrote: > > /* > + * If we're in a mode greater than C99, expose C1x functions. > + */ > +#if __ISO_C_VISIBLE > 1999 > +__noreturn void quick_exit(int) > +int > +at_quick_exit(void (*func)(void)); > +#endif /* __ISO_C_VISIBLE > 1999 */ > +/

svn commit: r228323 - head/lib/libc/stdlib

2011-12-07 Thread David Chisnall
Author: theraven Date: Wed Dec 7 16:12:54 2011 New Revision: 228323 URL: http://svn.freebsd.org/changeset/base/228323 Log: style(9) cleanups. Approved by: brooks (mentor) Modified: head/lib/libc/stdlib/quick_exit.c Modified: head/lib/libc/stdlib/quick_exit.c ==

svn commit: r228324 - head/sys/kern

2011-12-07 Thread Alan Cox
Author: alc Date: Wed Dec 7 16:27:23 2011 New Revision: 228324 URL: http://svn.freebsd.org/changeset/base/228324 Log: Eliminate stale numbers from a comment. Modified: head/sys/kern/kern_malloc.c Modified: head/sys/kern/kern_malloc.c =

Re: svn commit: r228322 - in head: include lib/libc/stdlib sys/sys

2011-12-07 Thread Bruce Evans
On Wed, 7 Dec 2011, Kostik Belousov wrote: On Wed, Dec 07, 2011 at 03:25:48PM +, David Chisnall wrote: Log: Implement quick_exit() / at_quick_exit() from C++11 / C1x. Also add a __noreturn macro and modify the other exiting functions to use it. ... +struct quick_exit_handler { +

Re: svn commit: r228323 - head/lib/libc/stdlib

2011-12-07 Thread Bruce Evans
On Wed, 7 Dec 2011, David Chisnall wrote: Log: style(9) cleanups. Thanks, but many style bugs are still visible. Modified: head/lib/libc/stdlib/quick_exit.c == --- head/lib/libc/stdlib/quick_exit.c Wed Dec 7 15:2

svn commit: r228325 - head/sys/dev/et

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 18:17:09 2011 New Revision: 228325 URL: http://svn.freebsd.org/changeset/base/228325 Log: Overhaul bus_dma(9) usage in et(4) and clean up TX/RX path. This change should make et(4) work on any architectures. o Remove m_getl inline function and replace it wit

svn commit: r228326 - head/sys/dev/et

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 19:08:54 2011 New Revision: 228326 URL: http://svn.freebsd.org/changeset/base/228326 Log: Controller does not require TX start command for every frame. So send a single TX command after setting up all TX frames. This removes unnecessary register accesses an

Re: svn commit: r228322 - in head: include lib/libc/stdlib sys/sys

2011-12-07 Thread David Schultz
On Wed, Dec 07, 2011, David Chisnall wrote: > Author: theraven > Date: Wed Dec 7 15:25:48 2011 > New Revision: 228322 > URL: http://svn.freebsd.org/changeset/base/228322 > > Log: > Implement quick_exit() / at_quick_exit() from C++11 / C1x. Also add a > __noreturn macro and modify the other e

svn commit: r228327 - head/sys/dev/et

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 19:43:04 2011 New Revision: 228327 URL: http://svn.freebsd.org/changeset/base/228327 Log: Remove et_enable_intrs(), et_disable_intrs() functions and manipulation of interrupt register access is done through CSR_WRITE_4 macro. Also add disabling interrupt int

svn commit: r228328 - head/contrib/libstdc++/include/debug

2011-12-07 Thread Dimitry Andric
Author: dim Date: Wed Dec 7 21:00:33 2011 New Revision: 228328 URL: http://svn.freebsd.org/changeset/base/228328 Log: Make it possible to use the debug versions of std::map and std::multimap with clang, by removing two unneeded using declarations. Otherwise, you would get errors similar to

svn commit: r228329 - head/lib/libc/stdlib

2011-12-07 Thread David Chisnall
Author: theraven Date: Wed Dec 7 21:02:35 2011 New Revision: 228329 URL: http://svn.freebsd.org/changeset/base/228329 Log: Some fixes to the man pages for [at_]quick_exit(3) Reviewed by:pluknet Approved by:dim (mentor) Modified: head/lib/libc/stdlib/at_quick_exit.3 head/lib/

Re: svn commit: r228322 - in head: include lib/libc/stdlib sys/sys

2011-12-07 Thread David Chisnall
On 7 Dec 2011, at 19:11, David Schultz wrote: > Why not use the standard spelling, '_Noreturn'? In pre-C1X modes, > _Noreturn is a reserved identifier since it starts with an underscore > and capital letter, so it's not considered namespace pollution. Because that would be too obvious... David

svn commit: r228330 - in head: include sys/sys

2011-12-07 Thread David Chisnall
Author: theraven Date: Wed Dec 7 21:17:50 2011 New Revision: 228330 URL: http://svn.freebsd.org/changeset/base/228330 Log: As per das@'s suggestion, s/__noreturn/_Noreturn/, since the latter is an identifier reserved for the implementation in C99 and earlier so there is no sensible reason f

Re: svn commit: r228322 - in head: include lib/libc/stdlib sys/sys

2011-12-07 Thread Bruce Evans
On Wed, 7 Dec 2011, David Schultz wrote: On Wed, Dec 07, 2011, David Chisnall wrote: Log: Implement quick_exit() / at_quick_exit() from C++11 / C1x. Also add a __noreturn macro and modify the other exiting functions to use it. The __noreturn macro, unlike __dead2, must be used BEFORE th

svn commit: r228331 - head/sys/dev/et

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 21:29:51 2011 New Revision: 228331 URL: http://svn.freebsd.org/changeset/base/228331 Log: Rework link state tracking and TX/RX MAC configuration. o Do not report link status if driver is not running. o TX/RX MAC configuration should be done with resolved sp

svn commit: r228332 - head/sys/dev/et

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 21:46:09 2011 New Revision: 228332 URL: http://svn.freebsd.org/changeset/base/228332 Log: Implement hardware MAC statistics counter. Counters could be queried with dev.et.%d.stats sysctl node where %d is an instance of device. Modified: head/sys/dev/et/if

svn commit: r228333 - head/sys/dev/et

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 21:54:44 2011 New Revision: 228333 URL: http://svn.freebsd.org/changeset/base/228333 Log: Protect SIOCSIFMTU ioctl handler with driver lock. Don't blindly re-initialize controller whenever MTU is changed. Now, reinitializing is done only when driver is runnin

svn commit: r228335 - head/sys/dev/et

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 22:04:57 2011 New Revision: 228335 URL: http://svn.freebsd.org/changeset/base/228335 Log: Consistently use a tab character instead of using either a space or tab after #define. While I'm here consistently use capital letters when it uses hexadecimal notatio

svn commit: r228336 - head/sys/dev/et

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 23:20:14 2011 New Revision: 228336 URL: http://svn.freebsd.org/changeset/base/228336 Log: Disable all clocks and put PHY into COMA before entering into suspend state. This will save more power. On resume, make sure to enable all clocks. While I'm here, if

svn commit: r228342 - head/contrib/tzcode/zic

2011-12-07 Thread Eitan Adler
Author: eadler (ports committer) Date: Thu Dec 8 02:40:46 2011 New Revision: 228342 URL: http://svn.freebsd.org/changeset/base/228342 Log: - set progname for use in usage() PR: bin/162908 Submitted by: Oleg Ginzburg Approved by: sbruno@ MFC after:3 days Modified: h

svn commit: r228343 - head/sys/kern

2011-12-07 Thread Eitan Adler
Author: eadler (ports committer) Date: Thu Dec 8 03:20:38 2011 New Revision: 228343 URL: http://svn.freebsd.org/changeset/base/228343 Log: - Fix ktrace leakage if error is set PR: kern/163098 Submitted by: Loganaden Velvindron Approved by: sbruno@ MFC after:1 month M

svn commit: r228344 - head/sys/cam/scsi

2011-12-07 Thread Eitan Adler
Author: eadler (ports committer) Date: Thu Dec 8 03:20:48 2011 New Revision: 228344 URL: http://svn.freebsd.org/changeset/base/228344 Log: - Add support for Support SEAGATE DAT Scopion 130 PR: kern/141934 Submitted by: HASHI Hiroaki Approved by: sbruno@ MFC after:1 we

Re: svn commit: r228342 - head/contrib/tzcode/zic

2011-12-07 Thread Pawel Jakub Dawidek
On Thu, Dec 08, 2011 at 02:40:46AM +, Eitan Adler wrote: > Author: eadler (ports committer) > Date: Thu Dec 8 02:40:46 2011 > New Revision: 228342 > URL: http://svn.freebsd.org/changeset/base/228342 > > Log: > - set progname for use in usage() > > PR: bin/162908 > Submitted b