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: 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: 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: 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 openpi

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

2010-06-23 Thread Juli Mallett
On Wed, Jun 23, 2010 at 19:26, M. Warner Losh 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 that us

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 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__) || defined(__ia64

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 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 that sets the d

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: head

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 ==

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__) || > define

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: head/sys/kern/subr_param

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 prog

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 pote

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: head/sys/powerpc/

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 inst

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 n

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: head/usr.sbin/sysin

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. Modif

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 availa

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 Approved by: rrs (me

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 re

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. P

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) Modifi

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 a

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 ensure

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 external

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 imp