svn commit: r247452 - head/sys/sys

2013-02-28 Thread Alexander Motin
Author: mav Date: Thu Feb 28 10:21:04 2013 New Revision: 247452 URL: http://svnweb.freebsd.org/changeset/base/247452 Log: Introduce sbintime_t type -- the simplified version of struct bintime, using 32.32 fixed point in form of single int64_t. It is much easier to use in cases where additio

svn commit: r247454 - in head/sys: amd64/amd64 dev/acpica i386/i386 ia64/ia64 kern pc98/pc98 powerpc/powerpc powerpc/ps3 powerpc/wii sys

2013-02-28 Thread Davide Italiano
Author: davide Date: Thu Feb 28 10:46:54 2013 New Revision: 247454 URL: http://svnweb.freebsd.org/changeset/base/247454 Log: MFcalloutng: When CPU becomes idle, cpu_idleclock() calculates time to the next timer event in order to reprogram hw timer. Return that time in sbintime_t to the cal

svn commit: r247460 - head/sys/dev/acpica

2013-02-28 Thread Davide Italiano
Author: davide Date: Thu Feb 28 11:27:01 2013 New Revision: 247460 URL: http://svnweb.freebsd.org/changeset/base/247460 Log: MFcalloutng (r247427 by mav): We don't need any precision here. Let it be fast and dirty shift then slow and excessively precise 64-bit division. Modified: head/sys

svn commit: r247463 - in head: share/man/man9 sys/arm/allwinner sys/arm/arm sys/arm/broadcom/bcm2835 sys/arm/lpc sys/arm/mv sys/arm/ti/am335x sys/arm/versatile sys/dev/acpica sys/i386/xen sys/ia64/...

2013-02-28 Thread Alexander Motin
Author: mav Date: Thu Feb 28 13:46:03 2013 New Revision: 247463 URL: http://svnweb.freebsd.org/changeset/base/247463 Log: MFcalloutng: Switch eventtimers(9) from using struct bintime to sbintime_t. Even before this not a single driver really supported full dynamic range of struct bintime e

svn commit: r247467 - head/sys/kern

2013-02-28 Thread Davide Italiano
Author: davide Date: Thu Feb 28 16:22:49 2013 New Revision: 247467 URL: http://svnweb.freebsd.org/changeset/base/247467 Log: MFcalloutng: Style fixes. Modified: head/sys/kern/kern_timeout.c Modified: head/sys/kern/kern_timeout.c =

Re: svn commit: r247460 - head/sys/dev/acpica

2013-02-28 Thread Alexey Dokuchaev
On Thu, Feb 28, 2013 at 11:27:02AM +, Davide Italiano wrote: > New Revision: 247460 > URL: http://svnweb.freebsd.org/changeset/base/247460 > > Log: > MFcalloutng (r247427 by mav): > We don't need any precision here. Let it be fast and dirty shift then > slow and excessively precise 64-bi

Re: svn commit: r247460 - head/sys/dev/acpica

2013-02-28 Thread Ryan Stone
On Thu, Feb 28, 2013 at 11:25 AM, Alexey Dokuchaev wrote: > On Thu, Feb 28, 2013 at 11:27:02AM +, Davide Italiano wrote: > > New Revision: 247460 > > URL: http://svnweb.freebsd.org/changeset/base/247460 > > > > Log: > > MFcalloutng (r247427 by mav): > > We don't need any precision here. Le

Re: svn commit: r247359 - head/sbin/reboot

2013-02-28 Thread John Baldwin
On Wednesday, February 27, 2013 6:23:02 pm Daniel O'Connor wrote: > > On 28/02/2013, at 3:08, John Baldwin wrote: > >> URL: http://svnweb.freebsd.org/changeset/base/247359 > >> > >> Log: > >> Clarify that overriding the -h/-D flags through flags in device.hints > >> only works for sio(4) but n

svn commit: r247476 - head/sys/sys

2013-02-28 Thread Davide Italiano
Author: davide Date: Thu Feb 28 17:10:30 2013 New Revision: 247476 URL: http://svnweb.freebsd.org/changeset/base/247476 Log: Move the definition of sbintime_t type from to . With this change we prevent gross namespace pollution. Reported by: bde Suggested by: attilio Modified: head

Re: svn commit: r247460 - head/sys/dev/acpica

2013-02-28 Thread Alexander Motin
On 28.02.2013 18:25, Alexey Dokuchaev wrote: > On Thu, Feb 28, 2013 at 11:27:02AM +, Davide Italiano wrote: >> New Revision: 247460 >> URL: http://svnweb.freebsd.org/changeset/base/247460 >> >> Log: >> MFcalloutng (r247427 by mav): >> We don't need any precision here. Let it be fast and dir

Re: svn commit: r247460 - head/sys/dev/acpica

2013-02-28 Thread Bruce Evans
On Thu, 28 Feb 2013, Alexey Dokuchaev wrote: On Thu, Feb 28, 2013 at 11:27:02AM +, Davide Italiano wrote: New Revision: 247460 URL: http://svnweb.freebsd.org/changeset/base/247460 Log: MFcalloutng (r247427 by mav): We don't need any precision here. Let it be fast and dirty shift then

Re: svn commit: r247359 - head/sbin/reboot

2013-02-28 Thread Garrett Cooper
On Feb 28, 2013, at 8:01 AM, John Baldwin wrote: > On Wednesday, February 27, 2013 6:23:02 pm Daniel O'Connor wrote: >> >> On 28/02/2013, at 3:08, John Baldwin wrote: URL: http://svnweb.freebsd.org/changeset/base/247359 Log: Clarify that overriding the -h/-D flags through f

Re: svn commit: r244157 - head/sys/netinet

2013-02-28 Thread Ed Maste
On 12 December 2012 12:41, Gleb Smirnoff wrote: > Author: glebius > Date: Wed Dec 12 17:41:21 2012 > New Revision: 244157 > URL: http://svnweb.freebsd.org/changeset/base/244157 > > Log: > Fix a crash in tcp_input(), that happens when mbuf has a fwd_tag on it, > but later after processing and

svn commit: r247495 - head/sys/dev/sdhci

2013-02-28 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Feb 28 19:43:14 2013 New Revision: 247495 URL: http://svnweb.freebsd.org/changeset/base/247495 Log: Add hooks for plugging platform-provided transfer backend. In order to use platorm backend hardware driver should impement three methods: - platform_start_transfer

svn commit: r247496 - head/sys/arm/broadcom/bcm2835

2013-02-28 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Feb 28 19:48:19 2013 New Revision: 247496 URL: http://svnweb.freebsd.org/changeset/base/247496 Log: Add driver for BCM2835's DMA engine This is a version of code submitted by Daisuke Aoyama with some architectural changes. Added: head/sys/arm/broadcom/bcm2835/b

svn commit: r247497 - head/sys/arm/broadcom/bcm2835

2013-02-28 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Feb 28 19:51:30 2013 New Revision: 247497 URL: http://svnweb.freebsd.org/changeset/base/247497 Log: Add platform DMA support to SDHCI driver for BCM2835 Submitted by: Daisuke Aoyama Reviewed by: ian@ Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c Mod

Re: svn commit: r247495 - head/sys/dev/sdhci

2013-02-28 Thread Ian Lepore
On Thu, 2013-02-28 at 19:43 +, Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Thu Feb 28 19:43:14 2013 > New Revision: 247495 > URL: http://svnweb.freebsd.org/changeset/base/247495 > > Log: > Add hooks for plugging platform-provided transfer backend. > > In order to use platorm bac

Re: svn commit: r247495 - head/sys/dev/sdhci

2013-02-28 Thread Oleksandr Tymoshenko
On 2/28/2013 12:02 PM, Ian Lepore wrote: On Thu, 2013-02-28 at 19:43 +, Oleksandr Tymoshenko wrote: Author: gonzo Date: Thu Feb 28 19:43:14 2013 New Revision: 247495 URL: http://svnweb.freebsd.org/changeset/base/247495 Log: Add hooks for plugging platform-provided transfer backend.

svn commit: r247505 - head/sys/modules/ixgbe

2013-02-28 Thread Jack F Vogel
Author: jfv Date: Thu Feb 28 22:48:00 2013 New Revision: 247505 URL: http://svnweb.freebsd.org/changeset/base/247505 Log: Change the ixgbe module name to if_ixgbe to conform to the usual naming convention. Modified: head/sys/modules/ixgbe/Makefile Modified: head/sys/modules/ixgbe/Makefile

Re: svn commit: r246877 - head/sys/ufs/ffs

2013-02-28 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/18/13 01:56, Gennady Proskurin wrote: > May be a dumb question, but I want to be explicit here. > > Can system before this commit crash here or filesystem corruption > happen during ordinary work? (I mean no power loss and no crashes > in othe

svn commit: r247506 - head/sys/dev/ath

2013-02-28 Thread Adrian Chadd
Author: adrian Date: Thu Feb 28 23:31:23 2013 New Revision: 247506 URL: http://svnweb.freebsd.org/changeset/base/247506 Log: Don't enable the HT flags for legacy rates. I stumbled across this whilst trying to debug another weird hang reported on the freebsd-wireless list. Whilst here

svn commit: r247507 - head/sys/dev/ath

2013-02-28 Thread Adrian Chadd
Author: adrian Date: Thu Feb 28 23:39:22 2013 New Revision: 247507 URL: http://svnweb.freebsd.org/changeset/base/247507 Log: Oops - fix an incorrect test. Modified: head/sys/dev/ath/if_ath_tx_ht.c Modified: head/sys/dev/ath/if_ath_tx_ht.c =

svn commit: r247508 - head/sys/dev/ath

2013-02-28 Thread Adrian Chadd
Author: adrian Date: Thu Feb 28 23:39:38 2013 New Revision: 247508 URL: http://svnweb.freebsd.org/changeset/base/247508 Log: Add missing flags. Modified: head/sys/dev/ath/if_athrate.h Modified: head/sys/dev/ath/if_athrate.h

svn commit: r247509 - head

2013-02-28 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Thu Feb 28 23:45:41 2013 New Revision: 247509 URL: http://svnweb.freebsd.org/changeset/base/247509 Log: Minor wordsmithing. X-MFC-Needs: r245617 Modified: head/UPDATING Modified: head/UPDATING =

svn commit: r247519 - in head/sys/dev: ic uart

2013-02-28 Thread Ganbold Tsagaankhuu
Author: ganbold (doc committer) Date: Fri Mar 1 01:42:31 2013 New Revision: 247519 URL: http://svnweb.freebsd.org/changeset/base/247519 Log: Add support for A10 uart. A10 uart is derived from Synopsys DesignWare uart and requires to read Uart Status Register when IIR_BUSY has detected. Al

svn commit: r247520 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-02-28 Thread Ganbold Tsagaankhuu
Author: ganbold (doc committer) Date: Fri Mar 1 01:47:11 2013 New Revision: 247520 URL: http://svnweb.freebsd.org/changeset/base/247520 Log: Enable uart driver for A10. Approved by: gonzo@ Modified: head/sys/arm/allwinner/files.a10 head/sys/arm/conf/CUBIEBOARD head/sys/boot/fdt/dts/

svn commit: r247523 - head/usr.sbin/bhyve

2013-02-28 Thread Neel Natu
Author: neel Date: Fri Mar 1 02:26:28 2013 New Revision: 247523 URL: http://svnweb.freebsd.org/changeset/base/247523 Log: Specify the length of the mapping requested from 'paddr_guest2host()'. This seems prudent to do in its own right but it also opens up the possibility of not having to

Re: svn commit: r247460 - head/sys/dev/acpica

2013-02-28 Thread Alexey Dokuchaev
On Thu, Feb 28, 2013 at 07:37:32PM +0200, Alexander Motin wrote: > SBT_1US is 4294 (0x10c6). The best that compiler may do is replace > division with multiplication. In fact, Clang even does this on amd64. > But on i386 it calls __divdi3(), doing 64bit division in software. Shift > is definitely ch

svn commit: r247527 - head/share/mk

2013-02-28 Thread Brooks Davis
Author: brooks Date: Fri Mar 1 03:25:43 2013 New Revision: 247527 URL: http://svnweb.freebsd.org/changeset/base/247527 Log: Provide slightly more helpful feedback when we can't figure out what compiler the user is using. PR: misc/173914 Modified: head/share/mk/bsd.compiler.m

Re: svn commit: r247460 - head/sys/dev/acpica

2013-02-28 Thread Bruce Evans
On Thu, 28 Feb 2013, Alexander Motin wrote: On 28.02.2013 18:25, Alexey Dokuchaev wrote: On Thu, Feb 28, 2013 at 11:27:02AM +, Davide Italiano wrote: New Revision: 247460 URL: http://svnweb.freebsd.org/changeset/base/247460 Log: MFcalloutng (r247427 by mav): We don't need any precisio

svn commit: r247534 - head/lib/libutil

2013-02-28 Thread Ruslan Ermilov
Author: ru Date: Fri Mar 1 07:39:14 2013 New Revision: 247534 URL: http://svnweb.freebsd.org/changeset/base/247534 Log: Fixed documented prototype of kinfo_getproc(3). Modified: head/lib/libutil/kinfo_getproc.3 Modified: head/lib/libutil/kinfo_getproc.3 =