svn commit: r229470 - in head: lib/libpmc sys/dev/hwpmc

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Wed Jan 4 07:58:36 2012 New Revision: 229470 URL: http://svn.freebsd.org/changeset/base/229470 Log: Update PMC events from October 2011 Intel documentation. Submitted by: Davide Italiano MFC after:3 days Modified: head/lib/libpmc/pmc.corei7.3 head/sys/dev/

svn commit: r229469 - head/sys/dev/hwpmc

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Wed Jan 4 07:33:06 2012 New Revision: 229469 URL: http://svn.freebsd.org/changeset/base/229469 Log: Add missing MSR programming for some events. Submitted by: Davide Italiano MFC after:3 days Modified: head/sys/dev/hwpmc/hwpmc_uncore.c head/sys/dev/hwpmc/h

svn commit: r229468 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io

2012-01-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jan 4 07:25:10 2012 New Revision: 229468 URL: http://svn.freebsd.org/changeset/base/229468 Log: Add missing file permission to open(O_CREAT) call. This doesn't really matter here, as we open /dev/null for test purposes, but it is useful for consistency and further grep

svn commit: r229467 - head/usr.sbin/uhsoctl

2012-01-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jan 4 07:21:37 2012 New Revision: 229467 URL: http://svn.freebsd.org/changeset/base/229467 Log: Add an missing argument to open(2). If O_CREAT flag is specified, file permission has to be specified as well. Modified: head/usr.sbin/uhsoctl/uhsoctl.c Modified: head/usr

svn commit: r229466 - head/usr.sbin/mptable

2012-01-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jan 4 07:04:43 2012 New Revision: 229466 URL: http://svn.freebsd.org/changeset/base/229466 Log: Add an missing argument to open(2). If O_CREAT flag is specified, file permission has to be specified as well. Modified: head/usr.sbin/mptable/mptable.c Modified: head/usr

svn commit: r229465 - head/sys/netinet6

2012-01-03 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 4 07:01:23 2012 New Revision: 229465 URL: http://svn.freebsd.org/changeset/base/229465 Log: Use correct locking when traversing interface address list. Reviewed by: bz Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c ===

svn commit: r229464 - head/sys/dev/flash

2012-01-03 Thread Adrian Chadd
Author: adrian Date: Wed Jan 4 04:17:03 2012 New Revision: 229464 URL: http://svn.freebsd.org/changeset/base/229464 Log: Add a couple more SPI flash device IDs found in commercial consumer wireless kit. Submitted by: Stefan Bethke Modified: head/sys/dev/flash/mx25l.c Modified: head/

svn commit: r229463 - head/sys/boot/pc98/libpc98

2012-01-03 Thread Takahashi Yoshihiro
Author: nyan Date: Wed Jan 4 03:54:30 2012 New Revision: 229463 URL: http://svn.freebsd.org/changeset/base/229463 Log: MFi386: revision 229435 Add special loader environment variables 'comconsole_port' and 'comconsole_pcidev'. MFC after:2 weeks Modified: head/sys/boot/pc9

svn commit: r229462 - head/sys/boot/pc98/boot2

2012-01-03 Thread Takahashi Yoshihiro
Author: nyan Date: Wed Jan 4 03:49:41 2012 New Revision: 229462 URL: http://svn.freebsd.org/changeset/base/229462 Log: Fix 230MB MO support. Submitted by: Kaho Toshikazu MFC after:1 week Modified: head/sys/boot/pc98/boot2/boot1.S Modified: head/sys/boot/pc98/boot2/boot1.S ===

svn commit: r229461 - in stable/9: . lib/libc/gen lib/libelf lib/libipsec lib/libpmc lib/msun/man libexec/rtld-elf/amd64 libexec/rtld-elf/i386 sbin/geom/class/part sbin/init share/doc/psd/03.iosys ...

2012-01-03 Thread Eitan Adler
Author: eadler (ports committer) Date: Wed Jan 4 03:37:41 2012 New Revision: 229461 URL: http://svn.freebsd.org/changeset/base/229461 Log: MFC r227458, r226436: - change "is is" to "is" or "it is" - change "the the" to "the" - other typo fixes Approved by: lstewart Modified: s

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

2012-01-03 Thread Xin LI
Author: delphij Date: Wed Jan 4 02:04:20 2012 New Revision: 229459 URL: http://svn.freebsd.org/changeset/base/229459 Log: Document the fact that chroot(2) is no longer part of POSIX since SUSv3 and add a SECURITY CONSIDERATIONS section for recommended practices. Modified: head/lib/libc/sys

svn commit: r229458 - stable/7/usr.sbin/makefs

2012-01-03 Thread Eitan Adler
Author: eadler (ports committer) Date: Wed Jan 4 02:03:15 2012 New Revision: 229458 URL: http://svn.freebsd.org/changeset/base/229458 Log: MFC r226482 - remove device keyword from makefs manpage Approved by: gjb Modified: stable/7/usr.sbin/makefs/makefs.8 Directory Properties: stabl

svn commit: r229457 - stable/8/usr.sbin/makefs

2012-01-03 Thread Eitan Adler
Author: eadler (ports committer) Date: Wed Jan 4 02:03:10 2012 New Revision: 229457 URL: http://svn.freebsd.org/changeset/base/229457 Log: MFC r226482 - remove device keyword from makefs manpage Approved by: gjb Modified: stable/8/usr.sbin/makefs/makefs.8 Directory Properties: stabl

svn commit: r229456 - stable/9/usr.sbin/makefs

2012-01-03 Thread Eitan Adler
Author: eadler (ports committer) Date: Wed Jan 4 02:02:58 2012 New Revision: 229456 URL: http://svn.freebsd.org/changeset/base/229456 Log: MFC r226482 - remove device keyword from makefs manpage Approved by: gjb Modified: stable/9/usr.sbin/makefs/makefs.8 Directory Properties: stabl

svn commit: r229454 - stable/7/sys/dev/dc

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 4 01:53:53 2012 New Revision: 229454 URL: http://svn.freebsd.org/changeset/base/229454 Log: MFC r227675: Partially revert r218788. r218788 removed calling dc_setcfg() for !DC_IS_ADMTEK in dc_miibus_statchg(). This change broke link establishment of Inte

svn commit: r229453 - in stable/8/sys: conf dev/dc

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 4 01:45:52 2012 New Revision: 229453 URL: http://svn.freebsd.org/changeset/base/229453 Log: MFC r227675: Partially revert r218788. r218788 removed calling dc_setcfg() for !DC_IS_ADMTEK in dc_miibus_statchg(). This change broke link establishment of Inte

svn commit: r229452 - stable/9/sys/dev/dc

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 4 01:38:52 2012 New Revision: 229452 URL: http://svn.freebsd.org/changeset/base/229452 Log: MFC r227675: Partially revert r218788. r218788 removed calling dc_setcfg() for !DC_IS_ADMTEK in dc_miibus_statchg(). This change broke link establishment of Inte

svn commit: r229451 - stable/7/sys/nfsclient

2012-01-03 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 4 00:51:05 2012 New Revision: 229451 URL: http://svn.freebsd.org/changeset/base/229451 Log: MFC: r227690 The old NFS client will crash due to the reply being m_freem()'d twice if the server bogusly returns an error with the NFSERR_RETERR bit (bit 31) set. No

svn commit: r229450 - in stable/8/sys: conf nfsclient

2012-01-03 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 4 00:24:09 2012 New Revision: 229450 URL: http://svn.freebsd.org/changeset/base/229450 Log: MFC: r227690 The old NFS client will crash due to the reply being m_freem()'d twice if the server bogusly returns an error with the NFSERR_RETERR bit (bit 31) set. No

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

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 4 00:04:01 2012 New Revision: 229449 URL: http://svn.freebsd.org/changeset/base/229449 Log: MFC r227349,227513-227514: r227349: Document TI_SF_BUF_JUMBO and Xr altq. r227513: Document newly introduced a loader tunable and sysctl variables. r2275

svn commit: r229448 - stable/8/share/man/man4

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 4 00:03:50 2012 New Revision: 229448 URL: http://svn.freebsd.org/changeset/base/229448 Log: MFC r227349,227513-227514: r227349: Document TI_SF_BUF_JUMBO and Xr altq. r227513: Document newly introduced a loader tunable and sysctl variables. r2275

svn commit: r229447 - stable/9/share/man/man4

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 4 00:03:33 2012 New Revision: 229447 URL: http://svn.freebsd.org/changeset/base/229447 Log: MFC r227349,227513-227514: r227349: Document TI_SF_BUF_JUMBO and Xr altq. r227513: Document newly introduced a loader tunable and sysctl variables. r2275

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

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 23:58:02 2012 New Revision: 229446 URL: http://svn.freebsd.org/changeset/base/229446 Log: MFC r227348: ti(4) supports altq(4). Modified: stable/7/share/man/man4/altq.4 Directory Properties: stable/7/share/man/man4/ (props changed) Modified: stable/7/s

svn commit: r229445 - stable/8/share/man/man4

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 23:57:47 2012 New Revision: 229445 URL: http://svn.freebsd.org/changeset/base/229445 Log: MFC r227348: ti(4) supports altq(4). Modified: stable/8/share/man/man4/altq.4 Directory Properties: stable/8/share/man/man4/ (props changed) Modified: stable/8/s

svn commit: r229444 - stable/9/share/man/man4

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 23:57:27 2012 New Revision: 229444 URL: http://svn.freebsd.org/changeset/base/229444 Log: MFC r227348: ti(4) supports altq(4). Modified: stable/9/share/man/man4/altq.4 Directory Properties: stable/9/share/man/man4/ (props changed) Modified: stable/9/s

svn commit: r229443 - stable/7/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 23:46:45 2012 New Revision: 229443 URL: http://svn.freebsd.org/changeset/base/229443 Log: MFC r227512: Overhaul bus_dma(9) usage in driver: - Don't use a single big DMA block for all rings. Create separate DMA area for each ring instead. Currentl

svn commit: r229442 - in stable/8/sys: conf dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 23:45:44 2012 New Revision: 229442 URL: http://svn.freebsd.org/changeset/base/229442 Log: MFC r227512: Overhaul bus_dma(9) usage in driver: - Don't use a single big DMA block for all rings. Create separate DMA area for each ring instead. Currentl

svn commit: r229441 - stable/9/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 23:44:05 2012 New Revision: 229441 URL: http://svn.freebsd.org/changeset/base/229441 Log: MFC r227512: Overhaul bus_dma(9) usage in driver: - Don't use a single big DMA block for all rings. Create separate DMA area for each ring instead. Currentl

svn commit: r229440 - stable/7/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 23:39:30 2012 New Revision: 229440 URL: http://svn.freebsd.org/changeset/base/229440 Log: MFC r227431-227432,227505,227509: r227431: style. No functional changes. r227432: Remove dead ifdef. Driver should always check raised interrupt is f

svn commit: r229439 - in stable/8/sys: conf dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 23:38:16 2012 New Revision: 229439 URL: http://svn.freebsd.org/changeset/base/229439 Log: MFC r227431-227432,227505,227509: r227431: style. No functional changes. r227432: Remove dead ifdef. Driver should always check raised interrupt is f

svn commit: r229438 - stable/9/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 23:36:29 2012 New Revision: 229438 URL: http://svn.freebsd.org/changeset/base/229438 Log: MFC r227431-227432,227505,227509: r227431: style. No functional changes. r227432: Remove dead ifdef. Driver should always check raised interrupt is f

Re: svn commit: r229430 - in head/sys: conf dev/sound/pci modules/sound/driver/emu10k1

2012-01-03 Thread Garrett Cooper
On Tue, Jan 3, 2012 at 2:44 PM, Pedro Giffuni wrote: > > > --- Mar 3/1/12, Garrett Cooper ha scritto: > ... >> >> Can the same be done for emu10kx ? >> > No :(. The two extra headers are GPL'd and the author doesn't > want to hear about BSDs. > >> Someday it would be nice to have xfi support in t

svn commit: r229437 - head/include

2012-01-03 Thread Ed Schouten
Author: ed Date: Tue Jan 3 23:05:23 2012 New Revision: 229437 URL: http://svn.freebsd.org/changeset/base/229437 Log: Simply disallow to be used in combination with C++. There is no way one could possibly use this header file in combination with C++ code. The problem is that in C11 the `

svn commit: r229436 - head/tools/tools/net80211/wesside/wesside

2012-01-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Jan 3 22:52:29 2012 New Revision: 229436 URL: http://svn.freebsd.org/changeset/base/229436 Log: Fix an obvious typo. We do want to specify file permission when we pass O_CREAT. Modified: head/tools/tools/net80211/wesside/wesside/wesside.c Modified: head/tools/tools/ne

Re: svn commit: r229430 - in head/sys: conf dev/sound/pci modules/sound/driver/emu10k1

2012-01-03 Thread Pedro Giffuni
--- Mar 3/1/12, Garrett Cooper ha scritto: ... > > Can the same be done for emu10kx ? > No :(. The two extra headers are GPL'd and the author doesn't want to hear about BSDs. > Someday it would be nice to have xfi support in the tree, > but that's a missing driver that even the OSS maintainer

svn commit: r229435 - head/sys/boot/i386/libi386

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 22:36:12 2012 New Revision: 229435 URL: http://svn.freebsd.org/changeset/base/229435 Log: Add special loader environment variables 'comconsole_port' and 'comconsole_pcidev'. The former allows to set the base address of the serial console i/o port. The later takes

Re: svn commit: r229430 - in head/sys: conf dev/sound/pci modules/sound/driver/emu10k1

2012-01-03 Thread Pedro Giffuni
Hi; --- Mar 3/1/12, John Baldwin ha scritto: ... > On Tuesday, January 03, 2012 4:04:54 > pm Pedro F. Giffuni wrote: > > Author: pfg > > Date: Tue Jan  3 21:04:54 2012 > > New Revision: 229430 > > URL: http://svn.freebsd.org/changeset/base/229430 > > > > Log: > >   Replace a GPL'd header in the

Re: svn commit: r229430 - in head/sys: conf dev/sound/pci modules/sound/driver/emu10k1

2012-01-03 Thread Garrett Cooper
On Tue, Jan 3, 2012 at 2:16 PM, Pedro Giffuni wrote: > Hi; > > --- Mar 3/1/12, John Baldwin ha scritto: > ... >> On Tuesday, January 03, 2012 4:04:54 >> pm Pedro F. Giffuni wrote: >> > Author: pfg >> > Date: Tue Jan  3 21:04:54 2012 >> > New Revision: 229430 >> > URL: http://svn.freebsd.org/chang

Re: svn commit: r229430 - in head/sys: conf dev/sound/pci modules/sound/driver/emu10k1

2012-01-03 Thread Ed Schouten
Hi John, * John Baldwin , 20120103 22:15: > Is this a common-enough chipset to enable in GENERIC now that it is safe to > do so? I would guess so, especially on i386 boxes. -- Ed Schouten WWW: http://80386.nl/ pgppMQr3sEwZr.pgp Description: PGP signature

Re: svn commit: r229430 - in head/sys: conf dev/sound/pci modules/sound/driver/emu10k1

2012-01-03 Thread John Baldwin
On Tuesday, January 03, 2012 4:04:54 pm Pedro F. Giffuni wrote: > Author: pfg > Date: Tue Jan 3 21:04:54 2012 > New Revision: 229430 > URL: http://svn.freebsd.org/changeset/base/229430 > > Log: > Replace a GPL'd header in the emu10k1 snd driver code. > > This brings in the emuxkireg.h from

svn commit: r229434 - in stable/7/sys: conf dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 21:21:25 2012 New Revision: 229434 URL: http://svn.freebsd.org/changeset/base/229434 Log: MFC r227347,227367: r227347: Retire 'options TI_PRIVATE_JUMBOS' and replace local jumbo allocator with UMA backed jumbo allocator by default. Previously ti(4)

svn commit: r229433 - in stable/8/sys: conf dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 21:17:59 2012 New Revision: 229433 URL: http://svn.freebsd.org/changeset/base/229433 Log: MFC r227347,227367: r227347: Retire 'options TI_PRIVATE_JUMBOS' and replace local jumbo allocator with UMA backed jumbo allocator by default. Previously ti(4)

svn commit: r229432 - in stable/9/sys: conf dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 21:16:00 2012 New Revision: 229432 URL: http://svn.freebsd.org/changeset/base/229432 Log: MFC r227347,227367: r227347: Retire 'options TI_PRIVATE_JUMBOS' and replace local jumbo allocator with UMA backed jumbo allocator by default. Previously ti(4)

svn commit: r229431 - head/sys/fs/nullfs

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 21:09:07 2012 New Revision: 229431 URL: http://svn.freebsd.org/changeset/base/229431 Log: Do the vput() for the lowervp in the null_nodeget() for error case too. Several callers of null_nodeget() did the cleanup itself, but several missed it, most prominent being

svn commit: r229430 - in head/sys: conf dev/sound/pci modules/sound/driver/emu10k1

2012-01-03 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 3 21:04:54 2012 New Revision: 229430 URL: http://svn.freebsd.org/changeset/base/229430 Log: Replace a GPL'd header in the emu10k1 snd driver code. This brings in the emuxkireg.h from NetBSD (dev/pci) which is used for the same purpose but is smaller. The emu10k1

svn commit: r229429 - head/sys/kern

2012-01-03 Thread John Baldwin
Author: jhb Date: Tue Jan 3 21:03:28 2012 New Revision: 229429 URL: http://svn.freebsd.org/changeset/base/229429 Log: Some small fixes to CPU accounting for threads: - Only initialize the per-cpu switchticks and switchtime in sched_throw() for the very first context switch on APs during b

svn commit: r229428 - head/sys/fs/nullfs

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 21:03:20 2012 New Revision: 229428 URL: http://svn.freebsd.org/changeset/base/229428 Log: Document the state of the lowervp vnode for null_nodeget(). Tested by:pho MFC after:1 week Modified: head/sys/fs/nullfs/null_subr.c Modified: head/sys/fs/null

svn commit: r229427 - head/sys/x86/acpica

2012-01-03 Thread John Baldwin
Author: jhb Date: Tue Jan 3 20:53:58 2012 New Revision: 229427 URL: http://svn.freebsd.org/changeset/base/229427 Log: Fix a few bugs in the SRAT parsing code: - Actually increment ndomain when building our list of known domains so that we can properly renumber them to be 0-based and dense

svn commit: r229426 - stable/9/contrib/bsnmp/snmpd

2012-01-03 Thread Mikolaj Golub
Author: trociny Date: Tue Jan 3 20:53:16 2012 New Revision: 229426 URL: http://svn.freebsd.org/changeset/base/229426 Log: MFC r228411: Include sys/queue.h: snmpmod.h uses TAILQ. PR: bin/153153 Modified: stable/9/contrib/bsnmp/snmpd/snmpmod.h Directory Properties: stable

svn commit: r229425 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-01-03 Thread Dimitry Andric
Author: dim Date: Tue Jan 3 20:53:07 2012 New Revision: 229425 URL: http://svn.freebsd.org/changeset/base/229425 Log: In sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, check the the number of links against LINK_MAX (which is INT16_MAX), not against UINT32_MAX. Otherwise, the c

svn commit: r229424 - stable/7/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 20:52:05 2012 New Revision: 229424 URL: http://svn.freebsd.org/changeset/base/229424 Log: MFC r227311-227312,227318-227319,227322-227324: r227311: Remove ti_unit member variable in softc. While I'm here use PCIR_BAR macro. r227312: o Remove un

svn commit: r229423 - head/sys/dev/qlxgb

2012-01-03 Thread Dimitry Andric
Author: dim Date: Tue Jan 3 20:51:26 2012 New Revision: 229423 URL: http://svn.freebsd.org/changeset/base/229423 Log: In sys/dev/qlxgb/qla_misc.c, fix a copy/paste issue. Clang complained the variable 'val' was uninitialized when used. Instead, 'sig' should have been printed. Reviewe

svn commit: r229422 - in stable/8/sys: conf dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 20:50:48 2012 New Revision: 229422 URL: http://svn.freebsd.org/changeset/base/229422 Log: MFC r227311-227312,227318-227319,227322-227324: r227311: Remove ti_unit member variable in softc. While I'm here use PCIR_BAR macro. r227312: o Remove un

svn commit: r229421 - stable/9/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 20:48:28 2012 New Revision: 229421 URL: http://svn.freebsd.org/changeset/base/229421 Log: MFC r227311-227312,227318-227319,227322-227324: r227311: Remove ti_unit member variable in softc. While I'm here use PCIR_BAR macro. r227312: o Remove un

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

2012-01-03 Thread John Baldwin
Author: jhb Date: Tue Jan 3 20:34:52 2012 New Revision: 229420 URL: http://svn.freebsd.org/changeset/base/229420 Log: When cancelling multicast timers on an interface, don't release the reference on a group in the leaving state while iterating over the loop. Instead, use the same approach u

svn commit: r229419 - stable/7/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 20:28:17 2012 New Revision: 229419 URL: http://svn.freebsd.org/changeset/base/229419 Log: MFC r227091-227095,227098-227099: r227091: Make sure to unload loaded DMA area(descriptor, command, event ring). r227092: Paritial merge since IFCAP_LINKSTATE

svn commit: r229418 - in stable/8/sys: conf dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 20:26:28 2012 New Revision: 229418 URL: http://svn.freebsd.org/changeset/base/229418 Log: MFC r227091-227095,227098-227099: r227091: Make sure to unload loaded DMA area(descriptor, command, event ring). r227092: Announce IFCAP_LINKSTATE capability

svn commit: r229417 - stable/9/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 20:24:56 2012 New Revision: 229417 URL: http://svn.freebsd.org/changeset/base/229417 Log: MFC r227091-227095,227098-227099: r227091: Make sure to unload loaded DMA area(descriptor, command, event ring). r227092: Announce IFCAP_LINKSTATE capability

svn commit: r229416 - head/sys/dev/tws

2012-01-03 Thread Xin LI
Author: delphij Date: Tue Jan 3 20:17:35 2012 New Revision: 229416 URL: http://svn.freebsd.org/changeset/base/229416 Log: Don't forget to release queue lock when allocation of memory failed. Submitted by: Sascha Wildner Obtained from:DragonFly MFC after:2 weeks Modified:

svn commit: r229415 - head/lib/libvgl

2012-01-03 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 3 19:47:32 2012 New Revision: 229415 URL: http://svn.freebsd.org/changeset/base/229415 Log: Integrate the line drawing algorithm from the book "Graphic Gems 1". http://www.graphicsgems.org/ At the time it claimed to be 3-4 times faster than the traditional

svn commit: r229414 - head/sys/netinet6

2012-01-03 Thread John Baldwin
Author: jhb Date: Tue Jan 3 19:44:36 2012 New Revision: 229414 URL: http://svn.freebsd.org/changeset/base/229414 Log: Grab a reference on the matching interface address (ifa) in the handling of the SIOC[DG]LIFADDR icotls before dropping the IF_ADDR_LOCK() and release the reference after usi

svn commit: r229413 - in head/contrib/compiler-rt: . lib

2012-01-03 Thread Ed Schouten
Author: ed Date: Tue Jan 3 19:41:36 2012 New Revision: 229413 URL: http://svn.freebsd.org/changeset/base/229413 Log: Import compiler-rt r147467. The compiler-rt shipped with FreeBSD is now based on unmodified upstream sources. Modified: head/contrib/compiler-rt/LICENSE.TXT head/cont

svn commit: r229412 - vendor/compiler-rt/compiler-rt-r147467

2012-01-03 Thread Ed Schouten
Author: ed Date: Tue Jan 3 19:39:27 2012 New Revision: 229412 URL: http://svn.freebsd.org/changeset/base/229412 Log: Tag compiler-rt r147467. Added: vendor/compiler-rt/compiler-rt-r147467/ - copied from r229411, vendor/compiler-rt/dist/ ___ sv

svn commit: r229411 - in vendor/compiler-rt/dist: . lib

2012-01-03 Thread Ed Schouten
Author: ed Date: Tue Jan 3 19:38:56 2012 New Revision: 229411 URL: http://svn.freebsd.org/changeset/base/229411 Log: Import compiler-rt r147467. Modified: vendor/compiler-rt/dist/LICENSE.TXT vendor/compiler-rt/dist/lib/clear_cache.c vendor/compiler-rt/dist/lib/trampoline_setup.c Modifie

svn commit: r229409 - stable/7/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 19:22:28 2012 New Revision: 229409 URL: http://svn.freebsd.org/changeset/base/229409 Log: MFC r219547: - Allocate the DMA memory shared between the host and the controller as coherent. - Constify the ti_devs table. - Don't bother to set if_mtu to

svn commit: r229408 - head/sys/mips/cavium/usb

2012-01-03 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jan 3 19:10:37 2012 New Revision: 229408 URL: http://svn.freebsd.org/changeset/base/229408 Log: - Octeon-SDK strictly requires multi_count to be zero for full and low speed devices. Modified: head/sys/mips/cavium/usb/octusb.c Modified: head/sys/mips/cavium/usb/

svn commit: r229407 - head/sys/fs/ntfs

2012-01-03 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 3 19:09:01 2012 New Revision: 229407 URL: http://svn.freebsd.org/changeset/base/229407 Log: Minor cleanups to ntfs code bzero -> memset rename variables to avoid shadowing. PR: 142401 Obtained from:NetBSD Approved by jhb (mentor) Mo

Re: svn commit: r229081 - stable/9/usr.bin/grep

2012-01-03 Thread Doug Barton
On 01/03/2012 06:29, John Baldwin wrote: > On Saturday, December 31, 2011 9:06:24 am Gábor Kövesdán wrote: >> On 2011.12.31. 15:00, Gleb Kurtsou wrote: ${BINDIR}/grep ${BINDIR}/fgrep \ > ${BINDIR}/grep ${BINDIR}/zgrep \ > ${BINDIR}/grep ${BINDIR}/zegrep \ >

svn commit: r229406 - stable/7/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 19:01:54 2012 New Revision: 229406 URL: http://svn.freebsd.org/changeset/base/229406 Log: MFC r227086-227089: r227086: Use ANSI function definations. r227087: No functional changes. r227088: Make ti(4) build with 'options TI_PRIVATE_JUMBOS

svn commit: r229405 - in stable/8/sys: conf dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 19:00:29 2012 New Revision: 229405 URL: http://svn.freebsd.org/changeset/base/229405 Log: MFC r227086-227089: r227086: Use ANSI function definations. r227087: No functional changes. r227088: Make ti(4) build with 'options TI_PRIVATE_JUMBOS

svn commit: r229404 - stable/9/sys/dev/ti

2012-01-03 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 3 18:58:20 2012 New Revision: 229404 URL: http://svn.freebsd.org/changeset/base/229404 Log: MFC r227086-227089: r227086: Use ANSI function definations. r227087: No functional changes. r227088: Make ti(4) build with 'options TI_PRIVATE_JUMBOS

svn commit: r229403 - in head: games/fortune/fortune lib/libc/gen lib/libc/net lib/libcam lib/libstand lib/libutil libexec/mknetid libexec/rlogind sbin/bsdlabel sbin/dump sbin/fsck_ffs sbin/ipfw sb...

2012-01-03 Thread Ed Schouten
Author: ed Date: Tue Jan 3 18:51:58 2012 New Revision: 229403 URL: http://svn.freebsd.org/changeset/base/229403 Log: Replace index() and rindex() calls with strchr() and strrchr(). The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently r

svn commit: r229402 - head/sys/compat/linux

2012-01-03 Thread Dimitry Andric
Author: dim Date: Tue Jan 3 18:49:39 2012 New Revision: 229402 URL: http://svn.freebsd.org/changeset/base/229402 Log: In sys/compat/linux/linux_ioctl.c, work around a warning when a pointer is compared to an integer, by casting the pointer to l_uintptr_t. No functional difference on both i

svn commit: r229401 - head/sys/dev/if_ndis

2012-01-03 Thread Dimitry Andric
Author: dim Date: Tue Jan 3 18:40:41 2012 New Revision: 229401 URL: http://svn.freebsd.org/changeset/base/229401 Log: In sys/dev/if_ndis/if_ndis_pccard.c, fix a bug where a garbage rid was passed to resource_list_add(). The rid that was just returned by bus_alloc_resource_any() should have

Re: svn commit: r229368 - in head: lib/libc lib/libc/arm/string lib/libc/i386/string lib/libc/mips/string lib/libc/string lib/libstand sys/boot/userboot/libstand

2012-01-03 Thread Ed Schouten
Hi Bruce, * Bruce Evans , 20120103 16:49: > This breaks the Standard C namespace. When they are in the same object > file, there is no way to get the standard name without getting the > nonstandard name. So the following C-standard-conforming C program > now gets a linkage err

svn commit: r229400 - head/sys

2012-01-03 Thread John Baldwin
Author: jhb Date: Tue Jan 3 17:31:27 2012 New Revision: 229400 URL: http://svn.freebsd.org/changeset/base/229400 Log: Improve the cscope target's handling of MD directories. Automatically include the MACHINE_CPUARCH directory if it differents from MACHINE when building an index for a singl

svn commit: r229399 - stable/7/sys/dev/hwpmc

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Tue Jan 3 17:19:57 2012 New Revision: 229399 URL: http://svn.freebsd.org/changeset/base/229399 Log: MFC r228438: There's a small set of events on Nehalem, that are not supported in processors with CPUID signature 06_1AH, 06_1EH, and 06_1FH. Modified: stable/7/sys/de

svn commit: r229398 - stable/8/sys/dev/hwpmc

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Tue Jan 3 17:17:30 2012 New Revision: 229398 URL: http://svn.freebsd.org/changeset/base/229398 Log: MFC r228438: There's a small set of events on Nehalem, that are not supported in processors with CPUID signature 06_1AH, 06_1EH, and 06_1FH. Modified: stable/8/sys/de

svn commit: r229397 - stable/9/sys/dev/hwpmc

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Tue Jan 3 17:15:27 2012 New Revision: 229397 URL: http://svn.freebsd.org/changeset/base/229397 Log: MFC r228438: There's a small set of events on Nehalem, that are not supported in processors with CPUID signature 06_1AH, 06_1EH, and 06_1FH. Modified: stable/9/sys/de

svn commit: r229396 - stable/7/sys/dev/hwpmc

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Tue Jan 3 17:07:11 2012 New Revision: 229396 URL: http://svn.freebsd.org/changeset/base/229396 Log: MFC r228198: Update Westmere uncore event exception list. Modified: stable/7/sys/dev/hwpmc/hwpmc_core.c Directory Properties: stable/7/sys/ (props changed) Modifie

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

2012-01-03 Thread Alexander Motin
Author: mav Date: Tue Jan 3 17:04:09 2012 New Revision: 229395 URL: http://svn.freebsd.org/changeset/base/229395 Log: Add support for CDRIOCGETBLOCKSIZE and CDRIOCSETBLOCKSIZE IOCTLs to control sector size same as acd driver does. Together with r228808 and r228847 this allows existing multi

svn commit: r229394 - stable/8/sys/dev/hwpmc

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Tue Jan 3 16:54:47 2012 New Revision: 229394 URL: http://svn.freebsd.org/changeset/base/229394 Log: MFC r228198: Update Westmere uncore event exception list. Modified: stable/8/sys/dev/hwpmc/hwpmc_core.c Directory Properties: stable/8/sys/ (props changed) Modifie

svn commit: r229393 - stable/9/sys/dev/hwpmc

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Tue Jan 3 16:41:38 2012 New Revision: 229393 URL: http://svn.freebsd.org/changeset/base/229393 Log: MFC r228198: Update Westmere uncore event exception list. Modified: stable/9/sys/dev/hwpmc/hwpmc_core.c Directory Properties: stable/9/sys/ (props changed) Modifie

svn commit: r229392 - in stable/9: lib/libpmc sys/dev/hwpmc sys/sys usr.sbin/pmcstat

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Tue Jan 3 16:35:00 2012 New Revision: 229392 URL: http://svn.freebsd.org/changeset/base/229392 Log: MFC r226514,r226526,r226986: Add a flush of the current PMC log buffer before displaying the next top. As the underlying block is 4KB if the PMC throughput is low the

svn commit: r229391 - stable/9/sys/nfsclient

2012-01-03 Thread Rick Macklem
Author: rmacklem Date: Tue Jan 3 16:32:33 2012 New Revision: 229391 URL: http://svn.freebsd.org/changeset/base/229391 Log: MFC: r227690 The old NFS client will crash due to the reply being m_freem()'d twice if the server bogusly returns an error with the NFSERR_RETERR bit (bit 31) set. No

Re: svn commit: r229081 - stable/9/usr.bin/grep

2012-01-03 Thread John Baldwin
On Saturday, December 31, 2011 9:06:24 am Gábor Kövesdán wrote: > On 2011.12.31. 15:00, Gleb Kurtsou wrote: > >>${BINDIR}/grep ${BINDIR}/fgrep \ > >> > ${BINDIR}/grep ${BINDIR}/zgrep \ > >> > ${BINDIR}/grep ${BINDIR}/zegrep \ > >> > - ${BINDIR}/grep ${BINDIR}/zfgrep \ >

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

2012-01-03 Thread John Baldwin
Author: jhb Date: Tue Jan 3 16:22:29 2012 New Revision: 229390 URL: http://svn.freebsd.org/changeset/base/229390 Log: Use TAILQ_FOREACH() instead of TAILQ_FOREACH_SAFE() for some loops that do not modify the queues they iterate over. Submitted by: glebius Modified: head/sys/netinet/ig

Re: svn commit: r229198 - in head: share/man/man9 sys/conf sys/libkern sys/sys

2012-01-03 Thread Pawel Jakub Dawidek
On Sun, Jan 01, 2012 at 08:26:11PM +, Ed Schouten wrote: > Author: ed > Date: Sun Jan 1 20:26:11 2012 > New Revision: 229198 > URL: http://svn.freebsd.org/changeset/base/229198 > > Log: > Introducing memcchr(3). > > It seems two of the file system drivers we have in the tree, namely uf

Re: svn commit: r229368 - in head: lib/libc lib/libc/arm/string lib/libc/i386/string lib/libc/mips/string lib/libc/string lib/libstand sys/boot/userboot/libstand

2012-01-03 Thread Bruce Evans
On Tue, 3 Jan 2012, Ed Schouten wrote: Log: Merge index() and strchr() together. As I looked through the C library, I noticed the FreeBSD MIPS port has a hand-written version of index(). This is nice, if it weren't for the fact that most applications call strchr() instead. Also, on the ot

svn commit: r229389 - in stable/8: lib/libusbhid sys/conf sys/dev/usb/input usr.bin/usbhidaction usr.bin/usbhidctl

2012-01-03 Thread Alexander Motin
Author: mav Date: Tue Jan 3 13:16:47 2012 New Revision: 229389 URL: http://svn.freebsd.org/changeset/base/229389 Log: MFC r225839: Import the rest of HID improvements from the branch: - improve report descriptor parser in libusbhid to handle several kinds of reports same time; - add t

svn commit: r229388 - stable/8/lib/libusbhid

2012-01-03 Thread Alexander Motin
Author: mav Date: Tue Jan 3 13:13:31 2012 New Revision: 229388 URL: http://svn.freebsd.org/changeset/base/229388 Log: MFC r213920 (by hselasky): - Add support for libusbhid in 32-bit compatibility mode. - Add missing check for ugd_actlen being too small. - Add missing inclusion guard to u

svn commit: r229387 - in stable/9: lib/libusbhid sys/dev/usb/input usr.bin/usbhidaction usr.bin/usbhidctl

2012-01-03 Thread Alexander Motin
Author: mav Date: Tue Jan 3 12:47:55 2012 New Revision: 229387 URL: http://svn.freebsd.org/changeset/base/229387 Log: MFC r225839: Import the rest of HID improvements from the branch: - improve report descriptor parser in libusbhid to handle several kinds of reports same time; - add t

svn commit: r229386 - head/usr.bin/talk

2012-01-03 Thread Ed Schouten
Author: ed Date: Tue Jan 3 11:13:07 2012 New Revision: 229386 URL: http://svn.freebsd.org/changeset/base/229386 Log: Remove hand-written version of strcspn(). The code searches for the first occurence of @, : or !. Upon failure, it returns the index of \0. This is exactly what strcspn()

svn commit: r229385 - head/usr.sbin/bsnmpd/tools/libbsnmptools

2012-01-03 Thread Ed Schouten
Author: ed Date: Tue Jan 3 11:10:15 2012 New Revision: 229385 URL: http://svn.freebsd.org/changeset/base/229385 Log: Fix subtle typo: compare against idx -- not index. In this contest, index refers to the index(3) function. In this case it doesn't really harm, as this function is never c

svn commit: r229384 - head/usr.sbin/quotaon

2012-01-03 Thread Ed Schouten
Author: ed Date: Tue Jan 3 11:08:58 2012 New Revision: 229384 URL: http://svn.freebsd.org/changeset/base/229384 Log: Simply use getprogname() to obtain the name of the process. Modified: head/usr.sbin/quotaon/quotaon.c Modified: head/usr.sbin/quotaon/quotaon.c ==

svn commit: r229383 - stable/9/sys/vm

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 10:36:38 2012 New Revision: 229383 URL: http://svn.freebsd.org/changeset/base/229383 Log: MFC r227530: Update the device pager interface. Sponsored by: The FreeBSD Foundation Modified: stable/9/sys/vm/device_pager.c stable/9/sys/vm/vm_object.h stable/9/

svn commit: r229382 - stable/9/sys/vm

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 10:30:27 2012 New Revision: 229382 URL: http://svn.freebsd.org/changeset/base/229382 Log: MFC r227102: Provide typedefs for the type of bit mask for the page bits. Use the defined types instead of int when manipulating masks. Supposedly, it could fix support fo

svn commit: r229381 - in stable: 8/etc/defaults 8/etc/periodic/daily 9/etc/defaults 9/etc/periodic/daily

2012-01-03 Thread Xin LI
Author: delphij Date: Tue Jan 3 10:22:09 2012 New Revision: 229381 URL: http://svn.freebsd.org/changeset/base/229381 Log: MFC r226471 (se): Add missing default values for daily/800.scrub-zfs for documentation purposes. No functional change, since all parameters are set to their default

svn commit: r229381 - in stable: 8/etc/defaults 8/etc/periodic/daily 9/etc/defaults 9/etc/periodic/daily

2012-01-03 Thread Xin LI
Author: delphij Date: Tue Jan 3 10:22:09 2012 New Revision: 229381 URL: http://svn.freebsd.org/changeset/base/229381 Log: MFC r226471 (se): Add missing default values for daily/800.scrub-zfs for documentation purposes. No functional change, since all parameters are set to their default

svn commit: r229380 - in stable/9: secure/lib/libcrypto share/mk

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 10:02:44 2012 New Revision: 229380 URL: http://svn.freebsd.org/changeset/base/229380 Log: MFC r228307: Force linker error when created shared library contains a relocation against text. Provide the override switch to turn off the strict behaviour. Apparently, o

  1   2   >