svn commit: r204402 - head/sys/netinet6

2010-02-26 Thread Qing Li
Author: qingli Date: Sat Feb 27 07:12:25 2010 New Revision: 204402 URL: http://svn.freebsd.org/changeset/base/204402 Log: Use reference counting instead of locking to secure an address while that address is being used to generate temporary IPv6 address. This approach is sufficient and avoids

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

2010-02-26 Thread Matt Jacob
Author: mjacob Date: Sat Feb 27 05:41:23 2010 New Revision: 204397 URL: http://svn.freebsd.org/changeset/base/204397 Log: Revamp the pieces of some of the stuff I forgot to do when shifting to 32 bit handles. The RIO (reduced interrupt operation) and fast posting for the parallel SCSI cards

svn commit: r204395 - stable/7/sys/sys

2010-02-26 Thread Ed Maste
Author: emaste Date: Sat Feb 27 04:02:40 2010 New Revision: 204395 URL: http://svn.freebsd.org/changeset/base/204395 Log: MFC r204106: Avoid corrupting the list or queue if _REMOVE is invoked with a reference to the head. PR: kern/119307 Modified: stable/7/sys/sys/qu

svn commit: r204392 - stable/8/sys/sys

2010-02-26 Thread Ed Maste
Author: emaste Date: Sat Feb 27 03:47:22 2010 New Revision: 204392 URL: http://svn.freebsd.org/changeset/base/204392 Log: MFC r204106: Avoid corrupting the list or queue if _REMOVE is invoked with a reference to the head. PR: kern/119307 Modified: stable/8/sys/sys/qu

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

2010-02-26 Thread Weongyo Jeong
Author: weongyo Date: Sat Feb 27 02:20:38 2010 New Revision: 204385 URL: http://svn.freebsd.org/changeset/base/204385 Log: don't need to check BWN_RX_PHYST0_SHORTPRMBL flag because it's already handled in later. Reported from:imp, nwhitehorn Modified: head/sys/dev/bwn/if_bwn.c

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

2010-02-26 Thread Matt Jacob
Author: mjacob Date: Sat Feb 27 01:58:41 2010 New Revision: 204384 URL: http://svn.freebsd.org/changeset/base/204384 Log: Fix misallocation error in target mode. MFC after:1 day Modified: head/sys/dev/isp/isp_pci.c Modified: head/sys/dev/isp/isp_pci.c ===

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

2010-02-26 Thread Xin LI
Author: delphij Date: Sat Feb 27 01:17:44 2010 New Revision: 204383 URL: http://svn.freebsd.org/changeset/base/204383 Log: Add several necessary .El's. MFC after:2 weeks Modified: head/share/man/man9/BUF_ISLOCKED.9 head/share/man/man9/BUF_RECURSED.9 head/share/man/man9/DEVICE_PRO

svn commit: r204379 - head/tools/build/mk

2010-02-26 Thread Antoine Brodin
Author: antoine Date: Fri Feb 26 23:26:15 2010 New Revision: 204379 URL: http://svn.freebsd.org/changeset/base/204379 Log: Do not remove fmt.1 when MK_MAIL=no. X-MFC-With: r203584 Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFil

svn commit: r204378 - head/sys/dev/ale

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 22:46:36 2010 New Revision: 204378 URL: http://svn.freebsd.org/changeset/base/204378 Log: Add TSO support on VLANs. While I'm here remove unnecessary check of VLAN hardware checksum offloading. vlan(4) already takes care of this. Modified: head/sys/dev/ale

svn commit: r204377 - head/sys/dev/age

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 22:43:23 2010 New Revision: 204377 URL: http://svn.freebsd.org/changeset/base/204377 Log: Add TSO support on VLANs. While I'm here remove unnecessary check of VLAN hardware checksum offloading. vlan(4) already takes care of this. Modified: head/sys/dev/age

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

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 22:29:42 2010 New Revision: 204376 URL: http://svn.freebsd.org/changeset/base/204376 Log: Disable TSO on BCM5755M controller until I understand better for the issue. I still have no idea why TSO does not work on this controller. davidch@ also confirmed there

svn commit: r204375 - in stable/8: lib/libufs sbin/growfs sbin/newfs sbin/tunefs sys/ufs/ffs

2010-02-26 Thread Kirk McKusick
Author: mckusick Date: Fri Feb 26 21:49:11 2010 New Revision: 204375 URL: http://svn.freebsd.org/changeset/base/204375 Log: MFC of 203763, 203764, 203768, 203769, 203770, 203782, and 203784. These fixes correct a problem in the file system that treats large inode numbers as negative rathe

svn commit: r204374 - head/sys/dev/bce

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 21:26:07 2010 New Revision: 204374 URL: http://svn.freebsd.org/changeset/base/204374 Log: Add TSO support on VLANs. bce(4) controllers require VLAN hardware tagging to make TSO work on VLANs so explicitly disable TSO on VLAN if VLAN hardware tagging is disabl

svn commit: r204373 - head/sys/dev/bce

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 21:19:46 2010 New Revision: 204373 URL: http://svn.freebsd.org/changeset/base/204373 Log: Move TSO setup to new function bce_tso_setup(). Also remove VLAN parsing code in TSO path as the controller requires VLAN hardware tagging to make TSO work over VLANs.

svn commit: r204372 - head/sys/dev/bce

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 20:41:28 2010 New Revision: 204372 URL: http://svn.freebsd.org/changeset/base/204372 Log: Prefer m_collapse(9) over m_defrag(9). Reviewed by: davidch Modified: head/sys/dev/bce/if_bce.c Modified: head/sys/dev/bce/if_bce.c ===

svn commit: r204371 - head/sys/dev/bce

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 20:39:07 2010 New Revision: 204371 URL: http://svn.freebsd.org/changeset/base/204371 Log: Make toggling TSO, VLAN hardware checksum offloading work. Also fix TX/RX checksum handler to set/clear relavant assist bits which was used to cause unexpected results.

svn commit: r204370 - head/sys/dev/bce

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 20:26:17 2010 New Revision: 204370 URL: http://svn.freebsd.org/changeset/base/204370 Log: Make sure to stop controller first before changing MTU. And if interface is not running don't initialize controller. While here remove unnecessary update of error variab

svn commit: r204369 - stable/8/sys/dev/ath

2010-02-26 Thread Rui Paulo
Author: rpaulo Date: Fri Feb 26 20:25:30 2010 New Revision: 204369 URL: http://svn.freebsd.org/changeset/base/204369 Log: MFC r203695, r203751 Fix spelling mistake and compile error. Modified: stable/8/sys/dev/ath/if_ath.c Directory Properties: stable/8/sys/ (props changed) stable/8

svn commit: r204368 - head/sys/dev/bce

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 20:17:17 2010 New Revision: 204368 URL: http://svn.freebsd.org/changeset/base/204368 Log: Allow disabling VLAN hardware tag stripping with software work around. Management firmware(ASF/IPMI/UMP) requires the VLAN hardware tag stripping so don't actually disab

svn commit: r204367 - head/sys/dev/msk

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 19:38:12 2010 New Revision: 204367 URL: http://svn.freebsd.org/changeset/base/204367 Log: Remove trailing white spaces. Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c ===

svn commit: r204366 - head/sys/dev/msk

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 19:37:03 2010 New Revision: 204366 URL: http://svn.freebsd.org/changeset/base/204366 Log: Allocate single MSI message. msk(4) used to allocate 2 MSI messages for controllers like 88E8053 which reports two MSI messages. Because we don't get anything useful thi

svn commit: r204365 - head/sys/dev/msk

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 19:18:29 2010 New Revision: 204365 URL: http://svn.freebsd.org/changeset/base/204365 Log: Don't hardcod register offset to set PCIe max read request size. The register offset is not valid on 88E8072 controller. Also don't blindly increase max read request siz

svn commit: r204364 - stable/8/sys/dev/ath

2010-02-26 Thread Rui Paulo
Author: rpaulo Date: Fri Feb 26 18:46:16 2010 New Revision: 204364 URL: http://svn.freebsd.org/changeset/base/204364 Log: MFC r203683: Add multicast key search support. This fixes corrupted mcast packets when we have more than one hostap vap. Modified: stable/8/sys/dev/ath/if_ath.c st

svn commit: r204363 - head/sys/dev/msk

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 18:18:02 2010 New Revision: 204363 URL: http://svn.freebsd.org/changeset/base/204363 Log: Optimize inserting LE for TX checksum computation. Controller does not require checksum LE configuration if checksum start and write position is the same as before. So k

svn commit: r204362 - head/sys/dev/msk

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 17:33:43 2010 New Revision: 204362 URL: http://svn.freebsd.org/changeset/base/204362 Log: Add TSO support on VLANs. Controller requires VLAN hardware tagging to make TSO work over VLANs. Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.

svn commit: r204361 - head/sys/dev/msk

2010-02-26 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 26 17:27:16 2010 New Revision: 204361 URL: http://svn.freebsd.org/changeset/base/204361 Log: Reuse the configured LE for VLAN if new LE was created for TSO. Only old controllers need to create new LE for TSO. This change makes TSO work over VLANs. Modified: h

svn commit: r204360 - head/games/fortune/datfiles

2010-02-26 Thread Wilko Bulte
Author: wilko Date: Fri Feb 26 16:27:11 2010 New Revision: 204360 URL: http://svn.freebsd.org/changeset/base/204360 Log: s/all ready/already/ Submitted by: ru@, gj@ Modified: head/games/fortune/datfiles/fortunes Modified: head/games/fortune/datfiles/fortunes

Re: svn commit: r204309 - in head/sys: amd64/amd64 amd64/isa conf i386/bios i386/cpufreq i386/i386 i386/isa i386/xen isa modules/bios/smbios modules/bios/vpd modules/cpufreq pc98/pc98 x86 x86/bios x86

2010-02-26 Thread M. Warner Losh
In message: <3bbf2fe11002260557y484cf13bq76f7507c07ed3...@mail.gmail.com> Attilio Rao writes: : 2010/2/26 Ed Maste : : > [ About the i386/amd64/pc98 -> x86 merge ] : > : >> > : I think there have been already MFCed patches doing headers movements : >> > : in the past. : >> > : >> > We'

Re: svn commit: r204309 - in head/sys: amd64/amd64 amd64/isa conf i386/bios i386/cpufreq i386/i386 i386/isa i386/xen isa modules/bios/smbios modules/bios/vpd modules/cpufreq pc98/pc98 x86 x86/bios x

2010-02-26 Thread Attilio Rao
2010/2/26 Ed Maste : > [ About the i386/amd64/pc98 -> x86 merge ] > >> > : I think there have been already MFCed patches doing headers movements >> > : in the past. >> > >> > We've tried to keep the KPI upwardly compatible.  If files move, then >> > old code will potentially break. >> >> Yes, but t

svn commit: r204359 - head/usr.bin/pr

2010-02-26 Thread Ed Schouten
Author: ed Date: Fri Feb 26 13:48:04 2010 New Revision: 204359 URL: http://svn.freebsd.org/changeset/base/204359 Log: Make pr build with WARNS=6. Modified: head/usr.bin/pr/Makefile head/usr.bin/pr/egetopt.c Modified: head/usr.bin/pr/Makefile

svn commit: r204358 - head/usr.bin/pr

2010-02-26 Thread Ed Schouten
Author: ed Date: Fri Feb 26 13:47:51 2010 New Revision: 204358 URL: http://svn.freebsd.org/changeset/base/204358 Log: Use time(NULL) instead of gettimeofday(), because we only need tv_sec. Modified: head/usr.bin/pr/pr.c Modified: head/usr.bin/pr/pr.c =

Re: svn commit: r204309 - in head/sys: amd64/amd64 amd64/isa conf i386/bios i386/cpufreq i386/i386 i386/isa i386/xen isa modules/bios/smbios modules/bios/vpd modules/cpufreq pc98/pc98 x86 x86/bios x86

2010-02-26 Thread Ed Maste
[ About the i386/amd64/pc98 -> x86 merge ] > > : I think there have been already MFCed patches doing headers movements > > : in the past. > > > > We've tried to keep the KPI upwardly compatible. If files move, then > > old code will potentially break. > > Yes, but there is very non-trivial cost

svn commit: r204356 - head/sys/dev/mpt

2010-02-26 Thread Alexander Motin
Author: mav Date: Fri Feb 26 12:31:16 2010 New Revision: 204356 URL: http://svn.freebsd.org/changeset/base/204356 Log: Store path for rescan to the right place. This should fix panic on boot, introduced by r203108. Modified: head/sys/dev/mpt/mpt_raid.c Modified: head/sys/dev/mpt/mpt_raid.c

libgssapi.a and libgssapi_krb5.a cannot both be used

2010-02-26 Thread Ruslan Ermilov
Doug, The libgssapi.a and libgssapi_krb5.a libraries both define the same symbols that makes static linkage using them impossible in some cases, e.g. when trying to link sshd(8) statically. Details are below. On Fri, Feb 26, 2010 at 12:12:54PM +, Ruslan Ermilov wrote: > Author: ru > Date: Fr

svn commit: r204355 - head/secure/usr.sbin/sshd

2010-02-26 Thread Ruslan Ermilov
Author: ru Date: Fri Feb 26 12:12:54 2010 New Revision: 204355 URL: http://svn.freebsd.org/changeset/base/204355 Log: (Almost) fixed static linkage. The remaining problem is with libgssapi.a and libgssapi_krb5.a libraries that define the same symbols. Modified: head/secure/usr.sbin/sshd/

Re: svn commit: r204309 - in head/sys: amd64/amd64 amd64/isa conf i386/bios i386/cpufreq i386/i386 i386/isa i386/xen isa modules/bios/smbios modules/bios/vpd modules/cpufreq pc98/pc98 x86 x86/bios x86

2010-02-26 Thread Kostik Belousov
On Thu, Feb 25, 2010 at 06:56:53PM -0700, M. Warner Losh wrote: > In message: <3bbf2fe11002251732t35179d9ar3c3f39aafe75d...@mail.gmail.com> > Attilio Rao writes: > : 2010/2/26 Xin LI : > : > On Thu, Feb 25, 2010 at 3:48 PM, Attilio Rao wrote: > : >> 2010/2/26 M. Warner Losh : > : >>>

svn commit: r204354 - in head/sys: cam/ata sys

2010-02-26 Thread Alexander Motin
Author: mav Date: Fri Feb 26 10:42:46 2010 New Revision: 204354 URL: http://svn.freebsd.org/changeset/base/204354 Log: Make PUIS detection more strict. Previous implementation caused false positives on VMWare's virtual CD-ROMs. Modified: head/sys/cam/ata/ata_xpt.c head/sys/sys/ata.h Modi

svn commit: r204353 - head/sys/cam

2010-02-26 Thread Alexander Motin
Author: mav Date: Fri Feb 26 10:33:48 2010 New Revision: 204353 URL: http://svn.freebsd.org/changeset/base/204353 Log: Fix newlines broken at r204220. Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c ===

svn commit: r204352 - in head: libexec/rpc.rstatd libexec/ulog-helper sbin/hastd usr.bin/fetch usr.bin/unzip usr.sbin/auditd usr.sbin/boot0cfg usr.sbin/mptutil

2010-02-26 Thread Ruslan Ermilov
Author: ru Date: Fri Feb 26 09:41:16 2010 New Revision: 204352 URL: http://svn.freebsd.org/changeset/base/204352 Log: Fixed static linkage. Modified: head/libexec/rpc.rstatd/Makefile head/libexec/ulog-helper/Makefile head/sbin/hastd/Makefile head/usr.bin/fetch/Makefile head/usr.bin/un

svn commit: r204351 - head/sys/dev/sound/pci/hda

2010-02-26 Thread Alexander Motin
Author: mav Date: Fri Feb 26 09:31:50 2010 New Revision: 204351 URL: http://svn.freebsd.org/changeset/base/204351 Log: Fix bug in headphones audio redirection using separate DAC. It was exposed by removing channel duplication during multichannel audio implementation. Modified: head/sys/dev/