svn commit: r204195 - in head: sbin/atacontrol sbin/camcontrol sys/cam sys/dev/ata

2010-02-22 Thread Alexander Motin
Author: mav Date: Mon Feb 22 10:45:40 2010 New Revision: 204195 URL: http://svn.freebsd.org/changeset/base/204195 Log: Improve output for controllers that doesn't report SATA speed. Modified: head/sbin/atacontrol/atacontrol.c head/sbin/camcontrol/camcontrol.c head/sys/cam/cam_xpt.c head

Re: svn commit: r204178 - head/games/fortune/fortune

2010-02-22 Thread Robert Watson
On Sun, 21 Feb 2010, Ulrich Spoerlein wrote: Prefer exit(0) from main over return(0). Although not explicitly mentioned in style(9), it allows for easier grepping of exit points. This reverts part of r203926. A few people (including me) have tripped up over exit handling and style in the

Re: svn commit: r204178 - head/games/fortune/fortune

2010-02-22 Thread Bjoern A. Zeeb
On Mon, 22 Feb 2010, Robert Watson wrote: Hi, On Sun, 21 Feb 2010, Ulrich Spoerlein wrote: Prefer exit(0) from main over return(0). Although not explicitly mentioned in style(9), it allows for easier grepping of exit points. This reverts part of r203926. A few people (including me) hav

svn commit: r204197 - head/sys/powerpc/aim

2010-02-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Feb 22 14:17:23 2010 New Revision: 204197 URL: http://svn.freebsd.org/changeset/base/204197 Log: Allow user programs to execute mfpvr instructions. Linux allows this, and some math-related software like GMP expects to be able to use it to pick a target appropriat

svn commit: r204198 - head/sys/arm/xscale/ixp425

2010-02-22 Thread Rui Paulo
Author: rpaulo Date: Mon Feb 22 14:49:52 2010 New Revision: 204198 URL: http://svn.freebsd.org/changeset/base/204198 Log: Fix previous commit: led_func() doesn't exist, it should be fled_cb(). Pointed out by: bz Modified: head/sys/arm/xscale/ixp425/cambria_fled.c Modified: head/sy

Re: svn commit: r204178 - head/games/fortune/fortune

2010-02-22 Thread Dag-Erling Smørgrav
"Bjoern A. Zeeb" writes: > It still seems to be quite common to use return rather than exit in > main(), and while style.9 may, in the future, possibly suggest that > exit() is the prefered token, we should not start changing all and > everything to exit() and still accept return() without major >

svn commit: r204199 - head/sys/net

2010-02-22 Thread Robert Watson
Author: rwatson Date: Mon Feb 22 15:03:16 2010 New Revision: 204199 URL: http://svn.freebsd.org/changeset/base/204199 Log: Export netisr configuration and statistics to userspace via sysctl(9). MFC after:1 week Sponsored by: Juniper Networks Modified: head/sys/net/netisr.c head/s

svn commit: r204202 - head/usr.bin/netstat

2010-02-22 Thread Robert Watson
Author: rwatson Date: Mon Feb 22 15:57:36 2010 New Revision: 204202 URL: http://svn.freebsd.org/changeset/base/204202 Log: Teach netstat(1) to print out netisr statistics when given the -Q argument. Currently supports only reporting on live systems via sysctl, kmem support needs to be edded.

svn commit: r204205 - head/sys/vm

2010-02-22 Thread Konstantin Belousov
Author: kib Date: Mon Feb 22 16:00:56 2010 New Revision: 204205 URL: http://svn.freebsd.org/changeset/base/204205 Log: Remove write-only variable. MFC after:3 days Modified: head/sys/vm/vnode_pager.c Modified: head/sys/vm/vnode_pager.c ===

svn commit: r204206 - head/share/man/man9

2010-02-22 Thread Robert Watson
Author: rwatson Date: Mon Feb 22 16:02:17 2010 New Revision: 204206 URL: http://svn.freebsd.org/changeset/base/204206 Log: Cross-reference netstat(1) from netisr(9) since you can now use it to monitor netisr status. MFC after:1 week Sponsored by: Juniper Networks Modified: head/s

svn commit: r204207 - head/usr.bin/netstat

2010-02-22 Thread Robert Watson
Author: rwatson Date: Mon Feb 22 16:05:45 2010 New Revision: 204207 URL: http://svn.freebsd.org/changeset/base/204207 Log: Update date on netstat(1) for -Q. Suggested by: bz MFC after:1 week Modified: head/usr.bin/netstat/netstat.1 Modified: head/usr.bin/netstat/netstat.1

svn commit: r204208 - head/sys/net

2010-02-22 Thread Robert Watson
Author: rwatson Date: Mon Feb 22 16:16:16 2010 New Revision: 204208 URL: http://svn.freebsd.org/changeset/base/204208 Log: Fix constant assignment for netisr protocol information sysctl. MFC after:1 week Spotted by: bz Modified: head/sys/net/netisr.h Modified: head/sys/net/netis

svn commit: r204210 - head/sys/dev/ata/chipsets

2010-02-22 Thread Alexander Motin
Author: mav Date: Mon Feb 22 16:27:47 2010 New Revision: 204210 URL: http://svn.freebsd.org/changeset/base/204210 Log: Add Intel PCH SATA controller IDs. Modified: head/sys/dev/ata/chipsets/ata-intel.c Modified: head/sys/dev/ata/chipsets/ata-intel.c ==

svn commit: r204211 - head/libexec/rtld-elf/powerpc

2010-02-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Feb 22 16:49:45 2010 New Revision: 204211 URL: http://svn.freebsd.org/changeset/base/204211 Log: Support the extended PLT format used when objects have more than 8192 PLT relocations on PPC32. Modified: head/libexec/rtld-elf/powerpc/reloc.c head/libexec/rtld-e

svn commit: r204212 - head/sys/dev/mxge

2010-02-22 Thread Andrew Gallatin
Author: gallatin Date: Mon Feb 22 16:57:03 2010 New Revision: 204212 URL: http://svn.freebsd.org/changeset/base/204212 Log: Update mxge to support IFCAP_VLAN_HWTSO. Note: If/when FreeBSD supports TSO over IPv6, the minimal mxge fw rev to enable IFCAP_VLAN_HWTSO will need to be increased t

svn commit: r204214 - head/sys/amd64/amd64

2010-02-22 Thread Justin T. Gibbs
Author: gibbs Date: Mon Feb 22 17:03:45 2010 New Revision: 204214 URL: http://svn.freebsd.org/changeset/base/204214 Log: Enforce stronger semantics for bus-dma alignment (currently only on amd64). Now all contiguous regions returned from bus-dma will be aligned to the alignment constraint an

svn commit: r204213 - head/share/man/man9

2010-02-22 Thread Bernhard Schmidt
Author: bschmidt Date: Mon Feb 22 17:03:26 2010 New Revision: 204213 URL: http://svn.freebsd.org/changeset/base/204213 Log: Fix some typos. Approved by: rpaulo (mentor) MFC after:1 week Modified: head/share/man/man9/ieee80211_scan.9 Modified: head/share/man/man9/ieee80211_scan.9

Re: svn commit: r204197 - head/sys/powerpc/aim

2010-02-22 Thread Nathan Whitehorn
Nathan Whitehorn wrote: Author: nwhitehorn Date: Mon Feb 22 14:17:23 2010 New Revision: 204197 URL: http://svn.freebsd.org/changeset/base/204197 Log: Allow user programs to execute mfpvr instructions. Linux allows this, and some math-related software like GMP expects to be able to use it to

svn commit: r204216 - head/sys/dev/ata/chipsets

2010-02-22 Thread Alexander Motin
Author: mav Date: Mon Feb 22 17:34:35 2010 New Revision: 204216 URL: http://svn.freebsd.org/changeset/base/204216 Log: Oops! Wrong word order. :( Modified: head/sys/dev/ata/chipsets/ata-intel.c Modified: head/sys/dev/ata/chipsets/ata-intel.c ==

svn commit: r204218 - head/sys/powerpc/powermac

2010-02-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Feb 22 18:49:43 2010 New Revision: 204218 URL: http://svn.freebsd.org/changeset/base/204218 Log: Provide a new useless feature: an led(4) interface for the system's sleep LED. Modified: head/sys/powerpc/powermac/smu.c Modified: head/sys/powerpc/powermac/smu.c =

svn commit: r204219 - head/sys/dev/re

2010-02-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Feb 22 18:51:14 2010 New Revision: 204219 URL: http://svn.freebsd.org/changeset/base/204219 Log: Add TSO on VLANs. Because re(4) has a TSO limitation for jumbo frame, make sure to update VLAN capabilities whenever jumbo frame is configured. While I'm here rearrang

Re: svn commit: r204076 - in head: etc/defaults etc/rc.d sbin sbin/ggate/ggatec sbin/ggate/ggatel sbin/hastctl sbin/hastd share/examples share/examples/hast share/man/man5 sys/geom/gate

2010-02-22 Thread Remko Lodder
On Feb 19, 2010, at 12:16 AM, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Thu Feb 18 23:16:19 2010 > New Revision: 204076 > URL: http://svn.freebsd.org/changeset/base/204076 > > Log: > Please welcome HAST - Highly Avalable Storage. > > \o/ !! -- /"\ Best regards,

svn commit: r204220 - in head/sys/cam: . ata scsi

2010-02-22 Thread Alexander Motin
Author: mav Date: Mon Feb 22 19:17:17 2010 New Revision: 204220 URL: http://svn.freebsd.org/changeset/base/204220 Log: Virtualize transport part of periph announcement. Modified: head/sys/cam/ata/ata_xpt.c head/sys/cam/cam_xpt.c head/sys/cam/cam_xpt_internal.h head/sys/cam/scsi/scsi_xpt

svn commit: r204222 - head/sys/dev/gem

2010-02-22 Thread Marius Strobl
Author: marius Date: Mon Feb 22 21:01:08 2010 New Revision: 204222 URL: http://svn.freebsd.org/changeset/base/204222 Log: According to the Linux sungem driver, in case of Apple (K2) GMACs GEM_MIF_CONFIG_MDI0 cannot be trusted when the firmware has powered down the chip so the internal transc

svn commit: r204223 - head/sys/dev/bge

2010-02-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Feb 22 21:03:15 2010 New Revision: 204223 URL: http://svn.freebsd.org/changeset/base/204223 Log: Remove Tx mbuf parsing code for VLAN in TSO path. Controller does not support TSO over VLAN if VLAN hardware tagging is disabled so there is no need to check VLAN here.

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

2010-02-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Feb 22 22:05:49 2010 New Revision: 204225 URL: http://svn.freebsd.org/changeset/base/204225 Log: Add TSO support on VLANs. jme(4) controllers do not require VLAN hardware tagging to make TSO work over VLANs. Modified: head/sys/dev/jme/if_jme.c Modified: head/sys/d

svn commit: r204227 - in head/gnu/usr.bin: diff diff3 sdiff

2010-02-22 Thread Xin LI
Author: delphij Date: Mon Feb 22 22:32:24 2010 New Revision: 204227 URL: http://svn.freebsd.org/changeset/base/204227 Log: POSIX patch(1) would treat -b as different meaning (the functionality is to be provided by --suffix). Looking at the usage here in diffutils, it seems that we can just

svn commit: r204228 - head/sys/dev/alc

2010-02-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Feb 22 22:41:27 2010 New Revision: 204228 URL: http://svn.freebsd.org/changeset/base/204228 Log: Add TSO support on VLANs. Also make sure to update TSO capability whenever jumbo frame is configured. While I'm here remove unnecessary check of VLAN hardware checksum

svn commit: r204230 - head/sys/dev/alc

2010-02-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Feb 22 23:35:35 2010 New Revision: 204230 URL: http://svn.freebsd.org/changeset/base/204230 Log: Remove Tx mbuf parsing code for VLAN in TSO path. Controller does not support TSO over VLAN if VLAN hardware tagging is disabled so there is no need to check VLAN here.

svn commit: r204231 - head/sys/dev/isp

2010-02-22 Thread Matt Jacob
Author: mjacob Date: Tue Feb 23 00:34:20 2010 New Revision: 204231 URL: http://svn.freebsd.org/changeset/base/204231 Log: When we rescan, just scan from logical unit 0. In other words, don't specify a wildcard lun here. This unbreaks disk re-arrival. MFC after:2 days Modified:

svn commit: r204235 - head/sys/dev/fb

2010-02-22 Thread Jung-uk Kim
Author: jkim Date: Tue Feb 23 01:00:19 2010 New Revision: 204235 URL: http://svn.freebsd.org/changeset/base/204235 Log: Fix FBIO_ADPINFO ioctl on amd64. Modified: head/sys/dev/fb/fb.c Modified: head/sys/dev/fb/fb.c =

svn commit: r204236 - head/sys/dev/fb

2010-02-22 Thread Jung-uk Kim
Author: jkim Date: Tue Feb 23 01:02:11 2010 New Revision: 204236 URL: http://svn.freebsd.org/changeset/base/204236 Log: Re-add accidentally removed pixel format for direct memory model. Modified: head/sys/dev/fb/vesa.c Modified: head/sys/dev/fb/vesa.c

svn commit: r204239 - head/lib/libz

2010-02-22 Thread Xin LI
Author: delphij Date: Tue Feb 23 01:08:03 2010 New Revision: 204239 URL: http://svn.freebsd.org/changeset/base/204239 Log: Bootstrap the merge history for zlib. Modified: Directory Properties: head/lib/libz/ (props changed) ___ svn-src-head@freebs

svn commit: r204241 - head/share/man/man4/man4.powerpc

2010-02-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Feb 23 04:56:06 2010 New Revision: 204241 URL: http://svn.freebsd.org/changeset/base/204241 Log: Add a manpage for smu(4) now that it does something useful. Added: head/share/man/man4/man4.powerpc/smu.4 (contents, props changed) Modified: head/share/man/man4/m

svn commit: r204242 - head/sys/dev/bwn

2010-02-22 Thread Warner Losh
Author: imp Date: Tue Feb 23 05:02:10 2010 New Revision: 204242 URL: http://svn.freebsd.org/changeset/base/204242 Log: Fix compilation problems with INVARIANTS. # also limit RX decryption attempted messages to 50 Reviewed by: weongyo Modified: head/sys/dev/bwn/if_bwn.c Modified: h