svn commit: r220410 - head/sys/dev/cxgbe

2011-04-07 Thread Navdeep Parhar
Author: np Date: Thu Apr 7 07:10:42 2011 New Revision: 220410 URL: http://svn.freebsd.org/changeset/base/220410 Log: Modify read/write ioctls to work with 64 bit registers too. MFC after:3 days Modified: head/sys/dev/cxgbe/t4_ioctl.h head/sys/dev/cxgbe/t4_main.c Modified: head/sy

Re: svn commit: r220401 - in head: . share/mk tools/build/mk tools/build/options

2011-04-07 Thread Alexander Best
On Wed Apr 6 11, Warner Losh wrote: > > On Apr 6, 2011, at 3:41 PM, Alexander Best wrote: > > > On Wed Apr 6 11, Juli Mallett wrote: > >> On Wed, Apr 6, 2011 at 14:04, Alexander Best wrote: > >>> On Wed Apr 6 11, Ulrich Spoerlein wrote: > Author: uqs > Date: Wed Apr 6 20:08:23 2011

svn commit: r220411 - stable/8/usr.sbin/tzsetup

2011-04-07 Thread Edwin Groothuis
Author: edwin Date: Thu Apr 7 07:34:01 2011 New Revision: 220411 URL: http://svn.freebsd.org/changeset/base/220411 Log: MFC of r220172 Add a menu entry for UTC in the main menu. PR: bin/156019 Submitted by: Daniel O'Conner Modified: stable/8/usr.sbin/tzsetup/tzsetup

svn commit: r220412 - in head: share/man/man4 sys/cam/ata

2011-04-07 Thread Alexander Motin
Author: mav Date: Thu Apr 7 08:17:53 2011 New Revision: 220412 URL: http://svn.freebsd.org/changeset/base/220412 Log: Make ada(4) driver to control device write cache, same as ata(4) does. Add kern.cam.ada.write_cache sysctl/tunable to control it alike hw.ata.wc. Modified: head/share/man/m

Re: svn commit: r220412 - in head: share/man/man4 sys/cam/ata

2011-04-07 Thread Bruce Cran
On Thursday 07 Apr 2011 09:17:53 Alexander Motin wrote: > +This variable determines whether device write cache should be enabled or > not. +Set to 1 to enable write cache, 0 to disable, -1 to left it as-is. "left" should probably be "leave". -- Bruce Cran ___

svn commit: r220413 - head/sys/dev/ahci

2011-04-07 Thread Alexander Motin
Author: mav Date: Thu Apr 7 08:28:53 2011 New Revision: 220413 URL: http://svn.freebsd.org/changeset/base/220413 Log: Add one more ID for Marvell 88SE912x chip found on Asus U3S6 card. Submitted by: Jonas Jonsson Modified: head/sys/dev/ahci/ahci.c Modified: head/sys/dev/ahci/ahci.c ==

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

2011-04-07 Thread Alexander Motin
Author: mav Date: Thu Apr 7 08:32:53 2011 New Revision: 220414 URL: http://svn.freebsd.org/changeset/base/220414 Log: Fix spelling. Modified: head/share/man/man4/ada.4 Modified: head/share/man/man4/ada.4 == --- head

svn commit: r220415 - stable/8/sys/netinet/ipfw

2011-04-07 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 7 11:13:50 2011 New Revision: 220415 URL: http://svn.freebsd.org/changeset/base/220415 Log: MFC r220211: Fill up src_port and dst_port variables for SCTP over IPv4. PR: kern/153415 Modified: stable/8/sys/netinet/ipfw/ip_fw2.c Directory Properties:

svn commit: r220416 - head/sys/netgraph

2011-04-07 Thread Marko Zec
Author: zec Date: Thu Apr 7 11:40:10 2011 New Revision: 220416 URL: http://svn.freebsd.org/changeset/base/220416 Log: Properly unref ng_hub nodes on shutdown, so that we don't leak them. MFC after:3 days Modified: head/sys/netgraph/ng_hub.c Modified: head/sys/netgraph/ng_hub.c

svn commit: r220417 - vendor/pciids

2011-04-07 Thread Philip Paeps
Author: philip Date: Thu Apr 7 11:41:00 2011 New Revision: 220417 URL: http://svn.freebsd.org/changeset/base/220417 Log: Add a directory for the PCI ID Repository to the vendor space. Added: vendor/pciids/ ___ svn-src-all@freebsd.org mailing list h

svn commit: r220418 - vendor/pciids/dist

2011-04-07 Thread Philip Paeps
Author: philip Date: Thu Apr 7 11:45:15 2011 New Revision: 220418 URL: http://svn.freebsd.org/changeset/base/220418 Log: Import today's snapshot of the PCI ID Repository. Added: vendor/pciids/dist/ vendor/pciids/dist/pci.ids Added: vendor/pciids/dist/pci.ids ==

svn commit: r220419 - vendor/pciids/pciids-20110407

2011-04-07 Thread Philip Paeps
Author: philip Date: Thu Apr 7 11:47:27 2011 New Revision: 220419 URL: http://svn.freebsd.org/changeset/base/220419 Log: Tag today's snapshot of the PCI ID Repository. Added: vendor/pciids/pciids-20110407/ - copied from r220418, vendor/pciids

svn commit: r220420 - head/usr.bin/grep

2011-04-07 Thread Gabor Kovesdan
Author: gabor Date: Thu Apr 7 12:52:46 2011 New Revision: 220420 URL: http://svn.freebsd.org/changeset/base/220420 Log: - Replace some strcpy()-family functions with memcpy() ones. It has been discussed earlier that the extra safeness is not required in these cases and we can avoid the

svn commit: r220421 - head/usr.bin/grep

2011-04-07 Thread Gabor Kovesdan
Author: gabor Date: Thu Apr 7 13:01:03 2011 New Revision: 220421 URL: http://svn.freebsd.org/changeset/base/220421 Log: - Simplify the fixed string pattern preprocessing code - Improve readability Approved by: delphij (mentor) Obtained from:The NetBSD Project Modified: head

svn commit: r220422 - head/usr.bin/grep

2011-04-07 Thread Gabor Kovesdan
Author: gabor Date: Thu Apr 7 13:03:35 2011 New Revision: 220422 URL: http://svn.freebsd.org/changeset/base/220422 Log: - Adjust a comment to actual behaviour - Makefile nit - Add more CVS/SVN keywords to make it easier to track changes from NetBSD in case they add further improvements

svn commit: r220423 - in head/sys/dev/ath/ath_hal: . ar5212

2011-04-07 Thread Adrian Chadd
Author: adrian Date: Thu Apr 7 13:14:51 2011 New Revision: 220423 URL: http://svn.freebsd.org/changeset/base/220423 Log: Add some more OS_MARK probes to the RX DMA setup/teardown code path. I'm trying to debug the RX DMA path and help the ath9k guys with "RX dma abort stuck" issue that b

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

2011-04-07 Thread Andrew Gallatin
Author: gallatin Date: Thu Apr 7 13:49:44 2011 New Revision: 220424 URL: http://svn.freebsd.org/changeset/base/220424 Log: Fix a bug in mxge's LRO which can cause dup acks to get aggregated & hence prevent TCP from entering fast retransmit. Pointed out by: jeff Reviewed by: gnn MFC

Re: svn commit: r220416 - head/sys/netgraph

2011-04-07 Thread Gleb Smirnoff
On Thu, Apr 07, 2011 at 11:40:10AM +, Marko Zec wrote: M> Author: zec M> Date: Thu Apr 7 11:40:10 2011 M> New Revision: 220416 M> URL: http://svn.freebsd.org/changeset/base/220416 M> M> Log: M> Properly unref ng_hub nodes on shutdown, so that we don't leak them. M> M> MFC after: 3 days

svn commit: r220425 - stable/8/sys/tools

2011-04-07 Thread Ed Maste
Author: emaste Date: Thu Apr 7 14:17:55 2011 New Revision: 220425 URL: http://svn.freebsd.org/changeset/base/220425 Log: MFC r198374: Rename default to default_function, for compatibility with GNU awk. (For cross-compiling out-of-tree kernel modules, for example.) Modified: stable/8/

Re: svn commit: r220416 - head/sys/netgraph

2011-04-07 Thread Marko Zec
On Thursday 07 April 2011 15:54:40 Gleb Smirnoff wrote: > On Thu, Apr 07, 2011 at 11:40:10AM +, Marko Zec wrote: > M> Author: zec > M> Date: Thu Apr 7 11:40:10 2011 > M> New Revision: 220416 > M> URL: http://svn.freebsd.org/changeset/base/220416 > M> > M> Log: > M> Properly unref ng_hub node

svn commit: r220426 - stable/7/usr.bin/truss

2011-04-07 Thread Jaakko Heinonen
Author: jh Date: Thu Apr 7 16:06:39 2011 New Revision: 220426 URL: http://svn.freebsd.org/changeset/base/220426 Log: MFC r216224: Don't write the terminating NUL past end of buffer. PR: bin/152345 Modified: stable/7/usr.bin/truss/syscalls.c Directory Properties: stable/

Re: svn commit: r220412 - in head: share/man/man4 sys/cam/ata

2011-04-07 Thread Alexander Best
On Thu Apr 7 11, Alexander Motin wrote: > Author: mav > Date: Thu Apr 7 08:17:53 2011 > New Revision: 220412 > URL: http://svn.freebsd.org/changeset/base/220412 > > Log: > Make ada(4) driver to control device write cache, same as ata(4) does. > Add kern.cam.ada.write_cache sysctl/tunable to

Re: svn commit: r220416 - head/sys/netgraph

2011-04-07 Thread Gleb Smirnoff
On Thu, Apr 07, 2011 at 04:15:49PM +0200, Marko Zec wrote: M> On Thursday 07 April 2011 15:54:40 Gleb Smirnoff wrote: M> > On Thu, Apr 07, 2011 at 11:40:10AM +, Marko Zec wrote: M> > M> Author: zec M> > M> Date: Thu Apr 7 11:40:10 2011 M> > M> New Revision: 220416 M> > M> URL: http://svn.freeb

Re: svn commit: r220416 - head/sys/netgraph

2011-04-07 Thread Julian Elischer
On 4/7/11 7:15 AM, Marko Zec wrote: On Thursday 07 April 2011 15:54:40 Gleb Smirnoff wrote: On Thu, Apr 07, 2011 at 11:40:10AM +, Marko Zec wrote: M> Author: zec M> Date: Thu Apr 7 11:40:10 2011 M> New Revision: 220416 M> URL: http://svn.freebsd.org/changeset/base/220416 M> M> Log: M>

Re: svn commit: r220416 - head/sys/netgraph

2011-04-07 Thread Julian Elischer
On 4/7/11 12:45 PM, Gleb Smirnoff wrote: On Thu, Apr 07, 2011 at 04:15:49PM +0200, Marko Zec wrote: M> On Thursday 07 April 2011 15:54:40 Gleb Smirnoff wrote: M> > On Thu, Apr 07, 2011 at 11:40:10AM +, Marko Zec wrote: M> > M> Author: zec M> > M> Date: Thu Apr 7 11:40:10 2011 M> >

svn commit: r220427 - head/sys/dev/bxe

2011-04-07 Thread David Christensen
Author: davidch Date: Thu Apr 7 20:15:36 2011 New Revision: 220427 URL: http://svn.freebsd.org/changeset/base/220427 Log: - Fixed a problem when multiqueue mode was enabled which caused the CQ chain to be corrupted. - Removed many console print warnings and replaced with driver maintained

Re: svn commit: r220412 - in head: share/man/man4 sys/cam/ata

2011-04-07 Thread Garrett Cooper
On Thu, Apr 7, 2011 at 12:03 PM, Alexander Best wrote: > On Thu Apr  7 11, Alexander Motin wrote: >> Author: mav >> Date: Thu Apr  7 08:17:53 2011 >> New Revision: 220412 >> URL: http://svn.freebsd.org/changeset/base/220412 >> >> Log: >>   Make ada(4) driver to control device write cache, same as

svn commit: r220428 - head/sys/netinet

2011-04-07 Thread Jack F Vogel
Author: jfv Date: Thu Apr 7 21:20:26 2011 New Revision: 220428 URL: http://svn.freebsd.org/changeset/base/220428 Log: Port of the LRO fix from mxge driver to the generic LRO code. Thanks to Andrew Gallatin for the change. MFC after: 7 days Modified: head/sys/netinet/tcp_lro.c Modifi

Re: svn commit: r220412 - in head: share/man/man4 sys/cam/ata

2011-04-07 Thread Alexander Best
On Thu Apr 7 11, Garrett Cooper wrote: > On Thu, Apr 7, 2011 at 12:03 PM, Alexander Best wrote: > > On Thu Apr  7 11, Alexander Motin wrote: > >> Author: mav > >> Date: Thu Apr  7 08:17:53 2011 > >> New Revision: 220412 > >> URL: http://svn.freebsd.org/changeset/base/220412 > >> > >> Log: > >>  

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

2011-04-07 Thread Jung-uk Kim
Author: jkim Date: Thu Apr 7 21:29:34 2011 New Revision: 220429 URL: http://svn.freebsd.org/changeset/base/220429 Log: Remove stale checks for RDTSC support. amd64 must have TSC support anyway. Modified: head/sys/amd64/amd64/prof_machdep.c Modified: head/sys/amd64/amd64/prof_machdep.c

Re: svn commit: r220412 - in head: share/man/man4 sys/cam/ata

2011-04-07 Thread Warner Losh
On Apr 7, 2011, at 3:00 PM, Garrett Cooper wrote: > On Thu, Apr 7, 2011 at 12:03 PM, Alexander Best wrote: >> On Thu Apr 7 11, Alexander Motin wrote: >>> Author: mav >>> Date: Thu Apr 7 08:17:53 2011 >>> New Revision: 220412 >>> URL: http://svn.freebsd.org/changeset/base/220412 >>> >>> Log: >

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

2011-04-07 Thread John Baldwin
Author: jhb Date: Thu Apr 7 21:32:25 2011 New Revision: 220430 URL: http://svn.freebsd.org/changeset/base/220430 Log: If a system call does not request a full interrupt return, use a fast path via the sysretq instruction to return from the system call. This was removed in 190620 and not qu

Re: svn commit: r220430 - head/sys/amd64/amd64

2011-04-07 Thread Jung-uk Kim
On Thursday 07 April 2011 05:32 pm, John Baldwin wrote: > Author: jhb > Date: Thu Apr 7 21:32:25 2011 > New Revision: 220430 > URL: http://svn.freebsd.org/changeset/base/220430 > > Log: > If a system call does not request a full interrupt return, use a > fast path via the sysretq instruction to

Re: svn commit: r220401 - in head: . share/mk tools/build/mk tools/build/options

2011-04-07 Thread Ulrich Spoerlein
On Thu, 07.04.2011 at 07:31:14 +, Alexander Best wrote: > On Wed Apr 6 11, Warner Losh wrote: > > On Apr 6, 2011, at 3:41 PM, Alexander Best wrote: > > > On Wed Apr 6 11, Juli Mallett wrote: > > >> On Wed, Apr 6, 2011 at 14:04, Alexander Best wrote: > > >>> On Wed Apr 6 11, Ulrich Spoerlein

Re: svn commit: r220412 - in head: share/man/man4 sys/cam/ata

2011-04-07 Thread Garrett Cooper
On Thu, Apr 7, 2011 at 2:23 PM, Warner Losh wrote: > > On Apr 7, 2011, at 3:00 PM, Garrett Cooper wrote: > >> On Thu, Apr 7, 2011 at 12:03 PM, Alexander Best wrote: >>> On Thu Apr  7 11, Alexander Motin wrote: Author: mav Date: Thu Apr  7 08:17:53 2011 New Revision: 220412 URL

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

2011-04-07 Thread John Baldwin
Author: jhb Date: Thu Apr 7 23:13:22 2011 New Revision: 220431 URL: http://svn.freebsd.org/changeset/base/220431 Log: pcb_flags is an int, so use testl rather than testq. Pointy hat to:jhb Submitted by: jkim MFC after:1 week Modified: head/sys/amd64/amd64/exception.S Mo

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

2011-04-07 Thread Glen Barber
Author: gjb (doc committer) Date: Thu Apr 7 23:14:33 2011 New Revision: 220432 URL: http://svn.freebsd.org/changeset/base/220432 Log: u3g.4: - remove self-reference in SEE ALSO section (originally was to s/XR/Xr) cxgbe.4: - remove blank line - add closing .El Reported by: manli

svn commit: r220433 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 compat/linprocfs contrib/altq/altq dev/acpica i386/i386 i386/isa pc98/pc98 x86/cpufreq x86/isa x86/x86

2011-04-07 Thread Jung-uk Kim
Author: jkim Date: Thu Apr 7 23:28:28 2011 New Revision: 220433 URL: http://svn.freebsd.org/changeset/base/220433 Log: Use atomic load & store for TSC frequency. It may be overkill for amd64 but safer for i386 because it can be easily over 4 GHz now. More worse, it can be easily changed b

svn commit: r220434 - in stable/8: lib/libusb share/man/man9 sys/dev/usb

2011-04-07 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 8 05:48:51 2011 New Revision: 220434 URL: http://svn.freebsd.org/changeset/base/220434 Log: MFC r219100 - Add support for software pre-scaling of ISOCHRONOUS transfers. Approved by: thompsa (mentor) Modified: stable/8/lib/libusb/libusb10.c stable/8/li

svn commit: r220435 - in stable/8/sys: dev/usb/controller mips/atheros mips/rmi

2011-04-07 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 8 06:13:19 2011 New Revision: 220435 URL: http://svn.freebsd.org/changeset/base/220435 Log: MFC r220303 - Correct EHCI interrupt disabling at detach. Approved by: thompsa (mentor) Modified: stable/8/sys/dev/usb/controller/ehci_ixp4xx.c stable/8/sys/de

svn commit: r220436 - stable/8/sys/dev/usb

2011-04-07 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 8 06:20:43 2011 New Revision: 220436 URL: http://svn.freebsd.org/changeset/base/220436 Log: MFC r219395. - Bugfix: Root HUBs do not support re-enumeration. Approved by: thompsa (mentor) Modified: stable/8/sys/dev/usb/usb_generic.c Directory Properties:

svn commit: r220437 - in head/sys: cddl/dev/systrace modules/dtrace/systrace_linux32

2011-04-07 Thread Artem Belevich
Author: art Date: Fri Apr 8 06:27:43 2011 New Revision: 220437 URL: http://svn.freebsd.org/changeset/base/220437 Log: Stripped '32' suffix from linux systrace module name on i386. Approved by: avg Modified: head/sys/cddl/dev/systrace/systrace.c head/sys/modules/dtrace/systrace_linux32

svn commit: r220438 - head/sys/dev/ath/ath_hal

2011-04-07 Thread Adrian Chadd
Author: adrian Date: Fri Apr 8 06:29:41 2011 New Revision: 220438 URL: http://svn.freebsd.org/changeset/base/220438 Log: Extend the RX descriptor block to include two more EVM words. This will be needed for later AR93xx/AR94xx 3-stream devices. Modified: head/sys/dev/ath/ath_hal/ah_desc

svn commit: r220439 - stable/8/sys/dev/usb

2011-04-07 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 8 06:37:22 2011 New Revision: 220439 URL: http://svn.freebsd.org/changeset/base/220439 Log: MFC r220304. - Fix for missing event if a libUSB USB transfer is started and stopped rapidly in succession. Modified: stable/8/sys/dev/usb/usb_generic.c Directory

Re: svn commit: r220439 - stable/8/sys/dev/usb

2011-04-07 Thread Hans Petter Selasky
On Friday 08 April 2011 08:37:22 Hans Petter Selasky wrote: > Author: hselasky > Date: Fri Apr 8 06:37:22 2011 > New Revision: 220439 > URL: http://svn.freebsd.org/changeset/base/220439 > > Log: > MFC r220304. > - Fix for missing event if a libUSB USB transfer is started and > stopped rap

svn commit: r220440 - stable/8/libexec/rtld-elf

2011-04-07 Thread Andriy Gapon
Author: avg Date: Fri Apr 8 06:50:26 2011 New Revision: 220440 URL: http://svn.freebsd.org/changeset/base/220440 Log: MFC r220004: rtld: eliminate double call to close(2) that may occur in load_object Modified: stable/8/libexec/rtld-elf/rtld.c Directory Properties: stable/8/libexec/rtld-e

svn commit: r220441 - stable/7/libexec/rtld-elf

2011-04-07 Thread Andriy Gapon
Author: avg Date: Fri Apr 8 06:55:25 2011 New Revision: 220441 URL: http://svn.freebsd.org/changeset/base/220441 Log: MFC r220004: rtld: eliminate double call to close(2) that may occur in load_object Modified: stable/7/libexec/rtld-elf/rtld.c Directory Properties: stable/7/libexec/rtld-e

svn commit: r220442 - in head/sys/dev/ath/ath_hal: . ar5416

2011-04-07 Thread Adrian Chadd
Author: adrian Date: Fri Apr 8 06:58:01 2011 New Revision: 220442 URL: http://svn.freebsd.org/changeset/base/220442 Log: Export the per-chain ctl/ext noise floor values, raw and uncut, to the upper-level HAL. Right now the per-chain noise floor values aren't used anywhere in the upper-