svn commit: r216555 - head/sys/i386/i386

2010-12-18 Thread Alan Cox
Author: alc Date: Sun Dec 19 07:31:56 2010 New Revision: 216555 URL: http://svn.freebsd.org/changeset/base/216555 Log: Redo some parts of r216333, specifically, the locking changes to pmap_extract_and_hold(), and undo the rest. In particular, I forgot that PG_PS and PG_PTE_PAT are the same

svn commit: r216554 - stable/7/sys/vm

2010-12-18 Thread Max Laier
Author: mlaier Date: Sun Dec 19 06:09:02 2010 New Revision: 216554 URL: http://svn.freebsd.org/changeset/base/216554 Log: MFC r216335: Fix a long standing (from the original 4.4BSD lite sources) race between vmspace_fork and vm_map_wire that would lead to "vm_fault_copy_wired: page m

svn commit: r216553 - stable/8/sys/vm

2010-12-18 Thread Max Laier
Author: mlaier Date: Sun Dec 19 06:07:35 2010 New Revision: 216553 URL: http://svn.freebsd.org/changeset/base/216553 Log: MFC r216335: Fix a long standing (from the original 4.4BSD lite sources) race between vmspace_fork and vm_map_wire that would lead to "vm_fault_copy_wired: page m

Re: svn commit: r211506 - stable/8/etc/periodic/daily

2010-12-18 Thread Doug Barton
This should not have been done. It added a bunch of extraneous mergeinfo in the RELENG_8 etc branch. This change was important, but not so important that it didn't warrant asking for help to get the merge right. Doug On 08/19/2010 06:24, Alexander Leidinger wrote: Author: netchild Date: Thu

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

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sun Dec 19 00:00:29 2010 New Revision: 216552 URL: http://svn.freebsd.org/changeset/base/216552 Log: Document JMC251/JMC261 support. Modified: head/share/man/man4/jme.4 Modified: head/share/man/man4/jme.4 =

svn commit: r216551 - in head/sys/dev: jme mii

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 18 23:52:50 2010 New Revision: 216551 URL: http://svn.freebsd.org/changeset/base/216551 Log: Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernet controller with Card Read Host Controller. These controllers are multi-function devices and have the same et

svn commit: r216550 - head/sys/dev/jme

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 18 23:26:38 2010 New Revision: 216550 URL: http://svn.freebsd.org/changeset/base/216550 Log: Use system defined PCIR_EXPRESS_DEVICE_CTL instead of using magic number. Modified: head/sys/dev/jme/if_jme.c Modified: head/sys/dev/jme/if_jme.c =

svn commit: r216549 - head/sys/dev/jme

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 18 23:24:59 2010 New Revision: 216549 URL: http://svn.freebsd.org/changeset/base/216549 Log: Make sure whether driver allocated resource before releasing it. Modified: head/sys/dev/jme/if_jme.c Modified: head/sys/dev/jme/if_jme.c

svn commit: r216548 - head/sys/dev/jme

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 18 23:21:16 2010 New Revision: 216548 URL: http://svn.freebsd.org/changeset/base/216548 Log: Fix a regression introduced in r213893. FPGA version requires PHY probing so allow PHY probing on all possible addresses. Modified: head/sys/dev/jme/if_jme.c Modified:

svn commit: r216547 - in head: bin/sh tools/regression/bin/sh/expansion

2010-12-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Dec 18 23:03:51 2010 New Revision: 216547 URL: http://svn.freebsd.org/changeset/base/216547 Log: sh: arith: Disallow decimal constants starting with 0 (containing 8 or 9). Constants in arithmetic starting with 0 should be octal only. This avoids the following h

svn commit: r216546 - head/sys/dev/jme

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 18 23:03:38 2010 New Revision: 216546 URL: http://svn.freebsd.org/changeset/base/216546 Log: Consistently put a tab character between #define and the macro name. Modified: head/sys/dev/jme/if_jmevar.h Modified: head/sys/dev/jme/if_jmevar.h ==

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

2010-12-18 Thread Robert Watson
Author: rwatson Date: Sat Dec 18 23:03:01 2010 New Revision: 216545 URL: http://svn.freebsd.org/changeset/base/216545 Log: Merge xen.4 man page from head to stable/8; revs r216419, r216420, r216428, r216429, r216497, r216500, r216501, r216509. Approved by: re (kib) Sponsored by: DARPA,

svn commit: r216544 - head/bin/sh

2010-12-18 Thread Ulrich Spoerlein
Author: uqs Date: Sat Dec 18 22:16:15 2010 New Revision: 216544 URL: http://svn.freebsd.org/changeset/base/216544 Log: Remove dead code. c is assigned 0 and *loc is pointing to NULL, so c!=0 cannot be true, and dereferencing loc would be a bad idea anyway. Coverity Prevent: CID 5

svn commit: r216542 - head/usr.bin/csup

2010-12-18 Thread Ulf Lilleengen
Author: lulf Date: Sat Dec 18 20:43:18 2010 New Revision: 216542 URL: http://svn.freebsd.org/changeset/base/216542 Log: - Signal that data should not be modified. Modified: head/usr.bin/csup/rcsfile.c head/usr.bin/csup/rcsfile.h Modified: head/usr.bin/csup/rcsfile.c ===

svn commit: r216541 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:29:41 2010 New Revision: 216541 URL: http://svn.freebsd.org/changeset/base/216541 Log: Unbreak hostapd. This code has been explicitly removed in upstream versions. Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c Modified: head/usr.sbin/wpa/hostapd/dr

svn commit: r216540 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:27:09 2010 New Revision: 216540 URL: http://svn.freebsd.org/changeset/base/216540 Log: Fix some whitespace nits. Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c

svn commit: r216539 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:25:25 2010 New Revision: 216539 URL: http://svn.freebsd.org/changeset/base/216539 Log: Change order in wpa_driver_bsd_ops to match upstream code. Add description while here. Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c Modified: head/usr.sbin/wp

svn commit: r216538 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:23:28 2010 New Revision: 216538 URL: http://svn.freebsd.org/changeset/base/216538 Log: Add a comment explaining the undefs, while here remove one which is not required. Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c Modified: head/usr.sbin/wpa/hos

svn commit: r216537 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:22:15 2010 New Revision: 216537 URL: http://svn.freebsd.org/changeset/base/216537 Log: Rename bsd_set_iface_flags to bsd_ctrl_iface and change arguments to match upstream. For the same reason rewrite bsd_get_seqnum. Modified: head/usr.sbin/wpa/hostapd/dr

Re: svn commit: r216518 - in head/sys/dev: if_ndis le malo sound/pci

2010-12-18 Thread Paul B Mahol
On 12/18/10, Tijl Coosemans wrote: > On Saturday 18 December 2010 19:41:13 Paul B Mahol wrote: >> On 12/18/10, Tijl Coosemans wrote: >>> Author: tijl >>> Date: Sat Dec 18 14:21:28 2010 >>> New Revision: 216518 >>> URL: http://svn.freebsd.org/changeset/base/216518 >>> >>> Log: >>> Use convenienc

svn commit: r216536 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:17:10 2010 New Revision: 216536 URL: http://svn.freebsd.org/changeset/base/216536 Log: Import bsd_configure_wpa() to sync with upstream code. Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c ===

svn commit: r216535 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:15:47 2010 New Revision: 216535 URL: http://svn.freebsd.org/changeset/base/216535 Log: Prefer os_memset, os_strlcpy and os_free. While here adjust the return value checks for 2 ioctl calls and rewrite error handling in bsd_init to better integrate with up

svn commit: r216533 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:13:42 2010 New Revision: 216533 URL: http://svn.freebsd.org/changeset/base/216533 Log: Remove some unused variables and unnecessary casts. Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c ==

svn commit: r216532 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:11:09 2010 New Revision: 216532 URL: http://svn.freebsd.org/changeset/base/216532 Log: Remove debug messages which are no longer present in upstream code. While here remove some explicit line breaks. Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c

svn commit: r216531 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:08:21 2010 New Revision: 216531 URL: http://svn.freebsd.org/changeset/base/216531 Log: Rename iface to ifname to match the upstream code. Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c ===

svn commit: r216530 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:04:47 2010 New Revision: 216530 URL: http://svn.freebsd.org/changeset/base/216530 Log: Rename ioctl_sock to just sock to match the upstream code. While here remove the no longer used wext_sock and bsd_driver_ops variables. Modified: head/usr.sbin/wpa/hos

svn commit: r216529 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 20:00:28 2010 New Revision: 216529 URL: http://svn.freebsd.org/changeset/base/216529 Log: Move some functions around to match the upstream order. Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c ==

svn commit: r216528 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 19:58:23 2010 New Revision: 216528 URL: http://svn.freebsd.org/changeset/base/216528 Log: Add bsd_send_mlme_param to aggregate IEEE80211_IOC_MLME ioctls: - merge bsd_set_sta_authorized and bsd_sta_set_flags - change bsd_set_sta_authorized, bsd_sta_deauth and

svn commit: r216527 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 19:56:45 2010 New Revision: 216527 URL: http://svn.freebsd.org/changeset/base/216527 Log: Change bsd_del_key() to match upstream code: - change order of if/else - move wpa_printf() into the condition - change unsigned char* to u8* - prefer os_memset/os_m

svn commit: r216526 - head/usr.sbin/wpa/hostapd

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 19:55:19 2010 New Revision: 216526 URL: http://svn.freebsd.org/changeset/base/216526 Log: Aggregate SIOCS80211 and SIOCG80211 ioctl request code. While here, bring the wpa_printf()/perror() messages in sync with upstream code. Modified: head/usr.sbin/wpa/ho

Re: svn commit: r216518 - in head/sys/dev: if_ndis le malo sound/pci

2010-12-18 Thread Tijl Coosemans
On Saturday 18 December 2010 19:41:13 Paul B Mahol wrote: > On 12/18/10, Tijl Coosemans wrote: >> Author: tijl >> Date: Sat Dec 18 14:21:28 2010 >> New Revision: 216518 >> URL: http://svn.freebsd.org/changeset/base/216518 >> >> Log: >> Use convenience functions where possible instead of accessin

Re: svn commit: r216491 - head/sys/dev/atkbdc

2010-12-18 Thread Ivan Klymenko
after updating svn revision => 216491 system is not detecting the device psm please take a look: http://docs.freebsd.org/cgi/mid.cgi?20101218203020.1cec8dc7 Thanks! ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-sr

Re: svn commit: r216518 - in head/sys/dev: if_ndis le malo sound/pci

2010-12-18 Thread Paul B Mahol
On 12/18/10, Tijl Coosemans wrote: > Author: tijl > Date: Sat Dec 18 14:21:28 2010 > New Revision: 216518 > URL: http://svn.freebsd.org/changeset/base/216518 > > Log: > Use convenience functions where possible instead of accessing the PCI > configuration registers directly. > > Remove pci_en

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-18 Thread Garrett Cooper
On Sat, Dec 18, 2010 at 4:51 AM, Ulrich Spörlein wrote: > On Thu, 16.12.2010 at 16:43:48 -0800, David O'Brien wrote: >> On Thu, Dec 16, 2010 at 12:27:04PM -0800, Xin LI wrote: >> > On 12/16/10 12:23, Ulrich Spörlein wrote: >> > > Shamless plug: the attached, crude expect(1) script allows you to do

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-18 Thread Warner Losh
On 12/18/2010 08:34, Nathan Whitehorn wrote: On 12/17/10 13:07, Warner Losh wrote: On 12/17/2010 08:22, Nathan Whitehorn wrote: On 12/16/10 13:04, Robert Watson wrote: On Thu, 16 Dec 2010, David O'Brien wrote: Log: Bump WARNS to 6. Modified: head/sbin/geom/class/eli/Makefile FYI, this

svn commit: r216524 - in head/sys: amd64/include i386/include

2010-12-18 Thread Konstantin Belousov
Author: kib Date: Sat Dec 18 16:41:11 2010 New Revision: 216524 URL: http://svn.freebsd.org/changeset/base/216524 Log: Inform a compiler which asm statements in the x86 implementation of atomics change eflags. Reviewed by: jhb MFC after:2 weeks Modified: head/sys/amd64/include/a

svn commit: r216523 - head/sys/dev/wpi

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 15:45:10 2010 New Revision: 216523 URL: http://svn.freebsd.org/changeset/base/216523 Log: Add 2 missing bus_dmamap_sync() calls. Those fix random 'scan timeout', 'could not set power mode', 'device config failed' and other errors due reading invalid memory.

svn commit: r216522 - head/sys/dev/wpi

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 15:35:10 2010 New Revision: 216522 URL: http://svn.freebsd.org/changeset/base/216522 Log: Fix association on 5GHz channels. The device is initially configured using a 2GHz channel with appropriate flags set to sc->config. Due to not zeroing sc->config for au

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-18 Thread Nathan Whitehorn
On 12/17/10 13:07, Warner Losh wrote: On 12/17/2010 08:22, Nathan Whitehorn wrote: On 12/16/10 13:04, Robert Watson wrote: On Thu, 16 Dec 2010, David O'Brien wrote: Log: Bump WARNS to 6. Modified: head/sbin/geom/class/eli/Makefile FYI, this broke the tinderbox on arm, ia64, mips, and s

svn commit: r216521 - head/sys/dev/wpi

2010-12-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 18 15:25:21 2010 New Revision: 216521 URL: http://svn.freebsd.org/changeset/base/216521 Log: Fix a panic while disabling the RF kill button, caller of the wpi_rfkill_resume() function will take care of the lock. PR: kern/144898 MFC after:3 da

svn commit: r216520 - head

2010-12-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Dec 18 14:34:05 2010 New Revision: 216520 URL: http://svn.freebsd.org/changeset/base/216520 Log: Reconnect arm to the universe build, and connect big-endian MIPS and ARM and powerpc64 to universe for the first time. In general, provide (slightly hacky) knowledge

svn commit: r216519 - head/sys/dev/hifn

2010-12-18 Thread Tijl Coosemans
Author: tijl Date: Sat Dec 18 14:24:24 2010 New Revision: 216519 URL: http://svn.freebsd.org/changeset/base/216519 Log: No need to zero the softc. It's allocated with M_ZERO. Use pci_enable_busmaster instead of setting PCIM_CMD_BUSMASTEREN directly. There's no need to set PCIM_CMD_MEMEN.

svn commit: r216518 - in head/sys/dev: if_ndis le malo sound/pci

2010-12-18 Thread Tijl Coosemans
Author: tijl Date: Sat Dec 18 14:21:28 2010 New Revision: 216518 URL: http://svn.freebsd.org/changeset/base/216518 Log: Use convenience functions where possible instead of accessing the PCI configuration registers directly. Remove pci_enable_io calls where they are redundant. The PCI bus

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-18 Thread Ulrich Spörlein
On Thu, 16.12.2010 at 16:43:48 -0800, David O'Brien wrote: > On Thu, Dec 16, 2010 at 12:27:04PM -0800, Xin LI wrote: > > On 12/16/10 12:23, Ulrich Spörlein wrote: > > > Shamless plug: the attached, crude expect(1) script allows you to do > > > $ cd /usr/src && universe-build sbin/geom WARNS=6 > > >

svn commit: r216517 - stable/8/sys/netinet

2010-12-18 Thread Michael Tuexen
Author: tuexen Date: Sat Dec 18 11:45:54 2010 New Revision: 216517 URL: http://svn.freebsd.org/changeset/base/216517 Log: MFC 216480: Add a missing cast. Reported by blade_ly at yahoo.com.cn. Approved by: re (kib) Modified: stable/8/sys/netinet/sctp_indata.c Directory Properties: sta

svn commit: r216516 - head/sys/i386/i386

2010-12-18 Thread Konstantin Belousov
Author: kib Date: Sat Dec 18 11:31:32 2010 New Revision: 216516 URL: http://svn.freebsd.org/changeset/base/216516 Log: In pmap_extract(), unlock pmap lock earlier. The calculation does not need the lock when operating on local variables. Reviewed by: alc Modified: head/sys/i386/i386/p

Re: svn commit: r216333 - head/sys/i386/i386

2010-12-18 Thread Kostik Belousov
On Sat, Dec 18, 2010 at 11:35:42AM +0100, Joel Dahl wrote: > On 18-12-2010 3:17, Alan Cox wrote: > > Joel Dahl wrote: > > > On 09-12-2010 20:16, Alan Cox wrote: > > > > > >> Author: alc > > >> Date: Thu Dec 9 20:16:00 2010 > > >> New Revision: 216333 > > >> URL: http://svn.freebsd.org/changese

Re: svn commit: r216333 - head/sys/i386/i386

2010-12-18 Thread Joel Dahl
On 18-12-2010 3:17, Alan Cox wrote: > Joel Dahl wrote: > > On 09-12-2010 20:16, Alan Cox wrote: > > > >> Author: alc > >> Date: Thu Dec 9 20:16:00 2010 > >> New Revision: 216333 > >> URL: http://svn.freebsd.org/changeset/base/216333 > >> > >> Log: > >> When r207410 eliminated the acquisition

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

2010-12-18 Thread Bruce Cran
Author: brucec Date: Sat Dec 18 10:09:07 2010 New Revision: 216515 URL: http://svn.freebsd.org/changeset/base/216515 Log: Sort cross references by section. Reported by: pluknet Modified: head/lib/libc/sys/shmget.2 Modified: head/lib/libc/sys/shmget.2

Re: svn commit: r216333 - head/sys/i386/i386

2010-12-18 Thread Alan Cox
Joel Dahl wrote: On 09-12-2010 20:16, Alan Cox wrote: Author: alc Date: Thu Dec 9 20:16:00 2010 New Revision: 216333 URL: http://svn.freebsd.org/changeset/base/216333 Log: When r207410 eliminated the acquisition and release of the page queues lock from pmap_extract_and_hold(), it didn't