svn commit: r250138 - in head/sys/mips: include mips

2013-04-30 Thread Warner Losh
Author: imp Date: Wed May 1 06:57:46 2013 New Revision: 250138 URL: http://svnweb.freebsd.org/changeset/base/250138 Log: Don't include asm.h in non-asm files. Remove #define to get kludges that asm.h used to define Move clever macros to access assembler instructions to trap.c Remove __ASS

svn commit: r250137 - head/sys/mips/mips

2013-04-30 Thread Warner Losh
Author: imp Date: Wed May 1 06:55:13 2013 New Revision: 250137 URL: http://svnweb.freebsd.org/changeset/base/250137 Log: Remove asm.h dependency in a hackish way. Fixed comment. Modified: head/sys/mips/mips/vm_machdep.c Modified: head/sys/mips/mips/vm_machdep.c ===

svn commit: r250136 - head/sys/mips/include

2013-04-30 Thread Warner Losh
Author: imp Date: Wed May 1 06:22:50 2013 New Revision: 250136 URL: http://svnweb.freebsd.org/changeset/base/250136 Log: Import NetBSD's version, which is perfectly fine. Submitted by: jmallet@ Modified: head/sys/mips/include/regdef.h Modified: head/sys/mips/include/regdef.h ==

Re: svn commit: r250134 - head/sys/mips/include

2013-04-30 Thread Warner Losh
On Apr 30, 2013, at 11:55 PM, Juli Mallett wrote: > Warner, > > May I ask why you're bringing in the 4.4BSD version and not the NetBSD > version, which already contained the appropriate ABI gunk? Do we > really need to duplicate their work improving the file since 4.4BSD? The NetBSD version di

Re: svn commit: r250134 - head/sys/mips/include

2013-04-30 Thread Juli Mallett
Warner, May I ask why you're bringing in the 4.4BSD version and not the NetBSD version, which already contained the appropriate ABI gunk? Do we really need to duplicate their work improving the file since 4.4BSD? Thanks, Juli. On Tue, Apr 30, 2013 at 10:46 PM, Warner Losh wrote: > Author: imp

svn commit: r250135 - head/sys/mips/include

2013-04-30 Thread Warner Losh
Author: imp Date: Wed May 1 05:48:32 2013 New Revision: 250135 URL: http://svnweb.freebsd.org/changeset/base/250135 Log: Add the standard #ifdef header protection. Modified: head/sys/mips/include/regdef.h Modified: head/sys/mips/include/regdef.h =

svn commit: r250134 - head/sys/mips/include

2013-04-30 Thread Warner Losh
Author: imp Date: Wed May 1 05:46:54 2013 New Revision: 250134 URL: http://svnweb.freebsd.org/changeset/base/250134 Log: Import virgin regdef.h from 4.4 Lite 2's sys/pmax/include/regdef.h, expand the %sccs.include.redist.c% directive with the standard 3-clause license, and add $FreeBSD$ to

svn commit: r250133 - head/usr.sbin/config

2013-04-30 Thread Wojciech A. Koszek
Author: wkoszek Date: Wed May 1 05:14:59 2013 New Revision: 250133 URL: http://svnweb.freebsd.org/changeset/base/250133 Log: Make the internal assertion correct--only fail when '\0' is found in places other than the end of the test section. Otherwise, with kernel compiled with Clang which h

svn commit: r250132 - head/sys/contrib/octeon-sdk

2013-04-30 Thread Eitan Adler
Author: eadler Date: Wed May 1 04:37:45 2013 New Revision: 250132 URL: http://svnweb.freebsd.org/changeset/base/250132 Log: Fix incorrect sizeof() in bzero() Submitted by: swild...@dragonflybsd.org Reviewed by: alfred, jmallett Modified: head/sys/contrib/octeon-sdk/cvmx-usbd.c Modif

svn commit: r250131 - in head/sys: arm/broadcom/bcm2835 cam/ctl net netpfil/ipfw

2013-04-30 Thread Eitan Adler
Author: eadler Date: Wed May 1 04:37:34 2013 New Revision: 250131 URL: http://svnweb.freebsd.org/changeset/base/250131 Log: Correct a few sizeof()s Submitted by: swild...@dragonflybsd.org Reviewed by: alfred Modified: head/sys/arm/broadcom/bcm2835/bcm2835_dma.c head/sys/cam/ctl/ctl

Re: svn commit: r249939 - head/sys/cam/scsi

2013-04-30 Thread Kenneth D. Merry
On Tue, Apr 30, 2013 at 04:16:49 +0100, Steven Hartland wrote: > - Original Message - > From: "Steven Hartland" > >>On Fri, Apr 26, 2013 at 16:17:05 +, Steven Hartland wrote: > >>>Author: smh > >>>Date: Fri Apr 26 16:17:04 2013 > >>>New Revision: 249939 > >>>URL: http://svnweb.freebsd.

svn commit: r250130 - head/sys/contrib/dev/ath/ath_hal/ar9300

2013-04-30 Thread Adrian Chadd
Author: adrian Date: Wed May 1 01:50:33 2013 New Revision: 250130 URL: http://svnweb.freebsd.org/changeset/base/250130 Log: Disable TXCONT, it's not here in FreeBSD. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_misc.c Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_misc

svn commit: r250129 - head/sys/contrib/dev/ath/ath_hal/ar9300

2013-04-30 Thread Adrian Chadd
Author: adrian Date: Wed May 1 01:49:00 2013 New Revision: 250129 URL: http://svnweb.freebsd.org/changeset/base/250129 Log: There's no HAL_EEPROM in FreeBSD - use ar9300_eeprom_t instead. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_misc.c Modified: head/sys/contrib/dev/ath/ath_

svn commit: r250124 - head/sys/dev/hptiop

2013-04-30 Thread Eitan Adler
Author: eadler Date: Tue Apr 30 23:36:48 2013 New Revision: 250124 URL: http://svnweb.freebsd.org/changeset/base/250124 Log: Remove ancient compatibility cruft. Reviewed by: delphij Modified: head/sys/dev/hptiop/hptiop.c head/sys/dev/hptiop/hptiop.h Modified: head/sys/dev/hptiop/hpti

svn commit: r250123 - head/sys/dev/hptiop

2013-04-30 Thread Eitan Adler
Author: eadler Date: Tue Apr 30 23:36:45 2013 New Revision: 250123 URL: http://svnweb.freebsd.org/changeset/base/250123 Log: Add missing braces Reviewed by: swild...@dragonflybsd.org Reviewed by: delphij Modified: head/sys/dev/hptiop/hptiop.c Modified: head/sys/dev/hptiop/hptiop.c =

svn commit: r250119 - head

2013-04-30 Thread Brooks Davis
Author: brooks Date: Tue Apr 30 20:53:28 2013 New Revision: 250119 URL: http://svnweb.freebsd.org/changeset/base/250119 Log: Add some advice to get past the hurdle of install -l for the common, but non-default (and unsupportable) case of setting INSTALL="install -C" in /etc/make.conf or /etc

svn commit: r250117 - head/sys/dev/cxgbe/tom

2013-04-30 Thread Navdeep Parhar
Author: np Date: Tue Apr 30 19:57:21 2013 New Revision: 250117 URL: http://svnweb.freebsd.org/changeset/base/250117 Log: Fix DDP breakage introduced in r248925. Bitwise OR has higher precedence than ternary conditional. MFC after:1 week Modified: head/sys/dev/cxgbe/tom/t4_ddp.c M

svn commit: r250116 - head/etc

2013-04-30 Thread Brooks Davis
Author: brooks Date: Tue Apr 30 19:26:44 2013 New Revision: 250116 URL: http://svnweb.freebsd.org/changeset/base/250116 Log: Make an attempt to detect missing MTREE files in distrib-dirs. Not perfect, but this is just a developer seatbelt. PR: conf/176897 Submitted by: Garret

svn commit: r250115 - head/sys/dev/cfi

2013-04-30 Thread Brooks Davis
Author: brooks Date: Tue Apr 30 18:48:11 2013 New Revision: 250115 URL: http://svnweb.freebsd.org/changeset/base/250115 Log: MFP4 change 222060: On Intel devices, put the Factory PPR in kenv. On some FPGA boards it may be the only software accessable unique ID. Sponsored by: DARPA,

svn commit: r250114 - in head/sys: conf dev/cfi

2013-04-30 Thread Brooks Davis
Author: brooks Date: Tue Apr 30 18:33:29 2013 New Revision: 250114 URL: http://svnweb.freebsd.org/changeset/base/250114 Log: MFP4 changes 222065 and 222068: Add a simplebus attachment for cfi(4)'s FDT support and move cfi_bus_fdt.c to sys/conf/files so non-ppc architectures are supported.

svn commit: r250113 - head/sys/dev/altera/jtag_uart

2013-04-30 Thread Brooks Davis
Author: brooks Date: Tue Apr 30 18:29:05 2013 New Revision: 250113 URL: http://svnweb.freebsd.org/changeset/base/250113 Log: Partial MFC of change 228122: Due to the requirement that tty prefixes be unique per driver, rename the Altera JTAG UART devices to ttyj#. Sponsored by: DARPA,

svn commit: r250112 - head/lib

2013-04-30 Thread Brooks Davis
Author: brooks Date: Tue Apr 30 18:14:22 2013 New Revision: 250112 URL: http://svnweb.freebsd.org/changeset/base/250112 Log: Wrap the creation of the ../include link in /usr/lib in !defined(LIBRARIES_ONLY) so it is only created once on architectures with 32-bit compat support. Replace l

Re: svn commit: r250079 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/ntb sys/dev/ntb/if_ntb sys/dev/ntb/ntb_hw sys/modules sys/modules/ntb sys/modules/ntb/if_ntb sys/modules/ntb/ntb_hw

2013-04-30 Thread Carl Delsey
Thanks Florian. Fixed in r250110. On 04/30/13 02:57, Florian Smeets wrote: > On Mon, Apr 29, 2013 at 10:48:53PM +, Carl Delsey wrote: >> Author: carl >> Date: Mon Apr 29 22:48:53 2013 >> New Revision: 250079 >> URL: http://svnweb.freebsd.org/changeset/base/250079 >> >> Log: >> Add a new driv

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

2013-04-30 Thread Carl Delsey
Author: carl Date: Tue Apr 30 16:59:25 2013 New Revision: 250110 URL: http://svnweb.freebsd.org/changeset/base/250110 Log: Fix the man page installation broken in r250079. Pointy hat to me. Thanks to Florian Smeets for pointing this out and providing a patch. Submitted by: Florian Smee

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

2013-04-30 Thread Luigi Rizzo
Author: luigi Date: Tue Apr 30 16:51:58 2013 New Revision: 250109 URL: http://svnweb.freebsd.org/changeset/base/250109 Log: use netmap_rx_irq() and netmap_tx_irq() instead of replicating the logic in the individual driver. Modified: head/sys/dev/e1000/if_lem.c Modified: head/sys/dev/e1000/

svn commit: r250108 - in head/sys/dev: e1000 ixgbe re

2013-04-30 Thread Luigi Rizzo
Author: luigi Date: Tue Apr 30 16:18:29 2013 New Revision: 250108 URL: http://svnweb.freebsd.org/changeset/base/250108 Log: use netmap_rx_irq() / netmap_tx_irq() to handle interrupts in netmap mode, removing the logic from individual drivers. (note: if_lem.c not updated yet due to some ot

Re: svn commit: r250105 - head/sys/dev/hwpmc

2013-04-30 Thread Sergey Kandaurov
Hi. On 30 April 2013 19:59, Davide Italiano wrote: > Author: davide > Date: Tue Apr 30 15:59:22 2013 > New Revision: 250105 > URL: http://svnweb.freebsd.org/changeset/base/250105 > > Log: > malloc(9) cannot return NULL if M_WAITOK flag is specified. > > Modified: > head/sys/dev/hwpmc/hwpmc_mo

svn commit: r250107 - head/sys/dev/netmap

2013-04-30 Thread Luigi Rizzo
Author: luigi Date: Tue Apr 30 16:08:34 2013 New Revision: 250107 URL: http://svnweb.freebsd.org/changeset/base/250107 Log: Partial cleanup in preparation for upcoming changes: - netmap_rx_irq()/netmap_tx_irq() can now be called by FreeBSD drivers hiding the logic for handling NIC inter

svn commit: r250106 - head/sys/net

2013-04-30 Thread Luigi Rizzo
Author: luigi Date: Tue Apr 30 16:00:21 2013 New Revision: 250106 URL: http://svnweb.freebsd.org/changeset/base/250106 Log: remove $Id$ (whitespace change) Modified: head/sys/net/netmap.h head/sys/net/netmap_user.h Modified: head/sys/net/netmap.h ===

svn commit: r250105 - head/sys/dev/hwpmc

2013-04-30 Thread Davide Italiano
Author: davide Date: Tue Apr 30 15:59:22 2013 New Revision: 250105 URL: http://svnweb.freebsd.org/changeset/base/250105 Log: malloc(9) cannot return NULL if M_WAITOK flag is specified. Modified: head/sys/dev/hwpmc/hwpmc_mod.c head/sys/dev/hwpmc/hwpmc_soft.c Modified: head/sys/dev/hwpmc/hwp

svn commit: r250104 - head

2013-04-30 Thread Dag-Erling Smørgrav
Author: des Date: Tue Apr 30 15:38:31 2013 New Revision: 250104 URL: http://svnweb.freebsd.org/changeset/base/250104 Log: Forgot to update UPDATING in head last night. Modified: head/UPDATING Modified: head/UPDATING

svn commit: r250103 - head/sys/dev/hwpmc

2013-04-30 Thread Davide Italiano
Author: davide Date: Tue Apr 30 15:31:45 2013 New Revision: 250103 URL: http://svnweb.freebsd.org/changeset/base/250103 Log: The Intel PMC architectural events have encodings which are identical to those of some non-architectural core events. This is not a problem in the general case as long

svn commit: r250102 - head/sys/kern

2013-04-30 Thread Jilles Tjoelker
Author: jilles Date: Tue Apr 30 15:06:30 2013 New Revision: 250102 URL: http://svnweb.freebsd.org/changeset/base/250102 Log: socket: Make shutdown() wake up a blocked accept(). A blocking accept (and some other operations) waits on &so->so_timeo. Once it wakes up, it will detect the SBS_C

svn commit: r250101 - head/sys/dev/hwpmc

2013-04-30 Thread Davide Italiano
Author: davide Date: Tue Apr 30 14:56:41 2013 New Revision: 250101 URL: http://svnweb.freebsd.org/changeset/base/250101 Log: Complete r250097: Do not change the initialization order in pmc_intel_initialize(). Modified: head/sys/dev/hwpmc/hwpmc_intel.c Modified: head/sys/dev/hwpmc/hwpmc_int

svn commit: r250100 - in head/release/picobsd/floppy.tree/etc: . ssh

2013-04-30 Thread Luigi Rizzo
Author: luigi Date: Tue Apr 30 13:20:11 2013 New Revision: 250100 URL: http://svnweb.freebsd.org/changeset/base/250100 Log: support for sshd (newer config file location) Added: head/release/picobsd/floppy.tree/etc/ssh/ head/release/picobsd/floppy.tree/etc/ssh/sshd_config - copied uncha

svn commit: r250099 - head/tools/tools/netmap

2013-04-30 Thread Luigi Rizzo
Author: luigi Date: Tue Apr 30 13:13:32 2013 New Revision: 250099 URL: http://svnweb.freebsd.org/changeset/base/250099 Log: sync with my local copy (this file may go away, eventually) Modified: head/tools/tools/netmap/README Modified: head/tools/tools/netmap/README ==

Re: svn commit: r250079 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/ntb sys/dev/ntb/if_ntb sys/dev/ntb/ntb_hw sys/modules sys/modules/ntb sys/modules/ntb/if_ntb sys/modules/ntb/ntb_hw

2013-04-30 Thread Florian Smeets
On Mon, Apr 29, 2013 at 10:48:53PM +, Carl Delsey wrote: > Author: carl > Date: Mon Apr 29 22:48:53 2013 > New Revision: 250079 > URL: http://svnweb.freebsd.org/changeset/base/250079 > > Log: > Add a new driver to support the Intel Non-Transparent Bridge(NTB). > Hi Carl, This change bre

svn commit: r250097 - head/sys/dev/hwpmc

2013-04-30 Thread Davide Italiano
Author: davide Date: Tue Apr 30 08:33:38 2013 New Revision: 250097 URL: http://svnweb.freebsd.org/changeset/base/250097 Log: When hwpmc(4) module is unloaded it reports a double leakage. This happens at least if FreeBSD is ran under VirtualBox. In order to avoid the leakage, properly dealloc

svn commit: r250096 - head/sys/dev/hwpmc

2013-04-30 Thread Davide Italiano
Author: davide Date: Tue Apr 30 08:18:08 2013 New Revision: 250096 URL: http://svnweb.freebsd.org/changeset/base/250096 Log: Fixup Westmere hwpmc(4) support: add missing CPU flag so that intrucion-retired, llc-misses and llc-reference events can now be allocated. Reviewed by: jimharris

svn commit: r250095 - head/sbin/dumpon

2013-04-30 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Apr 30 07:22:03 2013 New Revision: 250095 URL: http://svnweb.freebsd.org/changeset/base/250095 Log: Adapt to the fact that minidumps are now on by default. PR: 177188 Modified: head/sbin/dumpon/dumpon.8 Modified: head/sbin/dumpon/dumpon.8