svn commit: r222341 - head/sys/geom/part

2011-05-26 Thread Andrey V. Elsukov
Author: ae Date: Fri May 27 06:37:42 2011 New Revision: 222341 URL: http://svn.freebsd.org/changeset/base/222341 Log: Some partitioning tools may have a different opinion about disk geometry and partitions may start from withing the first track. If we found such partitions, then do not reser

svn commit: r222340 - head/sys/powerpc/include

2011-05-26 Thread Marcel Moolenaar
Author: marcel Date: Fri May 27 05:58:10 2011 New Revision: 222340 URL: http://svn.freebsd.org/changeset/base/222340 Log: o Swap the SVR numbers for MPC8533 & MPC8533E o Add SVR defines for P1011(E), P1020(E), P2010(E) & P2020(E) Modified: head/sys/powerpc/include/spr.h Modified: head/

svn commit: r222339 - in head: share/examples/ses/srcs sys/cam/scsi

2011-05-26 Thread Alexander Motin
Author: mav Date: Fri May 27 03:44:47 2011 New Revision: 222339 URL: http://svn.freebsd.org/changeset/base/222339 Log: Change new constant names to ones used by OpenSolaris. Modified: head/share/examples/ses/srcs/eltsub.c head/sys/cam/scsi/scsi_ses.h Modified: head/share/examples/ses/srcs/

svn commit: r222338 - head/share/examples/ses/srcs

2011-05-26 Thread Alexander Motin
Author: mav Date: Fri May 27 03:30:23 2011 New Revision: 222338 URL: http://svn.freebsd.org/changeset/base/222338 Log: Oops, fix typo in r222336. Modified: head/share/examples/ses/srcs/eltsub.c Modified: head/share/examples/ses/srcs/eltsub.c ==

svn commit: r222337 - head/share/examples

2011-05-26 Thread Alexander Motin
Author: mav Date: Fri May 27 03:27:28 2011 New Revision: 222337 URL: http://svn.freebsd.org/changeset/base/222337 Log: Add ses/srcs/eltsub.h to the list of files to be installed. It is required for user-level SES example tools build. Modified: head/share/examples/Makefile Modified: head/sh

svn commit: r222336 - in head: share/examples/ses/srcs sys/cam/scsi

2011-05-26 Thread Alexander Motin
Author: mav Date: Fri May 27 03:23:39 2011 New Revision: 222336 URL: http://svn.freebsd.org/changeset/base/222336 Log: Add names for few more SES element types according SES-2 specification. Modified: head/share/examples/ses/srcs/eltsub.c head/sys/cam/scsi/scsi_ses.h Modified: head/share/e

svn commit: r222334 - head/sys/ufs/ffs

2011-05-26 Thread Kirk McKusick
Author: mckusick Date: Thu May 26 23:56:58 2011 New Revision: 222334 URL: http://svn.freebsd.org/changeset/base/222334 Log: The check for whether a block is going to be claimed by a snapshot needs to happen before we notify the underlying layer that it is being freed. Modified: head/sys/u

svn commit: r222330 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2011-05-26 Thread Xin LI
Author: delphij Date: Thu May 26 22:29:43 2011 New Revision: 222330 URL: http://svn.freebsd.org/changeset/base/222330 Log: In ipoib_cm_handle_rx_wc(): Count incoming packets and bytes toward incoming counters. Reviewed by: jeff Modified: head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoi

svn commit: r222329 - head/sys/fs/nfsclient

2011-05-26 Thread Rick Macklem
Author: rmacklem Date: Thu May 26 22:05:35 2011 New Revision: 222329 URL: http://svn.freebsd.org/changeset/base/222329 Log: Add a check for MNTK_UNMOUNTF at the beginning of nfs_sync() in the new NFS client so that a forced dismount doesn't get stuck in the VFS_SYNC() call that happens befor

svn commit: r222328 - head/sys/dev/puc

2011-05-26 Thread John Baldwin
Author: jhb Date: Thu May 26 20:54:45 2011 New Revision: 222328 URL: http://svn.freebsd.org/changeset/base/222328 Log: For Timedia multiport serial adapters, the first two ports use a SUN1889 which uses a non-standard clock (* 8) while any additional ports use SUN1699 chips which use a stand

svn commit: r222327 - head/sys/powerpc/booke

2011-05-26 Thread Marcel Moolenaar
Author: marcel Date: Thu May 26 20:47:05 2011 New Revision: 222327 URL: http://svn.freebsd.org/changeset/base/222327 Log: Don't assume we have a valid bootinfo pointer. Modified: head/sys/powerpc/booke/platform_bare.c Modified: head/sys/powerpc/booke/platform_bare.c =

svn commit: r222326 - head/libexec/tftpd

2011-05-26 Thread Craig Rodrigues
Author: rodrigc Date: Thu May 26 20:32:33 2011 New Revision: 222326 URL: http://svn.freebsd.org/changeset/base/222326 Log: Fix tftp_log() usage. Modified: head/libexec/tftpd/tftp-io.c Modified: head/libexec/tftpd/tftp-io.c =

svn commit: r222325 - in head/sys: conf modules/ath

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 20:31:08 2011 New Revision: 222325 URL: http://svn.freebsd.org/changeset/base/222325 Log: Introduce AR9287 support to the FreeBSD HAL. Modified: head/sys/conf/files head/sys/modules/ath/Makefile Modified: head/sys/conf/files =

svn commit: r222324 - head/sys/dev/ath/ath_hal/ar9002

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 20:22:10 2011 New Revision: 222324 URL: http://svn.freebsd.org/changeset/base/222324 Log: Fix a macro name - it's currently unused in this file however, but keep it consistent with ar9280.c. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9287.c Modified: head/s

svn commit: r222323 - head/sys/dev/ath/ath_hal/ar9002

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 20:17:59 2011 New Revision: 222323 URL: http://svn.freebsd.org/changeset/base/222323 Log: Revert this erroneous commit and re-disable the AR9285 combined antenna diversity. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c Modified: head/sys/dev/ath/ath

svn commit: r222322 - head/tools/tools/ath/ath_ee_9287_print

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 19:49:32 2011 New Revision: 222322 URL: http://svn.freebsd.org/changeset/base/222322 Log: Include an EEPROM dump program for the AR9287 EEPROM format. Added: head/tools/tools/ath/ath_ee_9287_print/ head/tools/tools/ath/ath_ee_9287_print/9287.c (contents, pr

svn commit: r222320 - head/sys/kern

2011-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 18:54:07 2011 New Revision: 222320 URL: http://svn.freebsd.org/changeset/base/222320 Log: Fix support for RACCT_CORE by merging forgotten file. Modified: head/sys/kern/kern_sig.c Modified: head/sys/kern/kern_sig.c ===

svn commit: r222319 - head/sbin/newfs

2011-05-26 Thread Kirk McKusick
Author: mckusick Date: Thu May 26 18:22:49 2011 New Revision: 222319 URL: http://svn.freebsd.org/changeset/base/222319 Log: Raise the default blocksize for UFS/FFS filesystems from 16K to 32K and the default fragment size from 2K to 4K. The rational is that most disks are now running with

svn commit: r222317 - head/sys/dev/uart

2011-05-26 Thread Marcel Moolenaar
Author: marcel Date: Thu May 26 17:02:56 2011 New Revision: 222317 URL: http://svn.freebsd.org/changeset/base/222317 Log: Ignore MCR[6] during the probe to fix a false negative. Bit 6 of the MCR register on the Sunix Sun1699 chip tends to be set but doesn't seem to have a function. That is,

svn commit: r222316 - head/sys/dev/ath/ath_hal/ar9002

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 16:59:42 2011 New Revision: 222316 URL: http://svn.freebsd.org/changeset/base/222316 Log: Remove the three-chain scaled power check for the AR9287 - it isn't needed. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9287_reset.c Modified: head/sys/dev/ath/ath_hal/

svn commit: r222315 - head/sys/dev/ath/ath_hal/ar5416

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 16:55:44 2011 New Revision: 222315 URL: http://svn.freebsd.org/changeset/base/222315 Log: Make sure only two chains are calibrated for the AR9287. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c ===

svn commit: r222314 - head/sys/dev/ath/ath_hal/ar9002

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 16:52:37 2011 New Revision: 222314 URL: http://svn.freebsd.org/changeset/base/222314 Log: Add some open-loop TX power debugging for AR9287. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9287_olc.c Modified: head/sys/dev/ath/ath_hal/ar9002/ar9287_olc.c ==

svn commit: r222313 - head/cddl/compat/opensolaris/misc

2011-05-26 Thread Will Andrews
Author: will Date: Thu May 26 16:27:00 2011 New Revision: 222313 URL: http://svn.freebsd.org/changeset/base/222313 Log: Close a race between libzfs and mountd when updating NFS exports. - Flush the file descriptor for the new ZFS exports file before sending a SIGHUP to mountd. Reviewe

svn commit: r222312 - head/sys/dev/ath/ath_hal/ar9002

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 15:55:27 2011 New Revision: 222312 URL: http://svn.freebsd.org/changeset/base/222312 Log: Bring over the AR5416 per-rate TX power code, modified to use the AR9287 EEPROM layout. The AR9287 only supports 2ghz, so I've removed the 5ghz code (but left the 5g

svn commit: r222310 - head/sys/dev/ath/ath_hal/ar9002

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 15:01:37 2011 New Revision: 222310 URL: http://svn.freebsd.org/changeset/base/222310 Log: Flesh out ar9287SetTransmitPower() based on the AR9285 routine. Hard-code the per-rate TX power at 5dBm for now so testing can be done. This passes initial TX testi

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

2011-05-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu May 26 14:34:22 2011 New Revision: 222309 URL: http://svn.freebsd.org/changeset/base/222309 Log: Add a missing isync. Modified: head/sys/powerpc/aim/trap_subr64.S Modified: head/sys/powerpc/aim/trap_subr64.S ===

svn commit: r222308 - head/sys/dev/ath/ath_hal/ar9002

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 14:29:05 2011 New Revision: 222308 URL: http://svn.freebsd.org/changeset/base/222308 Log: Flesh out the TX power calibration for the AR9287. I'm assuming for now that the AR9287 is only open-loop TX power control (as mine is) so I've hard-coded the attach p

svn commit: r222307 - in head: share/misc usr.bin/calendar/calendars

2011-05-26 Thread Aleksandr Rybalko
Author: ray Date: Thu May 26 13:54:07 2011 New Revision: 222307 URL: http://svn.freebsd.org/changeset/base/222307 Log: Added myself as src committer. Approved by: adrian (mentor) Modified: head/share/misc/committers-src.dot head/usr.bin/calendar/calendars/calendar.freebsd Modified: he

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

2011-05-26 Thread Alexander Motin
Author: mav Date: Thu May 26 10:10:10 2011 New Revision: 222306 URL: http://svn.freebsd.org/changeset/base/222306 Log: Add Marvell 88SE9172 chip PCI ID. Modified: head/sys/dev/ahci/ahci.c Modified: head/sys/dev/ahci/ahci.c =

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

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 09:27:58 2011 New Revision: 222305 URL: http://svn.freebsd.org/changeset/base/222305 Log: Add the AR9287 chip identification string. Modified: head/sys/dev/ath/ath_hal/ah.c Modified: head/sys/dev/ath/ath_hal/ah.c ===

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

2011-05-26 Thread Alexander Motin
Author: mav Date: Thu May 26 09:23:01 2011 New Revision: 222304 URL: http://svn.freebsd.org/changeset/base/222304 Log: Marvell 88SE91xx controllers are known to report soft-reset completion without waiting for device readiness (or at least not updating FIS receive area in time). To workaroun

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

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 09:22:59 2011 New Revision: 222303 URL: http://svn.freebsd.org/changeset/base/222303 Log: Fix a bad merge from a previous commit. Modified: head/sys/dev/ath/ath_hal/ah_eeprom_9287.c Modified: head/sys/dev/ath/ath_hal/ah_eeprom_9287.c ==

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

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 09:16:09 2011 New Revision: 222302 URL: http://svn.freebsd.org/changeset/base/222302 Log: Merlin -> Kiwi Modified: head/sys/dev/ath/ath_hal/ah_devid.h Modified: head/sys/dev/ath/ath_hal/ah_devid.h ===

svn commit: r222301 - in head/sys/dev/ath/ath_hal: ar5416 ar9002

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 09:15:33 2011 New Revision: 222301 URL: http://svn.freebsd.org/changeset/base/222301 Log: Bring over my AR9287 work in progress. It isn't linked into the build because it's missing the TX power and PDADC programming code. This code is mostly based on t

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

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 08:35:47 2011 New Revision: 222300 URL: http://svn.freebsd.org/changeset/base/222300 Log: AR9287 prep work: * Add PCI/PCIE devids * Add AR9287/Kiwi version check macros * AR_SREV_9287 -> AR_SREV_KIWI Obtained from:Atheros, ath9k Modified:

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

2011-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 08:20:14 2011 New Revision: 99 URL: http://svn.freebsd.org/changeset/base/99 Log: Add temp sense to the EEPROM variable list; Export the temperature sense variables to ah_eeprom_9287.c Modified: head/sys/dev/ath/ath_hal/ah_eeprom.h head/sys/dev/ath/