svn commit: r248865 - head/sys/mips/atheros

2013-03-29 Thread Adrian Chadd
Author: adrian Date: Fri Mar 29 06:31:31 2013 New Revision: 248865 URL: http://svnweb.freebsd.org/changeset/base/248865 Log: Print out the platform reference frequency. This is useful for AR933x platforms where that matters. Modified: head/sys/mips/atheros/ar71xx_machdep.c Modified:

svn commit: r248866 - head/sys/mips/atheros

2013-03-29 Thread Adrian Chadd
Author: adrian Date: Fri Mar 29 06:32:02 2013 New Revision: 248866 URL: http://svnweb.freebsd.org/changeset/base/248866 Log: * Fix clock register definitions * Add maximum clock register values Modified: head/sys/mips/atheros/ar933x_uart.h Modified: head/sys/mips/atheros/ar933x_uart.h

svn commit: r248867 - head/sys/mips/atheros

2013-03-29 Thread Adrian Chadd
Author: adrian Date: Fri Mar 29 06:32:39 2013 New Revision: 248867 URL: http://svnweb.freebsd.org/changeset/base/248867 Log: For the AR933x UART, the serial clock is not the AHB clock, it's the reference clock. So use that instead. Modified: head/sys/mips/atheros/uart_bus_ar933x.c

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

2013-03-29 Thread Alexander Motin
Author: mav Date: Fri Mar 29 07:50:47 2013 New Revision: 248868 URL: http://svnweb.freebsd.org/changeset/base/248868 Log: Implement CAM_PERIPH_FOREACH() macro, safely iterating over the list of driver's periphs, acquiring and releaseing periph references while doing it. Use it to iterate

svn commit: r248870 - head/bin/sh

2013-03-29 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Mar 29 08:12:09 2013 New Revision: 248870 URL: http://svnweb.freebsd.org/changeset/base/248870 Log: Minor mdoc fix. Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1 == ---

Re: svn commit: r248836 - head/gnu/usr.bin/gdb/kgdb

2013-03-29 Thread Gleb Smirnoff
On Thu, Mar 28, 2013 at 05:04:59PM +, Will Andrews wrote: W Author: will W Date: Thu Mar 28 17:04:59 2013 W New Revision: 248836 W URL: http://svnweb.freebsd.org/changeset/base/248836 W W Log: W KGDB: Allow modules to be loaded from the specified kernel's directory. W W When looking up

svn commit: r248871 - head/lib/libpmc

2013-03-29 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Mar 29 08:32:49 2013 New Revision: 248871 URL: http://svnweb.freebsd.org/changeset/base/248871 Log: Remove EOL whitespace. Modified: head/lib/libpmc/pmc.haswell.3 head/lib/libpmc/pmc.haswelluc.3 Modified: head/lib/libpmc/pmc.haswell.3

svn commit: r248872 - in head/sys/cam: ata scsi

2013-03-29 Thread Alexander Motin
Author: mav Date: Fri Mar 29 08:33:18 2013 New Revision: 248872 URL: http://svnweb.freebsd.org/changeset/base/248872 Log: Make pre-shutdown flush and spindown routines to not use xpt_polled_action(), but execute the commands in regular way. There is no any reason to cook CPU while the

Re: svn commit: r248856 - head/share/mk

2013-03-29 Thread Roman Divacky
Thank you for all the work you've done to make this possible! Hopefully other archs (powerpc and mips?) will follow soon. On Thu, Mar 28, 2013 at 10:49:49PM +, Andrew Turner wrote: Author: andrew Date: Thu Mar 28 22:49:49 2013 New Revision: 248856 URL:

svn commit: r248874 - head/sys/cam

2013-03-29 Thread Marius Strobl
Author: marius Date: Fri Mar 29 11:53:20 2013 New Revision: 248874 URL: http://svnweb.freebsd.org/changeset/base/248874 Log: Unbreak compilation after r248868. Modified: head/sys/cam/cam_periph.h Modified: head/sys/cam/cam_periph.h

svn commit: r248879 - in stable/9/sys: kern sys

2013-03-29 Thread Konstantin Belousov
Author: kib Date: Fri Mar 29 13:17:34 2013 New Revision: 248879 URL: http://svnweb.freebsd.org/changeset/base/248879 Log: MFC r248319: Merge vn_io_fault_pgmove(). Modified: stable/9/sys/kern/vfs_vnops.c stable/9/sys/sys/vnode.h Directory Properties: stable/9/sys/ (props changed)

svn commit: r248880 - stable/8/sys/kern

2013-03-29 Thread Tijl Coosemans
Author: tijl Date: Fri Mar 29 13:23:43 2013 New Revision: 248880 URL: http://svnweb.freebsd.org/changeset/base/248880 Log: MFC r248256: - Fix two possible overflows when testing if ELF program headers are on the first page: 1. Cast uint16_t operands in a multiplication to unsigned

svn commit: r248881 - stable/9/sys/kern

2013-03-29 Thread Konstantin Belousov
Author: kib Date: Fri Mar 29 13:24:19 2013 New Revision: 248881 URL: http://svnweb.freebsd.org/changeset/base/248881 Log: MFC r248325: Add my copyright for the 2012 year work, in particular vn_io_fault() and f_offset locking. Add required Foundation notice for r248319. MFC r248329:

svn commit: r248882 - head/sys/netgraph

2013-03-29 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 29 13:51:01 2013 New Revision: 248882 URL: http://svnweb.freebsd.org/changeset/base/248882 Log: Non-functional cleanup of ng_ksocket_incoming2(). Modified: head/sys/netgraph/ng_ksocket.c Modified: head/sys/netgraph/ng_ksocket.c

svn commit: r248883 - head/sys/netgraph

2013-03-29 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 29 13:53:14 2013 New Revision: 248883 URL: http://svnweb.freebsd.org/changeset/base/248883 Log: Whitespace. Modified: head/sys/netgraph/ng_ksocket.c Modified: head/sys/netgraph/ng_ksocket.c

svn commit: r248884 - head/sys/kern

2013-03-29 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 29 13:57:55 2013 New Revision: 248884 URL: http://svnweb.freebsd.org/changeset/base/248884 Log: When soreceive_generic() hands off an mbuf from buffer, clear its pointer to next record, since next record belongs to the buffer, and shouldn't be leaked. The

svn commit: r248885 - head/sys/netgraph

2013-03-29 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 29 14:04:26 2013 New Revision: 248885 URL: http://svnweb.freebsd.org/changeset/base/248885 Log: Revamp mbuf handling in ng_ksocket_incoming2(): - Clear code that workarounded a bug in FreeBSD 3, and even predated import of netgraph(4). - Clear workaround

svn commit: r248886 - head/sys/kern

2013-03-29 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 29 14:06:04 2013 New Revision: 248886 URL: http://svnweb.freebsd.org/changeset/base/248886 Log: Once ng_ksocket(4) is fixed, re-apply r194662. See this revision for longer description. Discussed with: andre, rwatson Sponsored by: Nginx, Inc.

svn commit: r248887 - head/sys/kern

2013-03-29 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 29 14:10:40 2013 New Revision: 248887 URL: http://svnweb.freebsd.org/changeset/base/248887 Log: Fix bug in m_split() in a case when split len matches len of the first mbuf, and the first mbuf is M_PKTHDR. PR: kern/176144 Submitted by: Jacques

svn commit: r248888 - stable/9/release/doc/en_US.ISO8859-1/hardware

2013-03-29 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Fri Mar 29 14:18:49 2013 New Revision: 24 URL: http://svnweb.freebsd.org/changeset/base/24 Log: MFC r248857: - Update hardware notes to reflect that amd64 is no longer young - Bump copyright year Modified:

svn commit: r248889 - stable/8/release/doc/en_US.ISO8859-1/hardware

2013-03-29 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Fri Mar 29 14:18:56 2013 New Revision: 248889 URL: http://svnweb.freebsd.org/changeset/base/248889 Log: MFC r248857: - Update hardware notes to reflect that amd64 is no longer young - Bump copyright year Modified:

svn commit: r248891 - head/sys/kern

2013-03-29 Thread Jim Harris
Author: jimharris Date: Fri Mar 29 15:51:45 2013 New Revision: 248891 URL: http://svnweb.freebsd.org/changeset/base/248891 Log: Pass correct parameter to CTR5() in bus_dmamap_load_uio. Sponsored by: Intel Modified: head/sys/kern/subr_bus_dma.c Modified: head/sys/kern/subr_bus_dma.c

svn commit: r248892 - head/sys/kern

2013-03-29 Thread Jim Harris
Author: jimharris Date: Fri Mar 29 15:54:12 2013 New Revision: 248892 URL: http://svnweb.freebsd.org/changeset/base/248892 Log: Do not add 1 to nsegs before passing to CTR5(), since nsegs has already been incremented before these calls. Sponsored by: Intel Modified:

svn commit: r248893 - head/sys/kern

2013-03-29 Thread Jim Harris
Author: jimharris Date: Fri Mar 29 16:00:16 2013 New Revision: 248893 URL: http://svnweb.freebsd.org/changeset/base/248893 Log: Add CTR5() to bus_dmamap_load_ccb, similar to other bus_dmamap_load_* functions. Sponsored by: Intel Modified: head/sys/kern/subr_bus_dma.c Modified:

svn commit: r248895 - stable/9/sys/net

2013-03-29 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Mar 29 16:24:20 2013 New Revision: 248895 URL: http://svnweb.freebsd.org/changeset/base/248895 Log: Merge 248070. Fix long-standing issue with interface routes being unprotected: Use RTM_PINNED flag to mark route as immutable. Forbid deleting immutable routes

svn commit: r248896 - in head/sys: kern sys

2013-03-29 Thread Jim Harris
Author: jimharris Date: Fri Mar 29 16:26:25 2013 New Revision: 248896 URL: http://svnweb.freebsd.org/changeset/base/248896 Log: Add bus_dmamap_load_bio for non-CAM disk drivers that wish to enable unmapped I/O. Sponsored by: Intel Reviewed by: kib Modified:

svn commit: r248899 - head/sys/arm/at91

2013-03-29 Thread Ian Lepore
Author: ian Date: Fri Mar 29 17:57:24 2013 New Revision: 248899 URL: http://svnweb.freebsd.org/changeset/base/248899 Log: Remove a really noisy printf left over from debugging hardware errata. Modified: head/sys/arm/at91/at91_mci.c Modified: head/sys/arm/at91/at91_mci.c

svn commit: r248901 - head/sys/dev/ixgbe

2013-03-29 Thread Jack F Vogel
Author: jfv Date: Fri Mar 29 18:03:00 2013 New Revision: 248901 URL: http://svnweb.freebsd.org/changeset/base/248901 Log: Two small fixes: Set promiscuous code was unconditionally turning off multicast when turning off promiscuous mode, this should only be done when there are less

svn commit: r248902 - head/sys/arm/at91

2013-03-29 Thread Ian Lepore
Author: ian Date: Fri Mar 29 18:06:54 2013 New Revision: 248902 URL: http://svnweb.freebsd.org/changeset/base/248902 Log: Fix a typo: the RXD0 pin is PA18, not PA19. Modified: head/sys/arm/at91/at91rm9200_devices.c Modified: head/sys/arm/at91/at91rm9200_devices.c

svn commit: r248904 - head/sys/arm/at91

2013-03-29 Thread Ian Lepore
Author: ian Date: Fri Mar 29 18:17:51 2013 New Revision: 248904 URL: http://svnweb.freebsd.org/changeset/base/248904 Log: Redo the workaround for at91rm9200 erratum #26 in a way that doesn't cause a lockup on some rm92 hardware. Modified: head/sys/arm/at91/at91_pmc.c Modified:

svn commit: r248906 - in head/sys: dev/e1000 modules/igb

2013-03-29 Thread Jack F Vogel
Author: jfv Date: Fri Mar 29 18:25:45 2013 New Revision: 248906 URL: http://svnweb.freebsd.org/changeset/base/248906 Log: Change defines in the igb driver to allow an easier selection of the older if_start/non-multiqueue interface from the stack. This is not the default, but can be turned

svn commit: r248907 - head/sys/arm/include

2013-03-29 Thread Ian Lepore
Author: ian Date: Fri Mar 29 18:43:10 2013 New Revision: 248907 URL: http://svnweb.freebsd.org/changeset/base/248907 Log: Add a couple forward declarations, so that board support routines don't have to pre-include a bunch of header files they don't need just to use this one. Modified:

svn commit: r248908 - head/sys/dev/e1000

2013-03-29 Thread Jack F Vogel
Author: jfv Date: Fri Mar 29 18:46:13 2013 New Revision: 248908 URL: http://svnweb.freebsd.org/changeset/base/248908 Log: Change the define in the header to eliminate unnecessary data when using LEGACY TX. Modified: head/sys/dev/e1000/if_igb.h Modified: head/sys/dev/e1000/if_igb.h

svn commit: r248909 - head/sys/arm/at91

2013-03-29 Thread Ian Lepore
Author: ian Date: Fri Mar 29 18:47:08 2013 New Revision: 248909 URL: http://svnweb.freebsd.org/changeset/base/248909 Log: Call soc_info.soc_data-soc_clock_init() before at91_pmc_init_clock(), so that the latter correctly fills in the clock data structures based on proper hardware-specific

svn commit: r248910 - head/sys/arm/at91

2013-03-29 Thread Ian Lepore
Author: ian Date: Fri Mar 29 19:04:18 2013 New Revision: 248910 URL: http://svnweb.freebsd.org/changeset/base/248910 Log: Change the API for at91_pio_gpio_get() to return the entire masked set of bits, not just a 0/1 indicating whether any of the masked bits are on. This is compatible with

svn commit: r248911 - in head/sys/arm: at91 include

2013-03-29 Thread Ian Lepore
Author: ian Date: Fri Mar 29 19:52:57 2013 New Revision: 248911 URL: http://svnweb.freebsd.org/changeset/base/248911 Log: Add userland access to at91 gpio functionality via ioctl calls. Also, add the ability for userland to be notified of changes on gpio pins via a select(2)/read(2)

svn commit: r248912 - head/sys/mips/conf

2013-03-29 Thread Adrian Chadd
Author: adrian Date: Fri Mar 29 20:07:51 2013 New Revision: 248912 URL: http://svnweb.freebsd.org/changeset/base/248912 Log: Disable this; it's a local option that I haven't yet committed to -HEAD. Modified: head/sys/mips/conf/AR933X_BASE Modified: head/sys/mips/conf/AR933X_BASE

svn commit: r248913 - head/sys/dev/nvme

2013-03-29 Thread Jim Harris
Author: jimharris Date: Fri Mar 29 20:34:28 2013 New Revision: 248913 URL: http://svnweb.freebsd.org/changeset/base/248913 Log: Add type to nvme_request, signifying if its payload is a VADDR, UIO, or NULL. This simplifies decisions around if/how requests are routed through busdma. It also

svn commit: r248914 - head/sys/netinet

2013-03-29 Thread Ed Maste
Author: emaste Date: Fri Mar 29 20:51:44 2013 New Revision: 248914 URL: http://svnweb.freebsd.org/changeset/base/248914 Log: Keep fwd_tag around for subsequent pcb lookups For TIMEWAIT handling tcp_input may have to jump back for an additional pass through pcblookup. Prior to this

svn commit: r248915 - stable/9/crypto/openssh

2013-03-29 Thread Dag-Erling Smørgrav
Author: des Date: Fri Mar 29 21:08:20 2013 New Revision: 248915 URL: http://svnweb.freebsd.org/changeset/base/248915 Log: Remove (harmless) duplicate entry for VersionAddendum. Noticed by: dim@ MFC after:1 week Modified: stable/9/crypto/openssh/servconf.c Modified:

svn commit: r248916 - svnadmin/conf

2013-03-29 Thread Kenneth D. Merry
Author: ken Date: Fri Mar 29 21:09:00 2013 New Revision: 248916 URL: http://svnweb.freebsd.org/changeset/base/248916 Log: Release Will into the wild. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors

svn commit: r248919 - releng/8.4/release/doc/en_US.ISO8859-1/hardware

2013-03-29 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Fri Mar 29 21:26:33 2013 New Revision: 248919 URL: http://svnweb.freebsd.org/changeset/base/248919 Log: MFC r248857: - Update hardware notes to reflect that amd64 is no longer young - Bump copyright year Approved by: re (delphij) Modified:

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

2013-03-29 Thread Steven Hartland
Author: smh Date: Fri Mar 29 22:58:15 2013 New Revision: 248922 URL: http://svnweb.freebsd.org/changeset/base/248922 Log: Adds the ability to enable / disable sorting of BIO requests queued within CAM. This can significantly improve performance particularly for SSDs which don't suffer from

svn commit: r248923 - in stable/8/sys: . amd64/amd64 dev/sound i386/i386 ufs/ffs

2013-03-29 Thread Kirk McKusick
Author: mckusick Date: Sat Mar 30 00:22:26 2013 New Revision: 248923 URL: http://svnweb.freebsd.org/changeset/base/248923 Log: MFC of 246289: For UFS2 i_blocks is unsigned. The current sanity check that it has gone below zero after the blocks in its inode are freed is a no-op which the

svn commit: r248924 - in stable/8/sbin: fsck_ffs fsdb

2013-03-29 Thread Kirk McKusick
Author: mckusick Date: Sat Mar 30 00:33:46 2013 New Revision: 248924 URL: http://svnweb.freebsd.org/changeset/base/248924 Log: MFC of 246812 and 246823: MFC 246812: Update fsck_ffs buffer cache manager to use TAILQ macros. No functional changes. MFC 246823: Remove write

svn commit: r248925 - in head: sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/tom sys/modules/cxgbe sys/modules/cxgbe/firmware sys/modules/cxgbe/t4_firmware tools/tools/cxgbetool

2013-03-29 Thread Navdeep Parhar
Author: np Date: Sat Mar 30 02:26:20 2013 New Revision: 248925 URL: http://svnweb.freebsd.org/changeset/base/248925 Log: cxgbe(4): Add support for Chelsio's Terminator 5 (aka T5) ASIC. This includes support for the NIC and TOE features of the 40G, 10G, and 1G/100M cards based on the T5.

svn commit: r248926 - head/sys/mips/atheros

2013-03-29 Thread Adrian Chadd
Author: adrian Date: Sat Mar 30 04:13:47 2013 New Revision: 248926 URL: http://svnweb.freebsd.org/changeset/base/248926 Log: AR933x UART updates: * Default clock is 25MHz; * Remove the UART register macro here - it's not needed as we don't need to adjust the register offset / spacing

svn commit: r248927 - head/sys/mips/atheros

2013-03-29 Thread Adrian Chadd
Author: adrian Date: Sat Mar 30 04:31:29 2013 New Revision: 248927 URL: http://svnweb.freebsd.org/changeset/base/248927 Log: AR933x CPU device improvements: * Add baud rate and divisor programming code. See below for more information. * Flesh out ar933x_init() to disable