svn commit: r232482 - head/sys/powerpc/powermac

2012-03-04 Thread Andreas Tobler
Author: andreast Date: Sun Mar 4 08:43:33 2012 New Revision: 232482 URL: http://svn.freebsd.org/changeset/base/232482 Log: Add support for PWM controlled fans. I found these fans on my PowerMac9,1. These fans are not located under the same node as the the RPM controlled ones, So I had to ad

svn commit: r232483 - in head/sys/fs: hpfs msdosfs ntfs

2012-03-04 Thread Kevin Lo
Author: kevlo Date: Sun Mar 4 09:38:20 2012 New Revision: 232483 URL: http://svn.freebsd.org/changeset/base/232483 Log: Clean up style(9) nits Modified: head/sys/fs/hpfs/hpfs_vfsops.c head/sys/fs/msdosfs/msdosfs_vfsops.c head/sys/fs/ntfs/ntfs_vfsops.c Modified: head/sys/fs/hpfs/hpfs_vfs

svn commit: r232484 - head/sys/net80211

2012-03-04 Thread Gleb Smirnoff
Author: glebius Date: Sun Mar 4 09:45:43 2012 New Revision: 232484 URL: http://svn.freebsd.org/changeset/base/232484 Log: Fix build w/o 'options IEEE80211_SUPPORT_MESH'. Modified: head/sys/net80211/ieee80211_input.c Modified: head/sys/net80211/ieee80211_input.c =

svn commit: r232485 - head/sys/fs/cd9660

2012-03-04 Thread Kevin Lo
Author: kevlo Date: Sun Mar 4 09:48:58 2012 New Revision: 232485 URL: http://svn.freebsd.org/changeset/base/232485 Log: Remove unnecessary casts Modified: head/sys/fs/cd9660/cd9660_vfsops.c Modified: head/sys/fs/cd9660/cd9660_vfsops.c

svn commit: r232487 - head/sys/net

2012-03-04 Thread Marko Zec
Author: zec Date: Sun Mar 4 11:11:03 2012 New Revision: 232487 URL: http://svn.freebsd.org/changeset/base/232487 Log: Properly restore curvnet context when returning early from ether_input_internal(). This change only affects options VIMAGE kernel builds. PR: kern/165643

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

2012-03-04 Thread Andreas Tobler
Author: andreast Date: Sun Mar 4 11:55:28 2012 New Revision: 232488 URL: http://svn.freebsd.org/changeset/base/232488 Log: Restore proper dot symbol creation for assembly files in the kernel build case. Without this patch we were not able to see the assembly function. Only the function des

svn commit: r232491 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-04 Thread Tijl Coosemans
Author: tijl Date: Sun Mar 4 14:00:32 2012 New Revision: 232491 URL: http://svn.freebsd.org/changeset/base/232491 Log: Copy amd64 float.h to x86 and merge with i386 float.h. Replace amd64/i386/pc98 float.h with stubs. Added: head/sys/x86/include/float.h - copied, changed from r232490,

svn commit: r232492 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-04 Thread Tijl Coosemans
Author: tijl Date: Sun Mar 4 14:12:57 2012 New Revision: 232492 URL: http://svn.freebsd.org/changeset/base/232492 Log: Copy amd64 trap.h to x86 and replace amd64/i386/pc98 trap.h with stubs. Added: head/sys/x86/include/trap.h - copied unchanged from r232490, head/sys/amd64/include/trap.

svn commit: r232493 - head/sys/fs/cd9660

2012-03-04 Thread Konstantin Belousov
Author: kib Date: Sun Mar 4 14:51:42 2012 New Revision: 232493 URL: http://svn.freebsd.org/changeset/base/232493 Log: Remove unneeded cast to u_int. The values as small enough to fit into int, beside the use of MIN macro which performs type promotions. Submitted by: bde MFC after:3

svn commit: r232494 - head/sys/kern

2012-03-04 Thread Konstantin Belousov
Author: kib Date: Sun Mar 4 14:55:37 2012 New Revision: 232494 URL: http://svn.freebsd.org/changeset/base/232494 Log: Instead of incomplete handling of read(2)/write(2) return values that does not fit into registers, declare that we do not support this case using CTASSERT(), and remove endi

svn commit: r232495 - head/sys/kern

2012-03-04 Thread Konstantin Belousov
Author: kib Date: Sun Mar 4 15:09:01 2012 New Revision: 232495 URL: http://svn.freebsd.org/changeset/base/232495 Log: pipe_read(): change the type of size to int, and remove signed clamp. pipe_write(): change the type of desiredsize back to int, its value fits. Requested by: bde MFC af

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

2012-03-04 Thread Eitan Adler
Author: eadler Date: Sun Mar 4 15:22:03 2012 New Revision: 232496 URL: http://svn.freebsd.org/changeset/base/232496 Log: PR: docs/158813 Submitted by: Ben Kaduk Approved by: bcr MFC after:1 week Modified: head/share/man/man4/jme.4 Modified: head/share/man/man4/jme.4 ==

Re: svn commit: r232496 - head/share/man/man4

2012-03-04 Thread Eitan Adler
On Sun, Mar 4, 2012 at 10:22 AM, Eitan Adler wrote: > Author: eadler > Date: Sun Mar  4 15:22:03 2012 > New Revision: 232496 > URL: http://svn.freebsd.org/changeset/base/232496 > > Log: >  PR:           docs/158813 >  Submitted by: Ben Kaduk >  Approved by:  bcr >  MFC after:    1 week Forgot th

svn commit: r232497 - head/lib/libc/arm

2012-03-04 Thread Olivier Houchard
Author: cognet Date: Sun Mar 4 15:25:11 2012 New Revision: 232497 URL: http://svn.freebsd.org/changeset/base/232497 Log: Add __aeabi_read_tp to the symbol list. Modified: head/lib/libc/arm/Symbol.map Modified: head/lib/libc/arm/Symbol.map ===

svn commit: r232498 - in head: etc/mtree include include/xlocale lib/libc/locale sys/sys

2012-03-04 Thread David Chisnall
Author: theraven Date: Sun Mar 4 15:31:13 2012 New Revision: 232498 URL: http://svn.freebsd.org/changeset/base/232498 Log: Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build universe with gcc. Approved by: dim (mentor) Added: head/include/xlocale/ - copied

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

2012-03-04 Thread Eitan Adler
Author: eadler Date: Sun Mar 4 16:26:49 2012 New Revision: 232501 URL: http://svn.freebsd.org/changeset/base/232501 Log: ehci tunables are only available when kernel is compiled with USB_DEBUG PR: docs/163646 Reported by: Momchil Ivanov Submitted by: Benjamin Kaduk Appro

svn commit: r232502 - head/sbin/geom/class/eli

2012-03-04 Thread Eitan Adler
Author: eadler Date: Sun Mar 4 16:37:44 2012 New Revision: 232502 URL: http://svn.freebsd.org/changeset/base/232502 Log: Fix a variety of grammar issues and style nits. PR: docs/165668 Submitted by: Robert Simmons Reviewed by: ka...@mit.edu Approved by: cperciva MFC af

svn commit: r232503 - head/lib/libc/string

2012-03-04 Thread Eitan Adler
Author: eadler Date: Sun Mar 4 16:39:08 2012 New Revision: 232503 URL: http://svn.freebsd.org/changeset/base/232503 Log: POSIX mandates that swab do nothing when len < 0 PR: kern/140690 Submitted by: Jeremy Huddleston Approved by: cperciva MFC after:2 weeks Modified:

svn commit: r232504 - head/lib/libc/stdio

2012-03-04 Thread Eitan Adler
Author: eadler Date: Sun Mar 4 16:41:07 2012 New Revision: 232504 URL: http://svn.freebsd.org/changeset/base/232504 Log: Remove reference to gcc's non-standard -fwritable-strings, which doesn't exist in recent releases (and is bad advice anyway) PR: docs/163119 Submitted by:

svn commit: r232505 - head/lib/libc/stdio

2012-03-04 Thread Eitan Adler
Author: eadler Date: Sun Mar 4 16:44:04 2012 New Revision: 232505 URL: http://svn.freebsd.org/changeset/base/232505 Log: Remove outdated comment of seven years PR: docs/116116 Approved by: cperciva MFC after:1 week Modified: head/lib/libc/stdio/mktemp.3 Modified: hea

svn commit: r232506 - head/sys/modules/dtrace/dtrace

2012-03-04 Thread Eitan Adler
Author: eadler Date: Sun Mar 4 16:46:27 2012 New Revision: 232506 URL: http://svn.freebsd.org/changeset/base/232506 Log: Explicitly list dependency PR: misc/160463 Submitted by: Garrett Cooper Helped by:kan Approved by: cperciva MFC after:3 days Modified: hea

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

2012-03-04 Thread Eitan Adler
Author: eadler Date: Sun Mar 4 16:59:45 2012 New Revision: 232507 URL: http://svn.freebsd.org/changeset/base/232507 Log: Bump date as modified the man page Submitted by: gjb Modified: head/share/man/man4/ehci.4 Modified: head/share/man/man4/ehci.4 ==

svn commit: r232509 - head/sys/compat/ndis

2012-03-04 Thread Bruce Cran
Author: brucec Date: Sun Mar 4 17:08:43 2012 New Revision: 232509 URL: http://svn.freebsd.org/changeset/base/232509 Log: Fix race condition in KfRaiseIrql(). After getting the current irql, if the kthread gets preempted and subsequently runs on a different CPU, the saved irql could be wr

svn commit: r232510 - head/usr.sbin/pc-sysinstall/backend

2012-03-04 Thread Eitan Adler
Author: eadler Date: Sun Mar 4 17:33:22 2012 New Revision: 232510 URL: http://svn.freebsd.org/changeset/base/232510 Log: Permit the use of raidz3 in pc-sysinstall PR: conf/164709 Submitted by: Garrett Cooper Reviewed by: brd, brooks Approved by: cperciva MFC after:

svn commit: r232512 - head/sys/arm/mv

2012-03-04 Thread Rafal Jaworowski
Author: raj Date: Sun Mar 4 18:13:45 2012 New Revision: 232512 URL: http://svn.freebsd.org/changeset/base/232512 Log: Remove unused #defines. All this is now retrieved from the device tree. MFC after:1 week Modified: head/sys/arm/mv/mvreg.h Modified: head/sys/arm/mv/mvreg.h ===

svn commit: r232513 - head/sys/netinet

2012-03-04 Thread Bjoern A. Zeeb
Author: bz Date: Sun Mar 4 18:47:20 2012 New Revision: 232513 URL: http://svn.freebsd.org/changeset/base/232513 Log: Correct typo in the RFC number for the constants based on IANA assignments for IPv6 Neighbor Discovery Option types for "IPv6 Router Advertisement Options for DNS Configurati

Re: svn commit: r232264 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-04 Thread John Baldwin
On Tuesday, February 28, 2012 01:38:34 PM Tijl Coosemans wrote: > Author: tijl > Date: Tue Feb 28 18:38:33 2012 > New Revision: 232264 > URL: http://svn.freebsd.org/changeset/base/232264 > > Log: > Copy amd64 _stdint.h to x86 and merge with i386 _stdint.h. Replace > amd64/i386/pc98 _stdint.h w

svn commit: r232514 - head/sys/netinet6

2012-03-04 Thread Bjoern A. Zeeb
Author: bz Date: Sun Mar 4 18:51:45 2012 New Revision: 232514 URL: http://svn.freebsd.org/changeset/base/232514 Log: In nd6_options() ignore the RFC 6106 options completely rather than printing them if nd6_debug is enabled as unknown. Leave a comment about the RFC4191 option as I am undeci

svn commit: r232515 - head/etc/rc.d

2012-03-04 Thread Bjoern A. Zeeb
Author: bz Date: Sun Mar 4 18:53:35 2012 New Revision: 232515 URL: http://svn.freebsd.org/changeset/base/232515 Log: Rather than printing the output from route add for all FIBs just print them for the default FIB followed by a statement with a list of FIB numbers for all the other FIBs we i

svn commit: r232516 - head/share/man/man9

2012-03-04 Thread John Baldwin
Author: jhb Date: Sun Mar 4 18:55:33 2012 New Revision: 232516 URL: http://svn.freebsd.org/changeset/base/232516 Log: Document pci_find_extcap() and pci_find_htcap(). Modified: head/share/man/man9/Makefile head/share/man/man9/pci.9 Modified: head/share/man/man9/Makefile ==

svn commit: r232517 - head/sys/netinet

2012-03-04 Thread Marko Zec
Author: zec Date: Sun Mar 4 18:59:38 2012 New Revision: 232517 URL: http://svn.freebsd.org/changeset/base/232517 Log: Change SYSINIT priorities so that ip_mroute_modevent() is executed before vnet_mroute_init(), since vnet_mroute_init() depends on mfchashsize tunable to be set, and that is

Re: svn commit: r232496 - head/share/man/man4

2012-03-04 Thread John Baldwin
On Sunday, March 04, 2012 10:22:04 AM Eitan Adler wrote: > Author: eadler > Date: Sun Mar 4 15:22:03 2012 > New Revision: 232496 > URL: http://svn.freebsd.org/changeset/base/232496 > > Log: > PR: docs/158813 > Submitted by: Ben Kaduk > Approved by:bcr > MFC after:

svn commit: r232518 - in head/sys: boot/fdt/dts dev/fdt dev/mge dev/tsec

2012-03-04 Thread Rafal Jaworowski
Author: raj Date: Sun Mar 4 19:22:52 2012 New Revision: 232518 URL: http://svn.freebsd.org/changeset/base/232518 Log: Respect phy-handle property in Ethernet nodes of the device tree. This lets specify whereabouts of the parent PHY for a given MAC node (and get rid of ugly kludges in mge

Re: svn commit: r232496 - head/share/man/man4

2012-03-04 Thread Eitan Adler
On Sun, Mar 4, 2012 at 1:52 PM, John Baldwin wrote: > Can you do a forced commit to add a commit log of the actual change please? I don't know of any real way to do forced commits so does the following look acceptable? %cat log Forced commit because I forgot my log message in r232496: Fix a var

svn commit: r232519 - head/sys/x86/include

2012-03-04 Thread Tijl Coosemans
Author: tijl Date: Sun Mar 4 20:02:20 2012 New Revision: 232519 URL: http://svn.freebsd.org/changeset/base/232519 Log: Do not use INT64_C and UINT64_C to define 64 bit integer limits. They aren't defined for C++ code unless __STDC_CONSTANT_MACROS is defined. Reported by: jhb Modified:

Re: svn commit: r232264 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-04 Thread Tijl Coosemans
On Sunday 04 March 2012 19:51:22 John Baldwin wrote: > On Tuesday, February 28, 2012 01:38:34 PM Tijl Coosemans wrote: >> Author: tijl >> Date: Tue Feb 28 18:38:33 2012 >> New Revision: 232264 >> URL: http://svn.freebsd.org/changeset/base/232264 >> >> Log: >> Copy amd64 _stdint.h to x86 and merg

svn commit: r232520 - in head/sys: amd64/amd64 amd64/include i386/include pc98/include x86/include

2012-03-04 Thread Tijl Coosemans
Author: tijl Date: Sun Mar 4 20:24:28 2012 New Revision: 232520 URL: http://svn.freebsd.org/changeset/base/232520 Log: Copy amd64 ptrace.h to x86 and merge with i386 ptrace.h. Replace amd64/i386/pc98 ptrace.h with stubs. For amd64 PT_GETXSTATE and PT_SETXSTATE have been redefined to matc

Re: svn commit: r232496 - head/share/man/man4

2012-03-04 Thread Ben Kaduk
On Sun, Mar 4, 2012 at 2:32 PM, Eitan Adler wrote: > On Sun, Mar 4, 2012 at 1:52 PM, John Baldwin wrote: >> Can you do a forced commit to add a commit log of the actual change please? > > I don't know of any real way to do forced commits so does the > following look acceptable? You should be abl

svn commit: r232521 - in head/sys: amd64/conf i386/conf

2012-03-04 Thread Robert Millan
Author: rmh Date: Sun Mar 4 21:31:13 2012 New Revision: 232521 URL: http://svn.freebsd.org/changeset/base/232521 Log: Exclude USB drivers (except umass and ukbd) from main kernel image on i386 and amd64. Reviewed by: hselasky, arch, usb Approved by: kib (mentor) Modified: head/sys

svn commit: r232522 - head

2012-03-04 Thread Dimitry Andric
Author: dim Date: Sun Mar 4 21:36:18 2012 New Revision: 232522 URL: http://svn.freebsd.org/changeset/base/232522 Log: Fix a thinko in r232322, where gcc (and its tools) are not built during the cross-tools stage, if CC=clang and WITH_CLANG_IS_CC is not set. This causes no 'cc' to be inst

Re: svn commit: r232521 - in head/sys: amd64/conf i386/conf

2012-03-04 Thread Andrey Chernov
On Sun, Mar 04, 2012 at 09:31:13PM +, Robert Millan wrote: > Author: rmh > Date: Sun Mar 4 21:31:13 2012 > New Revision: 232521 > URL: http://svn.freebsd.org/changeset/base/232521 > > Log: > Exclude USB drivers (except umass and ukbd) from main kernel image on i386 > and amd64. IMHO, gen

Re: svn commit: r232264 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-04 Thread Andrey Kosachenko
Hi, On 04.03.2012 20:51, John Baldwin wrote: On Tuesday, February 28, 2012 01:38:34 PM Tijl Coosemans wrote: Author: tijl Date: Tue Feb 28 18:38:33 2012 New Revision: 232264 URL: http://svn.freebsd.org/changeset/base/232264 Log: Copy amd64 _stdint.h to x86 and merge with i386 _stdint.h. Rep

svn commit: r232525 - head/sys/net80211

2012-03-04 Thread Adrian Chadd
Author: adrian Date: Sun Mar 4 23:04:16 2012 New Revision: 232525 URL: http://svn.freebsd.org/changeset/base/232525 Log: Fix style(9) issues. Modified: head/sys/net80211/ieee80211_alq.c Modified: head/sys/net80211/ieee80211_alq.c =

svn commit: r232526 - head/sys/net80211

2012-03-04 Thread Adrian Chadd
Author: adrian Date: Sun Mar 4 23:13:52 2012 New Revision: 232526 URL: http://svn.freebsd.org/changeset/base/232526 Log: Add the thread id to the net80211 alq records. This will (hopefully) aid in debugging concurrency related issues. Modified: head/sys/net80211/ieee80211_alq.c head/s

Re: svn commit: r232526 - head/sys/net80211

2012-03-04 Thread Andrew Thompson
On 5 March 2012 12:13, Adrian Chadd wrote: > Author: adrian > Date: Sun Mar  4 23:13:52 2012 > New Revision: 232526 > URL: http://svn.freebsd.org/changeset/base/232526 > > Log: >  Add the thread id to the net80211 alq records. > >  This will (hopefully) aid in debugging concurrency related issues.

Re: svn commit: r232526 - head/sys/net80211

2012-03-04 Thread Adrian Chadd
grr, i must've mis-pasted the line. thanks, I'll fix this. Adrian On 4 March 2012 16:53, Andrew Thompson wrote: > On 5 March 2012 12:13, Adrian Chadd wrote: >> Author: adrian >> Date: Sun Mar  4 23:13:52 2012 >> New Revision: 232526 >> URL: http://svn.freebsd.org/changeset/base/232526 >> >> L

svn commit: r232530 - head/sys/net80211

2012-03-04 Thread Adrian Chadd
Author: adrian Date: Mon Mar 5 02:36:15 2012 New Revision: 232530 URL: http://svn.freebsd.org/changeset/base/232530 Log: Oops - used the wrong field. Noticed by: nwhitehorn Modified: head/sys/net80211/ieee80211_alq.c Modified: head/sys/net80211/ieee80211_alq.c ===

svn commit: r232531 - head/usr.sbin/bsdinstall/scripts

2012-03-04 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Mar 5 02:40:18 2012 New Revision: 232531 URL: http://svn.freebsd.org/changeset/base/232531 Log: Make the chroot shell more functional by providing devfs. Reported by: Robert Simmons MFC after:4 days Modified: head/usr.sbin/bsdinstall/scripts/auto Mod

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

2012-03-04 Thread Gleb Smirnoff
Author: glebius Date: Mon Mar 5 06:12:15 2012 New Revision: 232538 URL: http://svn.freebsd.org/changeset/base/232538 Log: Fix ng_ipfw(4) cookie number in example. Pointed out by: "Jacco van Buuren" Modified: head/share/man/man4/ng_patch.4 Modified: head/share/man/man4/ng

svn commit: r232539 - head/sys/dev/usb/controller

2012-03-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Mar 5 06:41:44 2012 New Revision: 232539 URL: http://svn.freebsd.org/changeset/base/232539 Log: Fix for DWC OTG interrupt register programming. Fix a compiler warning. Add missing header file. MFC after:1 week Modified: head/sys/dev/usb/controller/dwc_

svn commit: r232540 - in head/sys/modules/usb: . dwc_otg

2012-03-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Mar 5 06:46:35 2012 New Revision: 232540 URL: http://svn.freebsd.org/changeset/base/232540 Log: Add DWC OTG module to ARM builds. MFC after:1 week Added: head/sys/modules/usb/dwc_otg/ head/sys/modules/usb/dwc_otg/Makefile (contents, props changed) Modi