svn commit: r227297 - head/usr.sbin/boot0cfg

2011-11-07 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 7 09:21:18 2011 New Revision: 227297 URL: http://svn.freebsd.org/changeset/base/227297 Log: Reorganize write_mbr() function to be able write bootcode with different ways. Improve error reporting and also fix indenting. Now we are trying to write bootcode: 1. Dire

svn commit: r227298 - head/usr.sbin/boot0cfg

2011-11-07 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 7 09:29:10 2011 New Revision: 227298 URL: http://svn.freebsd.org/changeset/base/227298 Log: Remove a note about disabling of GEOM protection mechanism. boot0cfg should work without such hack. MFC after:3 days Modified: head/usr.sbin/boot0cfg/boot0cfg.8 Mo

svn commit: r227299 - head/usr.bin/dc

2011-11-07 Thread Ed Schouten
Author: ed Date: Mon Nov 7 09:42:22 2011 New Revision: 227299 URL: http://svn.freebsd.org/changeset/base/227299 Log: Remove unneeded CFLAGS. Such optimisations should not be performed in this Makefile. Also, uqs@ suggested they have no effect, because the checksum of the resulting bina

svn commit: r227300 - stable/8/sys/conf

2011-11-07 Thread Marius Strobl
Author: marius Date: Mon Nov 7 11:31:14 2011 New Revision: 227300 URL: http://svn.freebsd.org/changeset/base/227300 Log: Automatically compile in mii_bitbang.c if one of the drivers depending on it since r227278 is compiled into the kernel. This restores POLA for people that don't use "opti

svn commit: r227301 - stable/7/sys/conf

2011-11-07 Thread Marius Strobl
Author: marius Date: Mon Nov 7 11:31:37 2011 New Revision: 227301 URL: http://svn.freebsd.org/changeset/base/227301 Log: Automatically compile in mii_bitbang.c if one of the drivers depending on it since r227279 is compiled into the kernel. This restores POLA for people that don't use "opti

Re: svn commit: r227278 - in stable/8/sys: arm/conf conf dev/bm dev/dc dev/mii dev/nge dev/sis dev/smc dev/ste dev/stge dev/tl dev/wb dev/xl modules/mii pci

2011-11-07 Thread Marius Strobl
On Sun, Nov 06, 2011 at 09:07:59PM -0500, Jason Hellenthal wrote: > > > The following commmit broke building without device miibus at least on i386. > > if_dc.o(.text+0x24b4): In function `dc_miibus_writereg': > /usr/src/sys/dev/dc/if_dc.c:806: undefined reference to `mii_bitbang_writereg' > if_

svn commit: r227302 - in stable/9/sys: dev/esp sparc64/sbus

2011-11-07 Thread Marius Strobl
Author: marius Date: Mon Nov 7 13:16:51 2011 New Revision: 227302 URL: http://svn.freebsd.org/changeset/base/227302 Log: MFC: r226947, r226949, r227284 - Use device_t rather than the NetBSDish struct device. - Move esp_devclass to ncr53c9x.c in order to allow different bus front-ends

svn commit: r227303 - in stable/8/sys: dev/esp sparc64/sbus

2011-11-07 Thread Marius Strobl
Author: marius Date: Mon Nov 7 13:17:40 2011 New Revision: 227303 URL: http://svn.freebsd.org/changeset/base/227303 Log: MFC: r226947, r226949, r227284 - Use device_t rather than the NetBSDish struct device. - Move esp_devclass to ncr53c9x.c in order to allow different bus front-ends

svn commit: r227304 - in stable/7/sys: dev/esp sparc64/sbus

2011-11-07 Thread Marius Strobl
Author: marius Date: Mon Nov 7 13:18:09 2011 New Revision: 227304 URL: http://svn.freebsd.org/changeset/base/227304 Log: MFC: r226947, r226949, r227284 - Use device_t rather than the NetBSDish struct device. - Move esp_devclass to ncr53c9x.c in order to allow different bus front-ends

svn commit: r227305 - in stable/9: . contrib/top share/man/man4 share/mk sys/amd64/conf sys/conf sys/dev/esp sys/i386/conf sys/modules sys/modules/esp sys/pc98/conf sys/sparc64/conf

2011-11-07 Thread Marius Strobl
Author: marius Date: Mon Nov 7 13:40:54 2011 New Revision: 227305 URL: http://svn.freebsd.org/changeset/base/227305 Log: MFC: r227006, r227281, r227282 Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and replace amd(4) with the former in the amd64, i386 and pc98 GENERIC

svn commit: r227306 - in stable/8: . contrib/bsnmp/snmpd contrib/top contrib/xz gnu/usr.bin lib/libusb release/picobsd/floppy.tree/sbin sbin/geom/class/sched share/man/man4 share/misc sys/amd64/con...

2011-11-07 Thread Marius Strobl
Author: marius Date: Mon Nov 7 13:45:18 2011 New Revision: 227306 URL: http://svn.freebsd.org/changeset/base/227306 Log: MFC: r227006, r227281, r227282 Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and replace amd(4) with the former in the amd64, i386 and pc98 GENERIC

svn commit: r227307 - in stable/7: . contrib/bsnmp/snmpd contrib/wpa_supplicant gnu/usr.bin/groff/tmac share/man/man4 share/misc sys/amd64/conf sys/conf sys/dev/esp sys/i386/conf sys/modules sys/mo...

2011-11-07 Thread Marius Strobl
Author: marius Date: Mon Nov 7 13:46:16 2011 New Revision: 227307 URL: http://svn.freebsd.org/changeset/base/227307 Log: MFC: r227006, r227281, r227282 Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and replace amd(4) with the former in the amd64, i386 and pc98 GENERIC

svn commit: r227308 - head/sys/netinet6

2011-11-07 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 7 14:22:18 2011 New Revision: 227308 URL: http://svn.freebsd.org/changeset/base/227308 Log: In icmp6_redirect_input: - Assert that we got a valid mbuf with rcvif pointer. [1] - Use __func__ in logging. Submitted by: prabhakar lakhera [1] Submitted by

Re: svn commit: r226580 - stable/7/libexec/tftpd

2011-11-07 Thread Sean Bruno
On Thu, 2011-10-20 at 12:56 -0700, Kostik Belousov wrote: > > Approved by: re (kib) > It was not. It looks like people just think that 'Approved by: kib' > is some voodo that must be appended for no reason. Today it is second > time happened for the commit that I did not approved. > > It does n

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

2011-11-07 Thread Marcel Moolenaar
Author: marcel Date: Mon Nov 7 16:21:50 2011 New Revision: 227310 URL: http://svn.freebsd.org/changeset/base/227310 Log: Don astbestos garment and remove the warning about TMPFS being experimental -- highly experimental even. So far the closest to a bug in TMPFS that people have gotten to r

svn commit: r227311 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 18:19:20 2011 New Revision: 227311 URL: http://svn.freebsd.org/changeset/base/227311 Log: Remove ti_unit member variable in softc. While I'm here use PCIR_BAR macro. Modified: head/sys/dev/ti/if_ti.c head/sys/dev/ti/if_tireg.h Modified: head/sys/dev/ti/if

svn commit: r227312 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 18:26:38 2011 New Revision: 227312 URL: http://svn.freebsd.org/changeset/base/227312 Log: o Remove unnecessary controller reinitialization. o Do not blindly UP controller when MTU is changed. Reinitialize controller only if driver is running. o Remove

Re: svn commit: r227310 - head/sys/fs/tmpfs

2011-11-07 Thread Ivan Voras
On 7 November 2011 17:21, Marcel Moolenaar wrote: > Author: marcel > Date: Mon Nov  7 16:21:50 2011 > New Revision: 227310 > URL: http://svn.freebsd.org/changeset/base/227310 > > Log: >  Don astbestos garment and remove the warning about TMPFS being experimental >  -- highly experimental even. So

svn commit: r227314 - head/lib/libpam/modules/pam_lastlog

2011-11-07 Thread Ed Schouten
Author: ed Date: Mon Nov 7 19:57:42 2011 New Revision: 227314 URL: http://svn.freebsd.org/changeset/base/227314 Log: Ensure pam_lastlog removes the /dev/ component of the TTY name. Some consumers of PAM remove the /dev/ component (i.e. login), while others don't (i.e. su). We must ensure

Re: svn commit: r227310 - head/sys/fs/tmpfs

2011-11-07 Thread Xin LI
On Mon, Nov 7, 2011 at 8:21 AM, Marcel Moolenaar wrote: > Author: marcel > Date: Mon Nov  7 16:21:50 2011 > New Revision: 227310 > URL: http://svn.freebsd.org/changeset/base/227310 > > Log: >  Don astbestos garment and remove the warning about TMPFS being experimental >  -- highly experimental eve

svn commit: r227315 - head/sys/kern

2011-11-07 Thread Mikolaj Golub
Author: trociny Date: Mon Nov 7 21:09:04 2011 New Revision: 227315 URL: http://svn.freebsd.org/changeset/base/227315 Log: In lim_fork() assert that processes locks are held. Suggested by: kib Modified: head/sys/kern/kern_resource.c Modified: head/sys/kern/kern_resource.c ==

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

2011-11-07 Thread Mikolaj Golub
Author: trociny Date: Mon Nov 7 21:13:19 2011 New Revision: 227316 URL: http://svn.freebsd.org/changeset/base/227316 Log: Add KVME_FLAG_SUPER and use it in sysctl_kern_proc_vmmap for marking entries with superpages. Submitted by: Mel Flynn Reviewed by: alc, rwatson Modified: head/

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

2011-11-07 Thread Mikolaj Golub
Author: trociny Date: Mon Nov 7 21:16:19 2011 New Revision: 227317 URL: http://svn.freebsd.org/changeset/base/227317 Log: When displaying process virtual memory mappings print superpage mapping flag. Submitted by: Mel Flynn Reviewed by: alc, rwatson Modified: head/usr.bin/procstat

svn commit: r227318 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 22:11:38 2011 New Revision: 227318 URL: http://svn.freebsd.org/changeset/base/227318 Log: Track which ring was updated in RX handler and update only modified ring. This should reduce unnecessary register accesses. Modified: head/sys/dev/ti/if_ti.c Modified:

svn commit: r227319 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 22:17:44 2011 New Revision: 227319 URL: http://svn.freebsd.org/changeset/base/227319 Log: Mini ring is not available on Tigon 1 so do not create DMA maps for mini ring on Tigon 1 to save resources. Modified: head/sys/dev/ti/if_ti.c Modified: head/sys/dev/ti

svn commit: r227320 - head/sys/netinet

2011-11-07 Thread Michael Tuexen
Author: tuexen Date: Mon Nov 7 22:30:19 2011 New Revision: 227320 URL: http://svn.freebsd.org/changeset/base/227320 Log: When loading addresses from INITs, always use the correct local address. MFC after: 3 days. Modified: head/sys/netinet/sctp_pcb.c Modified: head/sys/netinet/sctp_p

svn commit: r227321 - stable/7/sys/dev/esp

2011-11-07 Thread Marius Strobl
Author: marius Date: Mon Nov 7 22:34:07 2011 New Revision: 227321 URL: http://svn.freebsd.org/changeset/base/227321 Log: Partially disable r227304 as stable/7 doesn't support reporting the maximum supported transfer size, yet. Reported by: Scott Allendorf This is a direct commit to stable/7

svn commit: r227322 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 22:47:25 2011 New Revision: 227322 URL: http://svn.freebsd.org/changeset/base/227322 Log: Show RX buffer allocation failure and do not blindly send alive message to firmware. Probably the correct way for this error is to send a TI_CMD_CODE_STACK_DOWN message

svn commit: r227323 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 22:53:06 2011 New Revision: 227323 URL: http://svn.freebsd.org/changeset/base/227323 Log: If ti_chipinit() fails in ti_stop(), ignore the error and release all allocated TX/RX buffer resources. If the interface is brought to up again after the error, we will

svn commit: r227324 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 22:58:49 2011 New Revision: 227324 URL: http://svn.freebsd.org/changeset/base/227324 Log: Do not allow changing MTU to be less than the minimum. Modified: head/sys/dev/ti/if_ti.c Modified: head/sys/dev/ti/if_ti.c ==

svn commit: r227325 - stable/8/sys/ufs/ufs

2011-11-07 Thread Peter Holm
Author: pho Date: Mon Nov 7 23:09:18 2011 New Revision: 227325 URL: http://svn.freebsd.org/changeset/base/227325 Log: MFC r226967, r226971: Added missing cache purge of from argument. Modified: stable/8/sys/ufs/ufs/ufs_vnops.c Directory Properties: stable/8/sys/ (props changed) stabl

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

2011-11-07 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 01:35:05 2011 New Revision: 227326 URL: http://svn.freebsd.org/changeset/base/227326 Log: Merge in ath rate flags and ath_rc_series from my 11n TX branch. This is in preparation for 802.11n TX aggregation support. Modified: head/sys/dev/ath/if_athrate.h Modi

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

2011-11-07 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 01:35:44 2011 New Revision: 227327 URL: http://svn.freebsd.org/changeset/base/227327 Log: Bring over the 11n aggregation statistics struct from the if_ath_tx branch. Modified: head/sys/dev/ath/if_athioctl.h Modified: head/sys/dev/ath/if_athioctl.h

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

2011-11-07 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 02:12:11 2011 New Revision: 227328 URL: http://svn.freebsd.org/changeset/base/227328 Log: Begin merging in some of my 802.11n TX aggregation driver changes. * Add a PCU lock, which isn't currently used but will eventually be used to serialise some of the

svn commit: r227331 - head/sys/net80211

2011-11-07 Thread Adrian Chadd
Author: adrian Date: Tue Nov 8 04:00:24 2011 New Revision: 227331 URL: http://svn.freebsd.org/changeset/base/227331 Log: Add 802.11h quiet time element support into net80211. This supports both station and hostap modes: * Station mode quiet time element support listens to quiet time