svn commit: r220558 - in head/sys: arm/econa dev/usb/controller mips/atheros mips/rmi

2011-04-12 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 12 07:49:11 2011 New Revision: 220558 URL: http://svn.freebsd.org/changeset/base/220558 Log: We don't need to call EOWRITE4(sc, EHCI_USBINTR, 0) directly from each EHCI bus driver at detach, hence ehci_detach() does exactly this since r199718. Submitted by:

svn commit: r220559 - in head/sys: conf geom

2011-04-12 Thread Adrian Chadd
Author: adrian Date: Tue Apr 12 08:10:25 2011 New Revision: 220559 URL: http://svn.freebsd.org/changeset/base/220559 Log: Introduce geom_map, a GEOM provider designed for use by embedded flash stores. Some devices - notably those with uboot - don't have an explicit partition table (eg

svn commit: r220560 - in head: share/man/man4 share/man/man9 sys/kern sys/netinet sys/netinet/cc sys/netinet/khelp sys/sys

2011-04-12 Thread Lawrence Stewart
Author: lstewart Date: Tue Apr 12 08:13:18 2011 New Revision: 220560 URL: http://svn.freebsd.org/changeset/base/220560 Log: Use the full and proper company name for Swinburne University of Technology throughout the source tree. Requested by: Grenville Armitage, Director of CAIA at

svn commit: r220561 - stable/8/usr.bin/limits

2011-04-12 Thread Sergey Kandaurov
Author: pluknet Date: Tue Apr 12 08:54:49 2011 New Revision: 220561 URL: http://svn.freebsd.org/changeset/base/220561 Log: MFC r220358: Document -w for swapuse. PR: docs/156089 Submitted by: Andrey Ignatov rdna att rdna.ru Modified: stable/8/usr.bin/limits/limits.1

svn commit: r220562 - stable/7/sys/geom/eli

2011-04-12 Thread Mikolaj Golub
Author: trociny Date: Tue Apr 12 09:36:38 2011 New Revision: 220562 URL: http://svn.freebsd.org/changeset/base/220562 Log: MFC r220299: In g_eli_read_done() and g_eli_write_done(), for a bio with bio_children 1, g_destroy_bio() is never called and the bio leaks. Fix this by calling

svn commit: r220563 - head/sys/dev/ata

2011-04-12 Thread Alexander Motin
Author: mav Date: Tue Apr 12 09:55:24 2011 New Revision: 220563 URL: http://svn.freebsd.org/changeset/base/220563 Log: Implement automatic SCSI sense fetching for ata(4) in ATA_CAM mode. While it could be successfully done by CAM error recovery code, I was told by several people that it is

svn commit: r220564 - stable/8/sys/netinet

2011-04-12 Thread Bjoern A. Zeeb
Author: bz Date: Tue Apr 12 11:17:46 2011 New Revision: 220564 URL: http://svn.freebsd.org/changeset/base/220564 Log: MFC r212502 (qingli): Adding an address on an interface also requires the loopback route to that address be installed. Submitted by: Ingo Flaschberger if

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

2011-04-12 Thread Alexander Motin
Author: mav Date: Tue Apr 12 11:24:59 2011 New Revision: 220565 URL: http://svn.freebsd.org/changeset/base/220565 Log: Implement automatic SCSI sense fetching for ahci(4). Modified: head/sys/dev/ahci/ahci.c head/sys/dev/ahci/ahci.h Modified: head/sys/dev/ahci/ahci.c

svn commit: r220566 - head/sys/dev/siis

2011-04-12 Thread Alexander Motin
Author: mav Date: Tue Apr 12 11:29:15 2011 New Revision: 220566 URL: http://svn.freebsd.org/changeset/base/220566 Log: Implement automatic SCSI sense fetching for siis(4). Fix device freeze leak on recovery request (READ LOG, REQUEST SENSE) failure. Modified: head/sys/dev/siis/siis.c

Re: svn commit: r220558 - in head/sys: arm/econa dev/usb/controller mips/atheros mips/rmi

2011-04-12 Thread Nathan Whitehorn
On 04/12/11 02:49, Hans Petter Selasky wrote: Author: hselasky Date: Tue Apr 12 07:49:11 2011 New Revision: 220558 URL: http://svn.freebsd.org/changeset/base/220558 Log: We don't need to call EOWRITE4(sc, EHCI_USBINTR, 0) directly from each EHCI bus driver at detach, hence ehci_detach()

svn commit: r220567 - head/share/man/man7

2011-04-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Apr 12 12:57:46 2011 New Revision: 220567 URL: http://svn.freebsd.org/changeset/base/220567 Log: Update some terminology: floppies are no longer built, and FreeBSD is not necessarily distributed by CVS any longer. Modified: head/share/man/man7/release.7

Re: svn commit: r220558 - in head/sys: arm/econa dev/usb/controller mips/atheros mips/rmi

2011-04-12 Thread Hans Petter Selasky
On Tuesday 12 April 2011 14:39:19 Nathan Whitehorn wrote: On 04/12/11 02:49, Hans Petter Selasky wrote: Author: hselasky Date: Tue Apr 12 07:49:11 2011 New Revision: 220558 URL: http://svn.freebsd.org/changeset/base/220558 Log: We don't need to call EOWRITE4(sc, EHCI_USBINTR, 0)

Re: svn commit: r220558 - in head/sys: arm/econa dev/usb/controller mips/atheros mips/rmi

2011-04-12 Thread Nathan Whitehorn
On 04/12/11 07:57, Hans Petter Selasky wrote: On Tuesday 12 April 2011 14:39:19 Nathan Whitehorn wrote: On 04/12/11 02:49, Hans Petter Selasky wrote: Author: hselasky Date: Tue Apr 12 07:49:11 2011 New Revision: 220558 URL: http://svn.freebsd.org/changeset/base/220558 Log: We don't need

svn commit: r220568 - head/sys/netinet/ipfw

2011-04-12 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 12 15:20:34 2011 New Revision: 220568 URL: http://svn.freebsd.org/changeset/base/220568 Log: Restore previous behaviour - always match rule when we doing tagging, even when tag is already exists. Reported by: Vadim Goncharov MFC after:1 week Modified:

svn commit: r220569 - head/sys/dev/mvs

2011-04-12 Thread Alexander Motin
Author: mav Date: Tue Apr 12 16:01:27 2011 New Revision: 220569 URL: http://svn.freebsd.org/changeset/base/220569 Log: Implement automatic SCSI sense fetching for mvs(4). Make few improvements/changes to ATAPI PIO support to pass most of scgcheck (cdrtools) tests. Modified:

svn commit: r220570 - stable/8/sys/fs/devfs

2011-04-12 Thread Jaakko Heinonen
Author: jh Date: Tue Apr 12 16:43:29 2011 New Revision: 220570 URL: http://svn.freebsd.org/changeset/base/220570 Log: MFC r216391: Handle the special ruleset 0 in devfs_ruleset_use(). An attempt set the current ruleset to 0 with command devfs ruleset 0 triggered a KASSERT in

svn commit: r220571 - stable/7/sys/fs/devfs

2011-04-12 Thread Jaakko Heinonen
Author: jh Date: Tue Apr 12 16:52:05 2011 New Revision: 220571 URL: http://svn.freebsd.org/changeset/base/220571 Log: MFC r216391: Handle the special ruleset 0 in devfs_ruleset_use(). An attempt set the current ruleset to 0 with command devfs ruleset 0 triggered a KASSERT in

Re: svn commit: r220559 - in head/sys: conf geom

2011-04-12 Thread Andrew Thompson
On 12 April 2011 20:10, Adrian Chadd adr...@freebsd.org wrote: Author: adrian Date: Tue Apr 12 08:10:25 2011 New Revision: 220559 URL: http://svn.freebsd.org/changeset/base/220559 Log:  Introduce geom_map, a GEOM provider designed for use by  embedded flash stores.  Some devices -

svn commit: r220573 - head/sbin/hastd

2011-04-12 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Apr 12 19:13:10 2011 New Revision: 220573 URL: http://svn.freebsd.org/changeset/base/220573 Log: The replication mode that is currently support is fullsync, not memsync. Correct this and print a warning if different replication mode is configured. MFC after:1

svn commit: r220574 - head/bin/ps

2011-04-12 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Apr 12 20:10:15 2011 New Revision: 220574 URL: http://svn.freebsd.org/changeset/base/220574 Log: Get rid of DSIZ; instead just call the sizing function if provided. Modified: head/bin/ps/keyword.c head/bin/ps/ps.c head/bin/ps/ps.h Modified: head/bin/ps/keyword.c

svn commit: r220575 - head/cddl/contrib/opensolaris/lib/libzfs/common

2011-04-12 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Apr 12 20:31:33 2011 New Revision: 220575 URL: http://svn.freebsd.org/changeset/base/220575 Log: Fix 'zfs list path' handling. If the path was found, the 'ret' variable was uninitialized. PR: kern/155940 Submitted by: KOIE Hidetaka k...@suri.co.jp MFC

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

2011-04-12 Thread Alexander Motin
Author: mav Date: Tue Apr 12 20:50:57 2011 New Revision: 220576 URL: http://svn.freebsd.org/changeset/base/220576 Log: Refactor hard-reset implementation in ahci(4). Instead of spinning in a tight loop for up to 15 seconds, polling for device readiness while it spins up, return reset

Re: svn commit: r220576 - head/sys/dev/ahci

2011-04-12 Thread Alexander Motin
Dmitry Morozovsky wrote: On Tue, 12 Apr 2011, Alexander Motin wrote: AM Author: mav AM Date: Tue Apr 12 20:50:57 2011 AM New Revision: 220576 AM URL: http://svn.freebsd.org/changeset/base/220576 AM AM Log: AM Refactor hard-reset implementation in ahci(4). AM AM Instead of

Re: svn commit: r220576 - head/sys/dev/ahci

2011-04-12 Thread Dmitry Morozovsky
On Tue, 12 Apr 2011, Alexander Motin wrote: AM Author: mav AM Date: Tue Apr 12 20:50:57 2011 AM New Revision: 220576 AM URL: http://svn.freebsd.org/changeset/base/220576 AM AM Log: AM Refactor hard-reset implementation in ahci(4). AM AM Instead of spinning in a tight loop for up to 15

svn commit: r220577 - head/sys/x86/x86

2011-04-12 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 12 21:08:34 2011 New Revision: 220577 URL: http://svn.freebsd.org/changeset/base/220577 Log: Add a new tunable 'machdep.disable_tsc_calibration' to allow skipping TSC frequency calibration. For Intel processors, if brand string from CPUID contains its nominal

svn commit: r220578 - in head/sys: amd64/include i386/include

2011-04-12 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 12 22:12:23 2011 New Revision: 220578 URL: http://svn.freebsd.org/changeset/base/220578 Log: Add definitions for CPUID instruction 6, ECX information. Modified: head/sys/amd64/include/specialreg.h head/sys/i386/include/specialreg.h Modified:

svn commit: r220579 - in head/sys: amd64/amd64 i386/i386 x86/x86

2011-04-12 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 12 22:15:46 2011 New Revision: 220579 URL: http://svn.freebsd.org/changeset/base/220579 Log: Probe capability to find effective frequency. When the TSC is P-state invariant, APERF/MPERF ratio can be used to find effective frequency. Modified:

svn commit: r220580 - in head/sys: amd64/include i386/include

2011-04-12 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 12 22:22:01 2011 New Revision: 220580 URL: http://svn.freebsd.org/changeset/base/220580 Log: Add forgotten declarations for tsc_perf_stat from the previous commit. Modified: head/sys/amd64/include/clock.h head/sys/i386/include/clock.h Modified:

svn commit: r220581 - head/sys/x86/isa

2011-04-12 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 12 22:41:52 2011 New Revision: 220581 URL: http://svn.freebsd.org/changeset/base/220581 Log: Do not use TSC for DELAY(9) if it not P-state invariant to avoid possible foot-shooting. DELAY() becomes unreliable when TSC frequency varies wildly, especially

svn commit: r220582 - head/lib/libutil

2011-04-12 Thread Xin LI
Author: delphij Date: Tue Apr 12 22:48:03 2011 New Revision: 220582 URL: http://svn.freebsd.org/changeset/base/220582 Log: Add support for IEE/IEC (and now also SI) power of two notions of prefixes (Ki, Mi, Gi...) for humanize_number(3). Note that applications has to pass HN_IEC_PREFIXES

svn commit: r220583 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2011-04-12 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 12 23:04:01 2011 New Revision: 220583 URL: http://svn.freebsd.org/changeset/base/220583 Log: Reinstate cpu_est_clockrate() support for P-state invariant TSC if APERF and MPERF MSRs are available. It was disabled in r216443. Remove the earlier hack to subtract

svn commit: r220584 - in head/sys: amd64/amd64 i386/i386

2011-04-12 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 12 23:49:07 2011 New Revision: 220584 URL: http://svn.freebsd.org/changeset/base/220584 Log: Reduce errors in effective frequency calculation. Modified: head/sys/amd64/amd64/machdep.c head/sys/i386/i386/machdep.c Modified: head/sys/amd64/amd64/machdep.c

svn commit: r220585 - head/sys/rpc

2011-04-12 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 13 00:03:49 2011 New Revision: 220585 URL: http://svn.freebsd.org/changeset/base/220585 Log: Fix a couple of mbuf leaks introduced by r217242. I do not believe that these leaks had a practical impact, since the situations in which they would have occurred

svn commit: r220586 - head/usr.sbin/lpr/common_source

2011-04-12 Thread Garance A Drosehn
Author: gad Date: Wed Apr 13 00:36:19 2011 New Revision: 220586 URL: http://svn.freebsd.org/changeset/base/220586 Log: - Fix the code that matches userids in match_jobspec(). It needs to check the username-for-accounting field (P), not the username-for-headerpage (L). These are usually

svn commit: r220587 - in head/sys: conf dev/ath/ath_hal/ar9002 modules/ath

2011-04-12 Thread Adrian Chadd
Author: adrian Date: Wed Apr 13 02:40:45 2011 New Revision: 220587 URL: http://svn.freebsd.org/changeset/base/220587 Log: Add the initial AR9285 PHY glue for supporting antenna diversity. This code isn't currently used anywhere; it's just linked into the build. Added:

Re: svn commit: r220559 - in head/sys: conf geom

2011-04-12 Thread Adrian Chadd
On 13 April 2011 02:18, Andrew Thompson thom...@freebsd.org wrote: +struct map_desc { + uint8_t name [16];/* null-terminated name */ + uint32_toffset; /* offset in flash */ + uint32_taddr; /* address in memory */ + uint32_t

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

2011-04-12 Thread Adrian Chadd
Author: adrian Date: Wed Apr 13 03:05:15 2011 New Revision: 220588 URL: http://svn.freebsd.org/changeset/base/220588 Log: Add OS_REG_RMW, which mirrors ath9k's REG_RMW. This macro does a read-modify-write pass with register bits to set and clear. Modified:

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

2011-04-12 Thread Adrian Chadd
Author: adrian Date: Wed Apr 13 03:05:42 2011 New Revision: 220589 URL: http://svn.freebsd.org/changeset/base/220589 Log: Add new fields to the v4k EEPROM modal header. Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v4k.h Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v4k.h

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

2011-04-12 Thread Adrian Chadd
Author: adrian Date: Wed Apr 13 04:40:59 2011 New Revision: 220590 URL: http://svn.freebsd.org/changeset/base/220590 Log: Port over a TX gain fix from ath9k specific to the AR9285 (Kite) and AR9271. Note: this HAL currently only supports the AR9285. From Linux ath9k: The problem is