svn commit: r228275 - head/sys/kern

2011-12-05 Thread Kevin Lo
Author: kevlo Date: Mon Dec 5 10:34:52 2011 New Revision: 228275 URL: http://svn.freebsd.org/changeset/base/228275 Log: Add a missing curly bracket Modified: head/sys/kern/kern_cpuset.c Modified: head/sys/kern/kern_cpuset.c

Re: svn commit: r228269 - head/lib/libc/locale

2011-12-05 Thread Kostik Belousov
On Mon, Dec 05, 2011 at 12:00:48AM +, Jilles Tjoelker wrote: Author: jilles Date: Mon Dec 5 00:00:47 2011 New Revision: 228269 URL: http://svn.freebsd.org/changeset/base/228269 Log: libc: Eliminate 13 relative relocations in wctype(). This reminds me the following change I had

svn commit: r228276 - in head: sys/dev/ixgbe sys/dev/netmap sys/net tools/tools/netmap

2011-12-05 Thread Luigi Rizzo
Author: luigi Date: Mon Dec 5 12:06:53 2011 New Revision: 228276 URL: http://svn.freebsd.org/changeset/base/228276 Log: 1. Fix the handling of link reset while in netmap more. A link reset now is completely transparent for the netmap client: even if the NIC resets its own ring (e.g.

svn commit: r228277 - in head: etc/devd sys/powerpc/powermac

2011-12-05 Thread Justin Hibbits
Author: jhibbits Date: Mon Dec 5 14:13:21 2011 New Revision: 228277 URL: http://svn.freebsd.org/changeset/base/228277 Log: Fix style(9) issues from r228270. Approved by: nwhitehorn (mentor) Modified: head/etc/devd/apple.conf head/sys/powerpc/powermac/pmu.c Modified:

svn commit: r228278 - head/usr.sbin/mfiutil

2011-12-05 Thread John Baldwin
Author: jhb Date: Mon Dec 5 15:11:35 2011 New Revision: 228278 URL: http://svn.freebsd.org/changeset/base/228278 Log: Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIP arguments. MFC after:2 weeks Modified: head/usr.sbin/mfiutil/mfi_evt.c Modified:

svn commit: r228280 - head/sys/dev/netmap

2011-12-05 Thread Luigi Rizzo
Author: luigi Date: Mon Dec 5 15:21:21 2011 New Revision: 228280 URL: http://svn.freebsd.org/changeset/base/228280 Log: revise the implementation of the rings connected to the host stack Modified: head/sys/dev/netmap/netmap.c Modified: head/sys/dev/netmap/netmap.c

svn commit: r228281 - in head/sys/dev: e1000 re

2011-12-05 Thread Luigi Rizzo
Author: luigi Date: Mon Dec 5 15:33:13 2011 New Revision: 228281 URL: http://svn.freebsd.org/changeset/base/228281 Log: add netmap support for em, lem, igb and re. On my hardware, em in netmap mode does about 1.388 Mpps on one card (on an Asus motherboard), and 1.1 Mpps on another

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

2011-12-05 Thread Ed Schouten
Author: ed Date: Mon Dec 5 16:08:18 2011 New Revision: 228283 URL: http://svn.freebsd.org/changeset/base/228283 Log: Get rid of kludgy per-descriptor state handling in acpi_apm. Where i386/bios/apm.c requires no per-descriptor state, the ACPI version of these device do. Instead of using

svn commit: r228284 - in head/kerberos5: . lib/libhdb

2011-12-05 Thread Hajimu UMEMOTO
Author: ume Date: Mon Dec 5 16:38:52 2011 New Revision: 228284 URL: http://svn.freebsd.org/changeset/base/228284 Log: - Make heimdal buildable with WITH_OPENLDAP defined, again. - Our heimdal uses the deprecated OpenLDAP functions. Modified: head/kerberos5/Makefile.inc

svn commit: r228286 - head/sys/dev/ed

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 5 18:10:43 2011 New Revision: 228286 URL: http://svn.freebsd.org/changeset/base/228286 Log: Fix off by one error in mbuf access. Previously it caused panic. While I'm here use NULL to compare mbuf pointer and add additional check for zero length mbuf before

svn commit: r228287 - head/sys/vm

2011-12-05 Thread Alan Cox
Author: alc Date: Mon Dec 5 18:29:25 2011 New Revision: 228287 URL: http://svn.freebsd.org/changeset/base/228287 Log: Introduce vm_reserv_alloc_contig() and teach vm_page_alloc_contig() how to use superpage reservations. So, for the first time, kernel virtual memory that is allocated by

Re: svn commit: r228281 - in head/sys/dev: e1000 re

2011-12-05 Thread Marius Strobl
On Mon, Dec 05, 2011 at 03:33:14PM +, Luigi Rizzo wrote: Author: luigi Date: Mon Dec 5 15:33:13 2011 New Revision: 228281 URL: http://svn.freebsd.org/changeset/base/228281 Log: add netmap support for em, lem, igb and re. On my hardware, em in netmap mode does about 1.388 Mpps

Re: svn commit: r228281 - in head/sys/dev: e1000 re

2011-12-05 Thread Luigi Rizzo
On Mon, Dec 05, 2011 at 07:38:54PM +0100, Marius Strobl wrote: On Mon, Dec 05, 2011 at 03:33:14PM +, Luigi Rizzo wrote: ... +#ifdef DEV_NETMAP + if (slot) { + int si = i + na-tx_rings[txr-me].nkr_hwofs; + void *addr; + +

svn commit: r228288 - head/sys/kern

2011-12-05 Thread Mikolaj Golub
Author: trociny Date: Mon Dec 5 19:34:02 2011 New Revision: 228288 URL: http://svn.freebsd.org/changeset/base/228288 Log: Protect kern.proc.auxv and kern.proc.ps_strings sysctls with p_candebug(). Citing jilles: If we are ever going to do ASLR, the AUXV information tells an attacker

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

2011-12-05 Thread Mikolaj Golub
Author: trociny Date: Mon Dec 5 19:39:15 2011 New Revision: 228289 URL: http://svn.freebsd.org/changeset/base/228289 Log: Don't output a warning if kern.proc.auxv sysctl has returned EPERM. After r228288 this is rather a normal situation. MFC after:1 week Modified:

Re: svn commit: r228281 - in head/sys/dev: e1000 re

2011-12-05 Thread Marius Strobl
On Mon, Dec 05, 2011 at 08:31:50PM +0100, Luigi Rizzo wrote: On Mon, Dec 05, 2011 at 07:38:54PM +0100, Marius Strobl wrote: On Mon, Dec 05, 2011 at 03:33:14PM +, Luigi Rizzo wrote: ... +#ifdef DEV_NETMAP + if (slot) { + int si = i +

Re: svn commit: r228158 - in head: . share/mk sys/conf

2011-12-05 Thread Hans Petter Selasky
Hi, I see regressions when building kernel modules from /usr/ports: On Monday 05 December 2011 14:39:56 Robert Huff wrote: Hello: When trying to update I get: === Building for cuse4bsd-kmod-0.1.21_2 make -f /data/port-work/usr/ports/multimedia/cuse4bsd-kmod/work/cuse4bsd-kmod-0.1.

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

2011-12-05 Thread Marius Strobl
Author: marius Date: Mon Dec 5 21:38:45 2011 New Revision: 228290 URL: http://svn.freebsd.org/changeset/base/228290 Log: - In mii_attach(9) just set the driver for a newly added miibus(4) instance before calling bus_enumerate_hinted_children(9) (which is the minimum for this to work)

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

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 5 22:09:07 2011 New Revision: 228291 URL: http://svn.freebsd.org/changeset/base/228291 Log: Remove NetBSD license. r199548 removed all bit macros that were derived from NetBSD. Modified: head/sys/dev/et/if_etreg.h Modified: head/sys/dev/et/if_etreg.h

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

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 5 22:22:39 2011 New Revision: 228292 URL: http://svn.freebsd.org/changeset/base/228292 Log: Implement suspend/resume methods. Driver has no issue with suspend/resume. Modified: head/sys/dev/et/if_et.c Modified: head/sys/dev/et/if_et.c

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

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 5 22:55:52 2011 New Revision: 228293 URL: http://svn.freebsd.org/changeset/base/228293 Log: Fix alt(4) support. Also add check for number of available TX descriptors before trying to send frames. If we're not able to send a frame, make sure to prepend it to

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

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 6 00:18:37 2011 New Revision: 228297 URL: http://svn.freebsd.org/changeset/base/228297 Log: et(4) supports VLAN oversized frame so correctly set header length. While I'm here remove initializing if_mtu, it is set by ether_ifattach(9). Also move

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

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 6 00:58:42 2011 New Revision: 228298 URL: http://svn.freebsd.org/changeset/base/228298 Log: Make et_probe() return BUS_PROBE_DEFAULT such that allow other driver that has high precedence for the controller override et(4). Add missing callout_drain(9) in device

svn commit: r228301 - in head/sys/dev/virtio: . balloon block network pci

2011-12-05 Thread Peter Grehan
Author: grehan Date: Tue Dec 6 06:28:32 2011 New Revision: 228301 URL: http://svn.freebsd.org/changeset/base/228301 Log: Catch up with Bryan Venteicher's virtio Hg repo: c162516 Remove vtblk_sector_size c162515 Wrap long license lines c162514 Remove vtblk_unit

svn commit: r228302 - head/sys/kern

2011-12-05 Thread Mikolaj Golub
Author: trociny Date: Tue Dec 6 06:40:14 2011 New Revision: 228302 URL: http://svn.freebsd.org/changeset/base/228302 Log: Really protect kern.proc.ps_strings sysctls with p_candebug(). This was intended to be in r228288. Spotted by: many MFC after:1 week Modified:

svn commit: r228303 - head/sys/dev/usb/wlan

2011-12-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 6 07:55:25 2011 New Revision: 228303 URL: http://svn.freebsd.org/changeset/base/228303 Log: Fix compile warning when using clang to compile the code. Submitted by: arundel @ MFC after:3 days Modified: head/sys/dev/usb/wlan/if_zyd.c Modified: