svn commit: r209457 - releng/8.1/sys/dev/hptiop

2010-06-23 Thread Alexander Motin
Author: mav Date: Wed Jun 23 10:04:48 2010 New Revision: 209457 URL: http://svn.freebsd.org/changeset/base/209457 Log: MFC r209340: Report transport type in XPT_PATH_INQ. PR: i386/147929 Approved by: re (kib) Modified: releng/8.1/sys/dev/hptiop/hptiop.c Directory

svn commit: r209458 - releng/8.1/sys/dev/hptmv

2010-06-23 Thread Alexander Motin
Author: mav Date: Wed Jun 23 10:06:31 2010 New Revision: 209458 URL: http://svn.freebsd.org/changeset/base/209458 Log: MFC r209341: Report transport type in XPT_PATH_INQ. Approved by: re (kib) Modified: releng/8.1/sys/dev/hptmv/entry.c Directory Properties: releng/8.1/sys/ (props

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

2010-06-23 Thread Konstantin Belousov
Author: kib Date: Wed Jun 23 10:06:57 2010 New Revision: 209459 URL: http://svn.freebsd.org/changeset/base/209459 Log: MFC r208920: Reorganize the code in bdwrite() which handles move of dirtiness from the buffer pages to buffer. Drain the VPO_BUSY bit of the buffer pages before setting

svn commit: r209460 - in head/sys: dev/fb i386/i386 i386/include i386/isa

2010-06-23 Thread Konstantin Belousov
Author: kib Date: Wed Jun 23 10:40:28 2010 New Revision: 209460 URL: http://svn.freebsd.org/changeset/base/209460 Log: Remove unused i586 optimized bcopy/bzero/etc implementations that utilize FPU registers for copying. Remove the switch table and jumps from bcopy/bzero/... to the actual

svn commit: r209461 - in head/sys: i386/i386 i386/include i386/isa kern pc98/include

2010-06-23 Thread Konstantin Belousov
Author: kib Date: Wed Jun 23 11:12:58 2010 New Revision: 209461 URL: http://svn.freebsd.org/changeset/base/209461 Log: Remove the support for int13 FPU exception reporting on i386. It is believed that all 486-class CPUs FreeBSD is capable to run on, either have no FPU and cannot use

svn commit: r209462 - in head/sys: i386/i386 i386/isa pc98/pc98

2010-06-23 Thread Konstantin Belousov
Author: kib Date: Wed Jun 23 11:21:19 2010 New Revision: 209462 URL: http://svn.freebsd.org/changeset/base/209462 Log: After the FPU use requires #MF working due to INT13 FPU exception handling removal, MFi386 r209198: Use critical sections instead of disabling local interrupts to

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

2010-06-23 Thread Konstantin Belousov
Author: kib Date: Wed Jun 23 12:17:13 2010 New Revision: 209463 URL: http://svn.freebsd.org/changeset/base/209463 Log: Fix bugs on pc98, use npxgetuserregs() instead of npxgetregs() for get_fpcontext(), and npxsetuserregs() for set_fpcontext). Also, note that usercontext is not initialized

svn commit: r209464 - stable/8/sys/powerpc/aim

2010-06-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 23 13:13:14 2010 New Revision: 209464 URL: http://svn.freebsd.org/changeset/base/209464 Log: MFC r209369: Temporarily disable instruction relocation while setting up the kernel's IBAT entry in early boot in order to prevent possible faults from races

svn commit: r209465 - releng/8.1/sys/powerpc/aim

2010-06-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 23 13:47:27 2010 New Revision: 209465 URL: http://svn.freebsd.org/changeset/base/209465 Log: MFC r209369: Temporarily disable instruction relocation while setting up the kernel's IBAT entry in early boot in order to prevent possible faults from races

svn commit: r209466 - head/sys/boot/forth

2010-06-23 Thread Bruce Cran
Author: brucec Date: Wed Jun 23 14:06:05 2010 New Revision: 209466 URL: http://svn.freebsd.org/changeset/base/209466 Log: Add some more modules to loader.conf. Remove if_awi since support for it was removed 2 years ago. PR: conf/147126 PR: conf/116071 Approved by: rrs (mentor)

svn commit: r209467 - head/usr.sbin/sysinstall

2010-06-23 Thread Bruce Cran
Author: brucec Date: Wed Jun 23 14:11:34 2010 New Revision: 209467 URL: http://svn.freebsd.org/changeset/base/209467 Log: When installing on a machine which doesn't have a VGA card installed, enable a getty on the serial port so that it's possible to login when the system is rebooted.

svn commit: r209468 - head/usr.sbin/sysinstall

2010-06-23 Thread Bruce Cran
Author: brucec Date: Wed Jun 23 14:19:19 2010 New Revision: 209468 URL: http://svn.freebsd.org/changeset/base/209468 Log: Make it easier to cancel a failing installation by only attempting to extract distributions once. If a distribution fails to fetch/extract and the user doesn't want to

svn commit: r209469 - head/usr.sbin/boot0cfg

2010-06-23 Thread Bruce Cran
Author: brucec Date: Wed Jun 23 14:28:08 2010 New Revision: 209469 URL: http://svn.freebsd.org/changeset/base/209469 Log: If a device can't be opened, don't keep going but display the error returned from open() and quit. PR: bin/81035 Submitted by: Peter Schuller peter.schuller at

svn commit: r209470 - head/sys/netinet

2010-06-23 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 23 15:19:07 2010 New Revision: 209470 URL: http://svn.freebsd.org/changeset/base/209470 Log: * Implement sctp_does_stcb_own_this_addr() correclty. It was taking the wrong side into account. * sctp_findassociation_ep_addr() must check the local address if

svn commit: r209471 - stable/8/sys/dev/acpica

2010-06-23 Thread John Baldwin
Author: jhb Date: Wed Jun 23 17:04:42 2010 New Revision: 209471 URL: http://svn.freebsd.org/changeset/base/209471 Log: MFC 209213: When updating individual CPU's lowest Cx state to use, never set it to a state lower than the lowest one supported by the current CPU. This closes some races

svn commit: r209472 - in head/sys: compat/x86bios dev/fb

2010-06-23 Thread Jung-uk Kim
Author: jkim Date: Wed Jun 23 17:20:51 2010 New Revision: 209472 URL: http://svn.freebsd.org/changeset/base/209472 Log: Let x86bios_alloc() pass contigmalloc(9) flags. Use it to set M_WAITOK from VESA BIOS initialization. All other malloc(9) uses in the function is blocking any way.

svn commit: r209473 - releng/8.1/sys/dev/acpica

2010-06-23 Thread John Baldwin
Author: jhb Date: Wed Jun 23 17:51:11 2010 New Revision: 209473 URL: http://svn.freebsd.org/changeset/base/209473 Log: MFC 209213: When updating individual CPU's lowest Cx state to use, never set it to a state lower than the lowest one supported by the current CPU. This closes some races

svn commit: r209474 - stable/8/sys/boot/i386/zfsboot

2010-06-23 Thread John Baldwin
Author: jhb Date: Wed Jun 23 17:56:20 2010 New Revision: 209474 URL: http://svn.freebsd.org/changeset/base/209474 Log: MFC 208388: - Set 'dmadat' earlier so that we properly setup the heap if we fail to locate a high memory area for the heap using the SMAP. - Read the number of hard

svn commit: r209475 - stable/7/sys/boot/i386/zfsboot

2010-06-23 Thread John Baldwin
Author: jhb Date: Wed Jun 23 17:56:51 2010 New Revision: 209475 URL: http://svn.freebsd.org/changeset/base/209475 Log: MFC 208388: - Set 'dmadat' earlier so that we properly setup the heap if we fail to locate a high memory area for the heap using the SMAP. - Read the number of hard

svn commit: r209476 - in stable/8/sys: kern sys

2010-06-23 Thread John Baldwin
Author: jhb Date: Wed Jun 23 18:00:19 2010 New Revision: 209476 URL: http://svn.freebsd.org/changeset/base/209476 Log: MFC 208390: Allow a const char * to be passed as the process name to kproc_kthread_add() without generating a warning. Modified: stable/8/sys/kern/kern_kthread.c

svn commit: r209477 - in stable/8/sys: dev/ath dev/cxgb dev/hatm dev/nfe dev/patm dev/sk dev/stge net net80211 netgraph

2010-06-23 Thread John Baldwin
Author: jhb Date: Wed Jun 23 18:46:10 2010 New Revision: 209477 URL: http://svn.freebsd.org/changeset/base/209477 Log: MFC 198988: Take a step towards removing if_watchdog/if_timer. Don't explicitly set if_watchdog/if_timer to NULL/0 when initializing an ifnet. if_alloc() sets those

svn commit: r209479 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/ixgbe dev/xen/xenpci geom/sched

2010-06-23 Thread John Baldwin
Author: jhb Date: Wed Jun 23 19:22:38 2010 New Revision: 209479 URL: http://svn.freebsd.org/changeset/base/209479 Log: Hoist mergeinfo for sys/dev/ixgbe up to sys. Modified: Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed)

svn commit: r209481 - head/usr.sbin/sysinstall

2010-06-23 Thread Randi Harper
Author: randi Date: Wed Jun 23 19:29:17 2010 New Revision: 209481 URL: http://svn.freebsd.org/changeset/base/209481 Log: Update the man page to reflect the changes to the netDev configuration variable. Approved by: cperciva (mentor) MFC after:3 days Modified:

svn commit: r209480 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci geom/sched

2010-06-23 Thread John Baldwin
Author: jhb Date: Wed Jun 23 19:28:36 2010 New Revision: 209480 URL: http://svn.freebsd.org/changeset/base/209480 Log: Hoist mergeinfo for sys/geom/sched up to sys. Modified: Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed)

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

2010-06-23 Thread Jayachandran C.
Author: jchandra Date: Wed Jun 23 19:42:01 2010 New Revision: 209482 URL: http://svn.freebsd.org/changeset/base/209482 Log: Merge jmallett@'s n64 work into HEAD - changeset 6 PTE flag cleanup from http://svn.freebsd.org/base/user/jmallett/octeon - Rename PTE_xx flags to match their MIPS

svn commit: r209483 - in head/sys: amd64/amd64 amd64/ia32 amd64/include i386/i386

2010-06-23 Thread Konstantin Belousov
Author: kib Date: Wed Jun 23 20:44:07 2010 New Revision: 209483 URL: http://svn.freebsd.org/changeset/base/209483 Log: Clear DF bit in eflags/rflags on the kernel entry. The i386 and amd64 ABI specifies the DF should be zero, and newer compilers do not clear DF before using DF-sensitive

svn commit: r209484 - in stable/8: sbin/mount share/man/man5

2010-06-23 Thread Jilles Tjoelker
Author: jilles Date: Wed Jun 23 20:59:00 2010 New Revision: 209484 URL: http://svn.freebsd.org/changeset/base/209484 Log: MFC r208647,r208654: Clarify devfs manpages slightly. mount(8): add xref to devfs(5) devfs(5): change example to something more likely to be useful (it is not

svn commit: r209485 - head/sys/powerpc/powerpc

2010-06-23 Thread Marcel Moolenaar
Author: marcel Date: Wed Jun 23 22:25:52 2010 New Revision: 209485 URL: http://svn.freebsd.org/changeset/base/209485 Log: In the attach method, refactor to take into account that BUS_GET_RESOURCE_LIST() can return a NULL pointer -- and will for MPC85xx kernels. Modified:

svn commit: r209486 - in head/sys/powerpc: aim include mpc85xx powermac powerpc

2010-06-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 23 22:33:03 2010 New Revision: 209486 URL: http://svn.freebsd.org/changeset/base/209486 Log: Configure interrupts on SMP systems to be distributed among all online CPUs by default, and provide a functional version of BUS_BIND_INTR(). While here, fix some

svn commit: r209487 - releng/8.1/sys/geom/gate

2010-06-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 23 23:03:25 2010 New Revision: 209487 URL: http://svn.freebsd.org/changeset/base/209487 Log: MFC r209262: r209186: BIO_DELETE contains range we want to delete and doesn't provide any useful data, so there is no need to copy it to userland. r209187:

svn commit: r209488 - releng/8.1/sbin/hastd

2010-06-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 23 23:07:57 2010 New Revision: 209488 URL: http://svn.freebsd.org/changeset/base/209488 Log: MFC r209263: r209175: Eliminate dead code. Found by: Coverity Prevent CID: 5158 r209177: Remove macros that are not really needed. The

svn commit: r209489 - head/sys/powerpc/mpc85xx

2010-06-23 Thread Marcel Moolenaar
Author: marcel Date: Wed Jun 23 23:16:27 2010 New Revision: 209489 URL: http://svn.freebsd.org/changeset/base/209489 Log: With openpic(4) using active-low as the default polarity, reconfigure the internal interrupt sources as active-high. The internal interrupt sources are disabled when

svn commit: r209490 - head/sys/kern

2010-06-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 23 23:26:14 2010 New Revision: 209490 URL: http://svn.freebsd.org/changeset/base/209490 Log: Move default HZ from 100 to 1000 on powerpc. Reviewed by: marcel MFC after:2 weeks Modified: head/sys/kern/subr_param.c Modified:

Re: svn commit: r209490 - head/sys/kern

2010-06-23 Thread Marcel Moolenaar
On Jun 23, 2010, at 4:26 PM, Nathan Whitehorn wrote: @@ -53,7 +53,7 @@ __FBSDID($FreeBSD$); */ #ifndef HZ -# if defined(__amd64__) || defined(__i386__) || defined(__ia64__) || defined(__sparc64__) +# if defined(__amd64__) || defined(__i386__) || defined(__ia64__) ||

svn commit: r209491 - head/sys/dev/fb

2010-06-23 Thread Jung-uk Kim
Author: jkim Date: Wed Jun 23 23:34:56 2010 New Revision: 209491 URL: http://svn.freebsd.org/changeset/base/209491 Log: Use M_WAITOK for VESA BIOS initialization consistently. Modified: head/sys/dev/fb/vesa.c Modified: head/sys/dev/fb/vesa.c

svn commit: r209492 - head/sys/kern

2010-06-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 24 00:27:20 2010 New Revision: 209492 URL: http://svn.freebsd.org/changeset/base/209492 Log: Reverse the logic of the if statement that sets the default value of HZ; the list of 1000 Hz platforms was getting unwieldy. Suggested by: marcel Modified:

Re: svn commit: r209492 - head/sys/kern

2010-06-23 Thread Marcel Moolenaar
Thanks! It's appreciated. -- Marcel (Mobile) On Jun 23, 2010, at 5:27 PM, Nathan Whitehorn nwhiteh...@freebsd.org wrote: Author: nwhitehorn Date: Thu Jun 24 00:27:20 2010 New Revision: 209492 URL: http://svn.freebsd.org/changeset/base/209492 Log: Reverse the logic of the if statement

Re: svn commit: r209490 - head/sys/kern

2010-06-23 Thread M. Warner Losh
In message: 3659e546-80a0-4e82-8112-40b093728...@mac.com Marcel Moolenaar xcl...@mac.com writes: : : On Jun 23, 2010, at 4:26 PM, Nathan Whitehorn wrote: : : @@ -53,7 +53,7 @@ __FBSDID($FreeBSD$); : */ : : #ifndef HZ : -# if defined(__amd64__) || defined(__i386__) ||

Re: svn commit: r209490 - head/sys/kern

2010-06-23 Thread Juli Mallett
On Wed, Jun 23, 2010 at 19:26, M. Warner Losh i...@bsdimp.com wrote: : #    define HZ 1000 : #  else : #    define HZ 100 Shouldn't this be defined in some file in ARCH/include instead? Didn't it used to be? I think the problem with doing that is that then someone inevitably writes code

svn commit: r209493 - head/sys/powerpc/mpc85xx

2010-06-23 Thread Marcel Moolenaar
Author: marcel Date: Thu Jun 24 05:05:18 2010 New Revision: 209493 URL: http://svn.freebsd.org/changeset/base/209493 Log: Pass the device_t of the AT PIC driver to atpic_intr() so that we don't have to use a global variable. Pass a NULL frame pointer to the dispatch function just like

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

2010-06-23 Thread Adrian Chadd
Author: adrian Date: Thu Jun 24 05:17:21 2010 New Revision: 209494 URL: http://svn.freebsd.org/changeset/base/209494 Log: Comment about the shared pins I know about. Modified: head/sys/mips/atheros/ar71xxreg.h Modified: head/sys/mips/atheros/ar71xxreg.h

svn commit: r209495 - head/sys/powerpc/booke

2010-06-23 Thread Marcel Moolenaar
Author: marcel Date: Thu Jun 24 05:47:00 2010 New Revision: 209495 URL: http://svn.freebsd.org/changeset/base/209495 Log: Remove debugging printf() -- that is, I assume it was for debugging :-) Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/pmap.c

svn commit: r209496 - head/sys/powerpc/mpc85xx

2010-06-23 Thread Marcel Moolenaar
Author: marcel Date: Thu Jun 24 05:49:58 2010 New Revision: 209496 URL: http://svn.freebsd.org/changeset/base/209496 Log: Assign PCI intline values for ISA interrupts using the new INTR_VEC() macro. Modified: head/sys/powerpc/mpc85xx/pci_ocp.c Modified: head/sys/powerpc/mpc85xx/pci_ocp.c

svn commit: r209497 - in stable/8: sbin/geom/class/part sys/geom/part

2010-06-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 24 05:52:44 2010 New Revision: 209497 URL: http://svn.freebsd.org/changeset/base/209497 Log: MFC r207094 (by marcel): Implement the resize verb and add support for resizing partitions for all schemes but EBR. MFC r207095 (by marcel): Implement the resize