svn commit: r213904 - in head/sys: conf dev/iicbus powerpc/conf powerpc/powermac

2010-10-15 Thread Andreas Tobler
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/iicbus/ds1775.cFri Oct 15 20:08:16 2010 (r213904) @@ -0,0 +1,255 @@ +/*- + * Copyright (c) 2010 Andreas Tobler + * All

svn commit: r215435 - head/sys/boot/powerpc/ofw

2010-11-17 Thread Andreas Tobler
Author: andreast Date: Wed Nov 17 19:25:37 2010 New Revision: 215435 URL: http://svn.freebsd.org/changeset/base/215435 Log: Load the full 16k stack space. Approved by: nwhitehorn (mentor) Modified: head/sys/boot/powerpc/ofw/start.c Modified: head/sys/boot/powerpc/ofw/start.c

svn commit: r215436 - head/sys/boot/powerpc/ofw

2010-11-17 Thread Andreas Tobler
Author: andreast Date: Wed Nov 17 19:28:48 2010 New Revision: 215436 URL: http://svn.freebsd.org/changeset/base/215436 Log: Make sure the .bss is cleared at the beginning. The pSeries OF ELF loader does not clear .bss automatically. Approved by: nwhitehorn (mentor) Modified:

svn commit: r215437 - head/sys/boot/ofw/libofw

2010-11-17 Thread Andreas Tobler
Author: andreast Date: Wed Nov 17 19:31:48 2010 New Revision: 215437 URL: http://svn.freebsd.org/changeset/base/215437 Log: Move the declaration of the eh struct (used only when debugging is enabled) from ofwn_put into the debug section. Approved by: nwhitehorn (mentor) Modified:

svn commit: r215438 - head/sys/boot/ofw/libofw

2010-11-17 Thread Andreas Tobler
Author: andreast Date: Wed Nov 17 19:35:56 2010 New Revision: 215438 URL: http://svn.freebsd.org/changeset/base/215438 Log: Check the real-mode? OF property to find out whether we operate in real or virtual mode. In virtual mode we have to do memory mapping. On PowerMacs it is usually false

svn commit: r215441 - head/sys/boot/powerpc/ofw

2010-11-17 Thread Andreas Tobler
Author: andreast Date: Wed Nov 17 20:37:16 2010 New Revision: 215441 URL: http://svn.freebsd.org/changeset/base/215441 Log: Revert r215435. We need to figure out the exact value to be loaded. Approved by: nwhitehorn (mentor) Modified: head/sys/boot/powerpc/ofw/start.c Modified:

svn commit: r215577 - head/sys/boot/ofw/libofw

2010-11-20 Thread Andreas Tobler
Author: andreast Date: Sat Nov 20 19:23:16 2010 New Revision: 215577 URL: http://svn.freebsd.org/changeset/base/215577 Log: Check the OF_getprop() return value before proceeding. Allocate only as much space as needed for the mode buffer. Use strcmp, relying on OF giving back NULL terminated

svn commit: r216360 - head/sys/dev/iicbus

2010-12-10 Thread Andreas Tobler
Author: andreast Date: Fri Dec 10 20:27:50 2010 New Revision: 216360 URL: http://svn.freebsd.org/changeset/base/216360 Log: On the Xserve G5 we find the LM75 instead of the DS1775. The core functionality is the same, a difference is that the DS1775 has a better precision than the LM75. But

svn commit: r217027 - head/sys/powerpc/ofw

2011-01-05 Thread Andreas Tobler
Author: andreast Date: Wed Jan 5 21:38:02 2011 New Revision: 217027 URL: http://svn.freebsd.org/changeset/base/217027 Log: Fix null string handling in ofw_real_nextprop function. Pass the right length to ofw_real_map in case of a null string. This makes ofwdump(8) work correctly when

svn commit: r217065 - in head/sys/powerpc: aim cpufreq powermac

2011-01-06 Thread Andreas Tobler
Author: andreast Date: Thu Jan 6 20:19:01 2011 New Revision: 217065 URL: http://svn.freebsd.org/changeset/base/217065 Log: Remove unused variables. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) Modified:

svn commit: r240249 - head/sys/boot/common

2012-09-08 Thread Andreas Tobler
Author: andreast Date: Sat Sep 8 20:00:31 2012 New Revision: 240249 URL: http://svn.freebsd.org/changeset/base/240249 Log: Fix loading of kernel modules at boot time for powerpc64. Reported by: Mathias Breuninger MFC after:1 week Modified: head/sys/boot/common/load_elf.c

svn commit: r240782 - head/sys/boot/common

2012-09-21 Thread Andreas Tobler
Author: andreast Date: Fri Sep 21 18:21:31 2012 New Revision: 240782 URL: http://svn.freebsd.org/changeset/base/240782 Log: Implement elfN(reloc) for powerpc. With this change the kernel is now able to resolve dependencies of modules at boot time and load additional modules when needed.

svn commit: r240793 - head/sys/powerpc/ofw

2012-09-21 Thread Andreas Tobler
Author: andreast Date: Fri Sep 21 21:27:57 2012 New Revision: 240793 URL: http://svn.freebsd.org/changeset/base/240793 Log: Remove leftover from r215163. Modified: head/sys/powerpc/ofw/ofw_real.c Modified: head/sys/powerpc/ofw/ofw_real.c

Re: svn commit: r241629 - in head: . etc/defaults etc/mtree include lib lib/libprocstat rescue/rescue sbin/mount share/examples share/man/man5 share/man/man7 share/mk sys/conf sys/kern sys/modules usr

2012-10-17 Thread Andreas Tobler
On 17.10.12 13:16, Attilio Rao wrote: Author: attilio Date: Wed Oct 17 11:16:17 2012 New Revision: 241629 URL: http://svn.freebsd.org/changeset/base/241629 Log: Disconnect non-MPSAFE NWFS from the build in preparation for dropping GIANT from VFS. In addition, disconnect also netncp, which

Re: svn commit: r241629 - in head: . etc/defaults etc/mtree include lib lib/libprocstat rescue/rescue sbin/mount share/examples share/man/man5 share/man/man7 share/mk sys/conf sys/kern sys/modules usr

2012-10-17 Thread Andreas Tobler
On 17.10.12 19:35, Attilio Rao wrote: On Wed, Oct 17, 2012 at 6:23 PM, Andreas Tobler andre...@freebsd.org wrote: On 17.10.12 13:16, Attilio Rao wrote: Author: attilio Date: Wed Oct 17 11:16:17 2012 New Revision: 241629 URL: http://svn.freebsd.org/changeset/base/241629 Log: Disconnect

Re: svn commit: r241629 - in head: . etc/defaults etc/mtree include lib lib/libprocstat rescue/rescue sbin/mount share/examples share/man/man5 share/man/man7 share/mk sys/conf sys/kern sys/modules usr

2012-10-17 Thread Andreas Tobler
On 17.10.12 20:50, Attilio Rao wrote: On Wed, Oct 17, 2012 at 6:41 PM, Andreas Tobler andre...@freebsd.org wrote: On 17.10.12 19:35, Attilio Rao wrote: On Wed, Oct 17, 2012 at 6:23 PM, Andreas Tobler andre...@freebsd.org wrote: On 17.10.12 13:16, Attilio Rao wrote: Author: attilio Date

svn commit: r241645 - head/tools/build/mk

2012-10-17 Thread Andreas Tobler
Author: andreast Date: Wed Oct 17 19:21:52 2012 New Revision: 241645 URL: http://svn.freebsd.org/changeset/base/241645 Log: Remove the netncp and nwfs files from here. They will be moved to the ObsoleteFiles.inc file later. Discussed with: attilio Modified:

svn commit: r241797 - head/usr.bin/m4

2012-10-21 Thread Andreas Tobler
Author: andreast Date: Sun Oct 21 08:38:55 2012 New Revision: 241797 URL: http://svn.freebsd.org/changeset/base/241797 Log: Fix build. Modified: head/usr.bin/m4/Makefile Modified: head/usr.bin/m4/Makefile == ---

svn commit: r212260 - in head: share/misc usr.bin/calendar/calendars

2010-09-06 Thread Andreas Tobler
(r212260) @@ -58,6 +58,7 @@ akiyama [label=Shunsuke Akiyama\nakiyam ambrisko [label=Doug ambrisko\nambri...@freebsd.org\n2001/12/19] anchie [label=Ana kukec\nanc...@freebsd.org\n2010/04/14] andre [label=Andre oppermann\nan...@freebsd.org\n2003/11/12] +andreast [label=Andreas tobler\nandre

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

2010-09-15 Thread Andreas Tobler
Author: andreast Date: Wed Sep 15 19:08:41 2010 New Revision: 212687 URL: http://svn.freebsd.org/changeset/base/212687 Log: Increase register access delay to deal with the high-latency I2C chipset found in some models of Powermac G5. Approved by: nwhitehorn (mentor) Modified:

Re: svn commit: r213098 - in head/sys: amd64/conf i386/conf pc98/conf powerpc/conf sparc64/conf

2010-09-25 Thread Andreas Tobler
Hi! On 24.09.10 11:04, David Xu wrote: Author: davidxu Date: Fri Sep 24 09:04:16 2010 New Revision: 213098 URL: http://svn.freebsd.org/changeset/base/213098 Log: Now userland POSIX semaphore is based on umtx. The kernel module is only used to support binary compatible, if want to run old

Re: svn commit: r237367 - head/sys/fs/nfsclient

2012-07-01 Thread Andreas Tobler
On 21.06.12 11:26, Konstantin Belousov wrote: Author: kib Date: Thu Jun 21 09:26:06 2012 New Revision: 237367 URL: http://svn.freebsd.org/changeset/base/237367 Log: Enable deadlock avoidance code for NFS client. Hm, since this commit I fail with my nfs installworld/kernel. I have a

Re: svn commit: r237367 - head/sys/fs/nfsclient

2012-07-01 Thread Andreas Tobler
On 01.07.12 14:04, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 01:23:02PM +0200, Andreas Tobler wrote: On 21.06.12 11:26, Konstantin Belousov wrote: Author: kib Date: Thu Jun 21 09:26:06 2012 New Revision: 237367 URL: http://svn.freebsd.org/changeset/base/237367 Log: Enable deadlock

Re: svn commit: r237367 - head/sys/fs/nfsclient

2012-07-01 Thread Andreas Tobler
On 01.07.12 15:41, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 03:37:18PM +0200, Andreas Tobler wrote: On 01.07.12 14:04, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 01:23:02PM +0200, Andreas Tobler wrote: On 21.06.12 11:26, Konstantin Belousov wrote: Author: kib Date: Thu Jun

Re: svn commit: r237367 - head/sys/fs/nfsclient

2012-07-01 Thread Andreas Tobler
On 01.07.12 19:05, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 03:56:52PM +0200, Andreas Tobler wrote: On 01.07.12 15:41, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 03:37:18PM +0200, Andreas Tobler wrote: On 01.07.12 14:04, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 01

Re: svn commit: r237367 - head/sys/fs/nfsclient

2012-07-01 Thread Andreas Tobler
On 01.07.12 23:43, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 08:33:09PM +0200, Andreas Tobler wrote: On 01.07.12 19:05, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 03:56:52PM +0200, Andreas Tobler wrote: On 01.07.12 15:41, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 03

Re: svn commit: r237367 - head/sys/fs/nfsclient

2012-07-01 Thread Andreas Tobler
On 02.07.12 06:40, Andreas Tobler wrote: On 01.07.12 23:43, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 08:33:09PM +0200, Andreas Tobler wrote: On 01.07.12 19:05, Konstantin Belousov wrote: On Sun, Jul 01, 2012 at 03:56:52PM +0200, Andreas Tobler wrote: On 01.07.12 15:41, Konstantin

svn commit: r239046 - head/sys/sys

2012-08-05 Thread Andreas Tobler
Author: andreast Date: Sun Aug 5 06:15:12 2012 New Revision: 239046 URL: http://svn.freebsd.org/changeset/base/239046 Log: Fix typo. Reviewed by: jhb Modified: head/sys/sys/bus.h Modified: head/sys/sys/bus.h

svn commit: r239396 - head/gnu/usr.bin/gdb/arch/powerpc

2012-08-19 Thread Andreas Tobler
Author: andreast Date: Sun Aug 19 19:17:54 2012 New Revision: 239396 URL: http://svn.freebsd.org/changeset/base/239396 Log: Fix typo. Not a win in terms of functionality but in terms of completeness. Modified: head/gnu/usr.bin/gdb/arch/powerpc/config.h Modified:

svn commit: r239397 - head/sys/dev/iicbus

2012-08-19 Thread Andreas Tobler
Author: andreast Date: Sun Aug 19 19:31:36 2012 New Revision: 239397 URL: http://svn.freebsd.org/changeset/base/239397 Log: Do the ADC init only at startup and not during every sensor read call. This reduces the number of interrupts. Modified: head/sys/dev/iicbus/ad7417.c Modified:

svn commit: r239398 - head/sys/dev/iicbus

2012-08-19 Thread Andreas Tobler
Author: andreast Date: Sun Aug 19 19:32:38 2012 New Revision: 239398 URL: http://svn.freebsd.org/changeset/base/239398 Log: Avoid using the degree symbol. Looks ugly on the console. Modified: head/sys/dev/iicbus/max6690.c Modified: head/sys/dev/iicbus/max6690.c

svn commit: r239399 - head/sys/dev/iicbus

2012-08-19 Thread Andreas Tobler
Author: andreast Date: Sun Aug 19 19:34:10 2012 New Revision: 239399 URL: http://svn.freebsd.org/changeset/base/239399 Log: Unify the sysctl description with the other PowerMac temperature drivers. Modified: head/sys/dev/iicbus/ds1775.c Modified: head/sys/dev/iicbus/ds1775.c

svn commit: r239400 - in head/sys: conf dev/iicbus

2012-08-19 Thread Andreas Tobler
:00 1970 (empty, because file is newly added) +++ head/sys/dev/iicbus/ds1631.cSun Aug 19 19:37:14 2012 (r239400) @@ -0,0 +1,413 @@ +/*- + * Copyright (c) 2012 Andreas Tobler + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without

svn commit: r239401 - in head/sys: conf dev/sound/macio

2012-08-19 Thread Andreas Tobler
) @@ -0,0 +1,315 @@ +/*- + * Copyright 2012 by Andreas Tobler. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above

svn commit: r239402 - head/sys/powerpc/conf

2012-08-19 Thread Andreas Tobler
Author: andreast Date: Sun Aug 19 19:44:13 2012 New Revision: 239402 URL: http://svn.freebsd.org/changeset/base/239402 Log: Add the ds1631 temperature driver. Modified: head/sys/powerpc/conf/GENERIC head/sys/powerpc/conf/GENERIC64 head/sys/powerpc/conf/NOTES Modified:

svn commit: r227586 - head/contrib/gcc/config/rs6000

2011-11-16 Thread Andreas Tobler
Author: andreast Date: Wed Nov 16 21:22:51 2011 New Revision: 227586 URL: http://svn.freebsd.org/changeset/base/227586 Log: Copy over the ASM_DECLARE_FUNCTION_SIZE macro from linux64.h. This macro declares the proper size of a function. Without this macro recent GNU as will complain about

svn commit: r227739 - in head: . contrib/binutils/ld/emulparams contrib/gcc/config/rs6000 contrib/llvm/tools/clang/lib/Driver gnu/usr.bin/binutils/ld sys/boot/ofw sys/boot/powerpc sys/boot/uboot

2011-11-19 Thread Andreas Tobler
Author: andreast Date: Sat Nov 19 19:25:57 2011 New Revision: 227739 URL: http://svn.freebsd.org/changeset/base/227739 Log: Rename the linker emulation name for powerpc and powerc64. This is needed that we can also use the upstream binutils linker where we have to have a unique name for the

Re: svn commit: r228955 - head/include

2011-12-29 Thread Andreas Tobler
On 29.12.11 15:41, Ed Schouten wrote: Author: ed Date: Thu Dec 29 14:41:17 2011 New Revision: 228955 URL: http://svn.freebsd.org/changeset/base/228955 Log: Don't define static_assert for C++. Even though _Static_assert() is pretty robust for C code, it cannot work correctly with C++

Re: svn commit: r228955 - head/include

2011-12-29 Thread Andreas Tobler
Hi Ed, On 29.12.11 19:32, Ed Schouten wrote: * Andreas Toblerandre...@freebsd.org, 20111229 18:43: Thank you Ed! gcc-4.6 bootstrap successful. But it seems GCC 4.7 is still broken. I am not planning to fix that, because it's a shortcoming of GCC. As soon as the GNU folks implement C++11

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

2012-01-04 Thread Andreas Tobler
Author: andreast Date: Wed Jan 4 16:02:52 2012 New Revision: 229494 URL: http://svn.freebsd.org/changeset/base/229494 Log: Introduce internal macros for __U/INT64_C to define the U/INT64_MAX/MIN values properly. The previous definition only worked if __STDC_LIMIT_MACROS and

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

2012-01-04 Thread Andreas Tobler
Author: andreast Date: Wed Jan 4 16:07:16 2012 New Revision: 229496 URL: http://svn.freebsd.org/changeset/base/229496 Log: Apply the same change as in r229494. Requested by: ed Modified: head/sys/mips/include/_stdint.h Modified: head/sys/mips/include/_stdint.h

svn commit: r223082 - head/contrib/gdb/gdb

2011-06-14 Thread Andreas Tobler
Author: andreast Date: Tue Jun 14 15:20:30 2011 New Revision: 223082 URL: http://svn.freebsd.org/changeset/base/223082 Log: - Check on target wordsize instead of compile time define if we build on 64-bit PowerPC or 32-bit PowerPC. - Make gdb work on powerpc64, the code for this is

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

2011-06-23 Thread Andreas Tobler
Author: andreast Date: Thu Jun 23 09:43:53 2011 New Revision: 223470 URL: http://svn.freebsd.org/changeset/base/223470 Log: Add leading zeros when printing the stackframe on __powerpc64__. Modified: head/sys/powerpc/powerpc/db_trace.c Modified: head/sys/powerpc/powerpc/db_trace.c

svn commit: r223471 - head/sys/powerpc/aim

2011-06-23 Thread Andreas Tobler
Author: andreast Date: Thu Jun 23 09:46:12 2011 New Revision: 223471 URL: http://svn.freebsd.org/changeset/base/223471 Log: Fix merge typo. Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mmu_oea64.c

Re: svn commit: r224216 - in head/sys: ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2011-07-25 Thread Andreas Tobler
On 24.07.11 23:35, Nathan Whitehorn wrote: On 07/19/11 07:41, Attilio Rao wrote: Author: attilio Date: Tue Jul 19 12:41:57 2011 New Revision: 224216 URL: http://svn.freebsd.org/changeset/base/224216 Log: On 64 bit architectures size_t is 8 bytes, thus it should use an 8 bytes storage.

svn commit: r224400 - head/sys/powerpc/aim

2011-07-25 Thread Andreas Tobler
Author: andreast Date: Mon Jul 25 20:10:01 2011 New Revision: 224400 URL: http://svn.freebsd.org/changeset/base/224400 Log: This a follow up commit from r224216 for powerpc 32-bit. Increase the storage size for sintrcnt/sintrnames to .long. Reviewed by: nwhitehorn Approved by: re (kib)

Re: svn commit: r224216 - in head/sys: ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2011-07-29 Thread Andreas Tobler
On 28.07.11 04:59, Attilio Rao wrote: I think that the following patch may better reflect the definition of size_t: http://www.freebsd.org/~attilio/sintrcnt-fixup32.diff Do you think you can test it out? PowerPC 32-bit built, booted and completed a buildworld. Thanks, Andreas

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

2011-01-11 Thread Andreas Tobler
Author: andreast Date: Tue Jan 11 21:18:29 2011 New Revision: 217286 URL: http://svn.freebsd.org/changeset/base/217286 Log: Add new functions, fcu_fan_set_pwm and fcu_fan_get_pwm, to set and get the pwm values. We can now set the fan's speed of a PWM controlled fan with % numbers between 30

svn commit: r217451 - head/sys/powerpc/aim

2011-01-15 Thread Andreas Tobler
Author: andreast Date: Sat Jan 15 19:16:05 2011 New Revision: 217451 URL: http://svn.freebsd.org/changeset/base/217451 Log: Remove unused variables. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) Modified:

svn commit: r217452 - head/sys/dev/iicbus

2011-01-15 Thread Andreas Tobler
Author: andreast Date: Sat Jan 15 19:16:56 2011 New Revision: 217452 URL: http://svn.freebsd.org/changeset/base/217452 Log: Remove unused variable. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) Modified:

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

2011-01-20 Thread Andreas Tobler
Author: andreast Date: Thu Jan 20 20:23:03 2011 New Revision: 217659 URL: http://svn.freebsd.org/changeset/base/217659 Log: Remove unused variables. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) Modified:

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

2011-03-17 Thread Andreas Tobler
Author: andreast Date: Thu Mar 17 19:44:00 2011 New Revision: 219718 URL: http://svn.freebsd.org/changeset/base/219718 Log: Remove duplicate definition of FIRSTARG. Approved by: nwhitehorn (mentor) Modified: head/sys/powerpc/include/frame.h Modified: head/sys/powerpc/include/frame.h

svn commit: r233783 - head/usr.sbin/makefs/cd9660

2012-04-02 Thread Andreas Tobler
Author: andreast Date: Mon Apr 2 16:26:32 2012 New Revision: 233783 URL: http://svn.freebsd.org/changeset/base/233783 Log: - Write the ISO9660 descriptor after the apm partition entries. - Fill the needed pmPartStatus flags. At least the OpenBIOS implementation relies on these flags.

Re: svn commit: r234356 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-22 Thread Andreas Tobler
On 16.04.12 23:36, Dimitry Andric wrote: Author: dim Date: Mon Apr 16 21:36:55 2012 New Revision: 234356 URL: http://svn.freebsd.org/changeset/base/234356 Log: Work around an issue on 32-bit PowerPC, where clang executable can get too big, causing 'relocation truncated to fit' errors at

Re: svn commit: r234356 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-22 Thread Andreas Tobler
On 23.04.12 02:55, Nathan Whitehorn wrote: On 04/22/12 15:41, Andreas Tobler wrote: On 16.04.12 23:36, Dimitry Andric wrote: Author: dim Date: Mon Apr 16 21:36:55 2012 New Revision: 234356 URL: http://svn.freebsd.org/changeset/base/234356 Log: Work around an issue on 32-bit PowerPC, where

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

2011-04-14 Thread Andreas Tobler
Author: andreast Date: Thu Apr 14 18:14:43 2011 New Revision: 220638 URL: http://svn.freebsd.org/changeset/base/220638 Log: Add stoppcbs[] arrays on powerpc(64) and have each CPU save its current context in the IPI_STOP handler. Similar as done on other architectures. Approved by:

svn commit: r220639 - head/sys/powerpc/aim

2011-04-14 Thread Andreas Tobler
Author: andreast Date: Thu Apr 14 18:26:50 2011 New Revision: 220639 URL: http://svn.freebsd.org/changeset/base/220639 Log: The macro MOEA_PVO_CHECK is empty and not used. It is a left over from the NetBSD import. Remove the definition and all its occurrences. Approved by: nwhitehorn

svn commit: r220642 - head/sys/powerpc/aim

2011-04-14 Thread Andreas Tobler
Author: andreast Date: Thu Apr 14 19:37:31 2011 New Revision: 220642 URL: http://svn.freebsd.org/changeset/base/220642 Log: Adjust debugging string to match the actual function. Approved by: nwhitehorn (mentor) Modified: head/sys/powerpc/aim/mmu_oea64.c Modified:

svn commit: r220818 - head/sys/powerpc/aim

2011-04-19 Thread Andreas Tobler
Author: andreast Date: Tue Apr 19 07:49:58 2011 New Revision: 220818 URL: http://svn.freebsd.org/changeset/base/220818 Log: Add leading zeros when printing the physical memory chunks on __powerpc64__. Approved by: nwhitehorn (mentor) Modified: head/sys/powerpc/aim/machdep.c Modified:

Re: svn commit: r221550 - head/sys/powerpc/conf

2011-05-08 Thread Andreas Tobler
On 08.05.11 00:17, Attilio Rao wrote: 2011/5/6 Attilio Raoatti...@freebsd.org: 2011/5/6 Nathan Whitehornnwhiteh...@freebsd.org: Author: nwhitehorn Date: Fri May 6 20:43:02 2011 New Revision: 221550 URL: http://svn.freebsd.org/changeset/base/221550 Log: SMP has worked perfectly for a very

Re: svn commit: r221550 - head/sys/powerpc/conf

2011-05-09 Thread Andreas Tobler
On 09.05.11 00:15, Attilio Rao wrote: 2011/5/8 Andreas Toblerandre...@freebsd.org: On 08.05.11 00:17, Attilio Rao wrote: 2011/5/6 Attilio Raoatti...@freebsd.org: 2011/5/6 Nathan Whitehornnwhiteh...@freebsd.org: Author: nwhitehorn Date: Fri May 6 20:43:02 2011 New Revision: 221550 URL:

svn commit: r222449 - in head/sys: conf dev/iicbus powerpc/conf

2011-05-29 Thread Andreas Tobler
(c) 2010 Andreas Tobler + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice

svn commit: r222450 - head/sys/boot/powerpc/ofw

2011-05-29 Thread Andreas Tobler
Author: andreast Date: Sun May 29 14:27:11 2011 New Revision: 222450 URL: http://svn.freebsd.org/changeset/base/222450 Log: Add some missing files. Without we hang in the OF prompt asking for screen.4th. Approved by: nwhitehorn (mentor) Modified: head/sys/boot/powerpc/ofw/Makefile

svn commit: r222658 - head/sys/dev/iicbus

2011-06-03 Thread Andreas Tobler
Author: andreast Date: Fri Jun 3 18:58:32 2011 New Revision: 222658 URL: http://svn.freebsd.org/changeset/base/222658 Log: - Improve error handling. - Add a retry loop for the i2c sensor reading. - Update the sensor handling for sensors which do not have a location entry. [1]

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

2011-06-03 Thread Andreas Tobler
Author: andreast Date: Fri Jun 3 20:43:12 2011 New Revision: 222659 URL: http://svn.freebsd.org/changeset/base/222659 Log: - Introduce a define for ZERO_C_TO_K. - Fix the printing of the temperature when we exceed the critical value. Approved by: nwhitehorn (mentor) Modified:

svn commit: r222673 - head/sys/dev/iicbus

2011-06-04 Thread Andreas Tobler
Author: andreast Date: Sat Jun 4 09:19:53 2011 New Revision: 222673 URL: http://svn.freebsd.org/changeset/base/222673 Log: Replace the FCU_ZERO_C_TO_K with the ZERO_C_TO_K from powermac_thermal.h. Approved by: nwhitehorn (mentor) Modified: head/sys/dev/iicbus/ds1775.c Modified:

svn commit: r222674 - head/sys/dev/iicbus

2011-06-04 Thread Andreas Tobler
Author: andreast Date: Sat Jun 4 09:23:54 2011 New Revision: 222674 URL: http://svn.freebsd.org/changeset/base/222674 Log: - Improve error handling. - Add a retry loop for the i2c sensor reading. - Check on busy status of the chip and on invalid values. - Fix a typo in a comment. -

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

2011-06-04 Thread Andreas Tobler
Author: andreast Date: Sat Jun 4 09:25:59 2011 New Revision: 222675 URL: http://svn.freebsd.org/changeset/base/222675 Log: - Improve error handling. - Add retry loops for the i2c read/write functions. Approved by: nwhitehorn (mentor) Modified: head/sys/powerpc/powermac/fcu.c

Re: svn commit: r222449 - in head/sys: conf dev/iicbus powerpc/conf

2011-06-04 Thread Andreas Tobler
Hi, sorry for the delay. On 29.05.11 17:10, Henrik Brix Andersen wrote: Hi, On May 29, 2011, at 16:25, Andreas Tobler wrote: Author: andreast Date: Sun May 29 14:25:42 2011 New Revision: 222449 URL: http://svn.freebsd.org/changeset/base/222449 Log: Add a new driver, the ad7417, to read

svn commit: r222686 - in head/sys: conf powerpc/conf powerpc/powermac

2011-06-04 Thread Andreas Tobler
/windtunnel.c Sat Jun 4 15:17:35 2011 (r222686) @@ -0,0 +1,216 @@ +/*- + * Copyright (c) 2011 Justin Hibbits + * Copyright (c) 2010 Andreas Tobler + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

Re: svn commit: r222666 - head/sys/powerpc/aim

2011-06-05 Thread Andreas Tobler
On 04.06.11 05:22, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sat Jun 4 03:22:16 2011 New Revision: 222666 URL: http://svn.freebsd.org/changeset/base/222666 Log: Fix a typo derived from a mismerge from mmu_oea that would cause pmap_sync_icache() to sync random (possibly uncached or

svn commit: r222860 - head/sys/dev/iicbus

2011-06-08 Thread Andreas Tobler
Author: andreast Date: Wed Jun 8 16:00:30 2011 New Revision: 222860 URL: http://svn.freebsd.org/changeset/base/222860 Log: - Improve error handling. - Add retry loops in the i2c read/write functions. - Combied the ADC channel selection and readout of the value into one iicbus_transfer

svn commit: r229660 - head/sys/powerpc/conf

2012-01-05 Thread Andreas Tobler
Author: andreast Date: Thu Jan 5 22:06:01 2012 New Revision: 229660 URL: http://svn.freebsd.org/changeset/base/229660 Log: Fix build on powerpc64 too. The same as r229640. Modified: head/sys/powerpc/conf/GENERIC64 Modified: head/sys/powerpc/conf/GENERIC64

svn commit: r229693 - in head/lib/libc: powerpc powerpc64

2012-01-06 Thread Andreas Tobler
Author: andreast Date: Fri Jan 6 09:21:40 2012 New Revision: 229693 URL: http://svn.freebsd.org/changeset/base/229693 Log: Use the macro WEAK_ALIAS. Tested on 32 and 64-bit. Modified: head/lib/libc/powerpc/SYS.h head/lib/libc/powerpc64/SYS.h Modified: head/lib/libc/powerpc/SYS.h

svn commit: r229715 - head/contrib/gcc/config

2012-01-06 Thread Andreas Tobler
Author: andreast Date: Fri Jan 6 18:37:49 2012 New Revision: 229715 URL: http://svn.freebsd.org/changeset/base/229715 Log: Silence a warning about redefinition of TARGET_ELF on powerpc. Modified: head/contrib/gcc/config/freebsd.h Modified: head/contrib/gcc/config/freebsd.h

Re: svn commit: r229693 - in head/lib/libc: powerpc powerpc64

2012-01-06 Thread Andreas Tobler
Hi Bruce, thank you for the feedback. I wasn't aware about the fine details. I try to understand and implement what you suggest. It may take several iterations until I match everything. On 06.01.12 14:12, Bruce Evans wrote: On Fri, 6 Jan 2012, Andreas Tobler wrote: Log: Use the macro

svn commit: r230390 - head/sys/conf

2012-01-20 Thread Andreas Tobler
Author: andreast Date: Fri Jan 20 18:49:47 2012 New Revision: 230390 URL: http://svn.freebsd.org/changeset/base/230390 Log: Disable GUPROF on archs other than i386/amd64 since the fine details are not implemented. Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk

svn commit: r230391 - head/sys/conf

2012-01-20 Thread Andreas Tobler
Author: andreast Date: Fri Jan 20 18:52:31 2012 New Revision: 230391 URL: http://svn.freebsd.org/changeset/base/230391 Log: Add the .opd section, this is helps booting a profiled kernel. Adjust the OUTPUT_ARCH and use the builtin ALIGN() to adjust the data segment. Modified:

svn commit: r230400 - in head: lib/libc/powerpc64/sys sys/powerpc/aim sys/powerpc/include sys/powerpc/ofw sys/powerpc/powerpc

2012-01-20 Thread Andreas Tobler
Author: andreast Date: Fri Jan 20 22:34:19 2012 New Revision: 230400 URL: http://svn.freebsd.org/changeset/base/230400 Log: This commit adds profiling support for powerpc64. Now we can do application profiling and kernel profiling. To enable kernel profiling one has to build kgmon(8). I

Re: svn commit: r230390 - head/sys/conf

2012-01-20 Thread Andreas Tobler
On 21.01.12 03:52, Bruce Evans wrote: On Fri, 20 Jan 2012, Andreas Tobler wrote: Log: Disable GUPROF on archs other than i386/amd64 since the fine details are not implemented. This was intentionally not done. Just don't use config -pp on arches that don't suppport it. profile 2

Re: svn commit: r229693 - in head/lib/libc: powerpc powerpc64

2012-01-21 Thread Andreas Tobler
I write this reply from another machine... Here is what I have tested so far. Is this the right approach? Thank you in advance, Andreas Index: lib/libc/powerpc/SYS.h === --- lib/libc/powerpc/SYS.h (revision 230383) +++

svn commit: r230422 - head/sys/conf

2012-01-21 Thread Andreas Tobler
Author: andreast Date: Sat Jan 21 11:42:40 2012 New Revision: 230422 URL: http://svn.freebsd.org/changeset/base/230422 Log: Revert r230390. Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk ==

Re: svn commit: r229693 - in head/lib/libc: powerpc powerpc64

2012-01-21 Thread Andreas Tobler
On 01/21/12 12:46, Bruce Evans wrote: On Sat, 21 Jan 2012, Andreas Tobler wrote: I write this reply from another machine... Here is what I have tested so far. Is this the right approach? Seems mostly what I want. I wouldn't change the right-justification of the backslashes, since most

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
Hi Eitan, On 20.01.12 02:38, Eitan Adler wrote: Author: eadler Date: Fri Jan 20 01:38:21 2012 New Revision: 230353 URL: http://svn.freebsd.org/changeset/base/230353 Log: Fix warning when compiling with gcc46: error: variable 'temp' set but not used Approved by: dim

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
On 25.01.12 01:40, Hiroki Sato wrote: Andreas Toblerandre...@freebsd.org wrote in4f1f3585.8060...@freebsd.org: an Hi Eitan, an an On 20.01.12 02:38, Eitan Adler wrote: anAuthor: eadler anDate: Fri Jan 20 01:38:21 2012 anNew Revision: 230353 anURL:

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
On 25.01.12 06:50, Garrett Cooper wrote: On Tue, Jan 24, 2012 at 9:35 PM, Andreas Toblerandre...@freebsd.org wrote: ... It is actually r230354, this is the commit which shows the failure. And I reverted back to 230353 and onfirmed that it 'works'. I additionally built with -O0 -g, see

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-25 Thread Andreas Tobler
Hiroki Sato lt;h...@freebsd.orggt; wrote in lt;20120125.151236.688056751317619770@allbsd.orggt;: hrgt; Andreas Tobler lt;andre...@freebsd.orggt; wrote hrgt; in lt;4f1f9cd1.9070...@freebsd.orggt;: hrgt; hrgt; angt; It is a powerpc64 crossbuild installation, built on amd64. It is hrgt

svn commit: r231019 - head/sys/powerpc/aim

2012-02-05 Thread Andreas Tobler
Author: andreast Date: Sun Feb 5 15:59:18 2012 New Revision: 231019 URL: http://svn.freebsd.org/changeset/base/231019 Log: Revert the _NOPROF entries on cpu_throw, cpu_switch and savectx. They can be profiled too now. MFC after:2 weeks Modified: head/sys/powerpc/aim/swtch64.S

svn commit: r231044 - in head: lib/libc/powerpc lib/libc/powerpc/gen lib/libc/powerpc64 lib/libc/powerpc64/gen sys/powerpc/include

2012-02-05 Thread Andreas Tobler
Author: andreast Date: Sun Feb 5 20:04:43 2012 New Revision: 231044 URL: http://svn.freebsd.org/changeset/base/231044 Log: Replace the assembler macro WEAK_ALIAS with a new macro WEAK_REFERENCE which has the same API as __weak_reference(). Give 'x' in SYS.h a more meaningful name.

svn commit: r231908 - head/sys/powerpc/conf

2012-02-19 Thread Andreas Tobler
Author: andreast Date: Sun Feb 19 10:10:12 2012 New Revision: 231908 URL: http://svn.freebsd.org/changeset/base/231908 Log: Enable the new PCI-PCI bridge driver by default. Tested on 32- and 64-bit PowerMac. Modified: head/sys/powerpc/conf/DEFAULTS Modified: head/sys/powerpc/conf/DEFAULTS

svn commit: r232400 - head/sys/dev/iicbus

2012-03-02 Thread Andreas Tobler
Author: andreast Date: Fri Mar 2 18:18:14 2012 New Revision: 232400 URL: http://svn.freebsd.org/changeset/base/232400 Log: Fix typo. Modified: head/sys/dev/iicbus/ds1775.c Modified: head/sys/dev/iicbus/ds1775.c ==

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

Re: svn commit: r232929 - head/include/xlocale

2012-03-13 Thread Andreas Tobler
On 13.03.12 18:32, David Chisnall wrote: Author: theraven Date: Tue Mar 13 17:32:55 2012 New Revision: 232929 URL: http://svn.freebsd.org/changeset/base/232929 Log: Fix the other missing prototypes. Approved by: dim (mentor) Modified: head/include/xlocale/_ctype.h Modified:

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

2012-03-19 Thread Andreas Tobler
Author: andreast Date: Mon Mar 19 18:03:20 2012 New Revision: 233188 URL: http://svn.freebsd.org/changeset/base/233188 Log: Provide a fix for certain PowerMacs where the U3 i2c lacks the interrupt info. Tested by:Robert Hish MFC after:1 week Modified:

Re: svn commit: r250659 - in head: . share/mk tools/build/options tools/tools/makeroot

2013-05-16 Thread Andreas Tobler
On 15.05.13 16:30, Brooks Davis wrote: Author: brooks Date: Wed May 15 14:30:03 2013 New Revision: 250659 URL: http://svnweb.freebsd.org/changeset/base/250659 Log: Add support for an external cross compiler. The cross compiler is specified by passing the XCC, XCXX, and XCPP variables

Re: svn commit: r250659 - in head: . share/mk tools/build/options tools/tools/makeroot

2013-05-20 Thread Andreas Tobler
On 20.05.13 22:10, Brooks Davis wrote: On Mon, May 20, 2013 at 09:59:35PM +0200, Andreas Tobler wrote: On 20.05.13 21:51, Brooks Davis wrote: On Fri, May 17, 2013 at 12:06:01AM +0200, Andreas Tobler wrote: On 15.05.13 16:30, Brooks Davis wrote: Author: brooks Date: Wed May 15 14:30:03 2013

svn commit: r264982 - head/sys/dev/usb/wlan

2014-04-26 Thread Andreas Tobler
Author: andreast Date: Sat Apr 26 19:30:04 2014 New Revision: 264982 URL: http://svnweb.freebsd.org/changeset/base/264982 Log: Fix gcc build, initialize off variable. Modified: head/sys/dev/usb/wlan/if_urtwn.c Modified: head/sys/dev/usb/wlan/if_urtwn.c

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

2013-08-23 Thread Andreas Tobler
Author: andreast Date: Fri Aug 23 20:39:41 2013 New Revision: 254737 URL: http://svnweb.freebsd.org/changeset/base/254737 Log: Return EIO iso -1, the kiic_transfer has an signed return. Submitted by: Luiz Otavio O Souza loos.br AT gmail.com Modified: head/sys/powerpc/powermac/kiic.c

svn commit: r255018 - head/tools/build/mk

2013-08-29 Thread Andreas Tobler
Author: andreast Date: Thu Aug 29 11:40:45 2013 New Revision: 255018 URL: http://svnweb.freebsd.org/changeset/base/255018 Log: Remove GNU_PATCH leftover. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk

2013-09-05 Thread Andreas Tobler
On 05.09.13 22:54, John Baldwin wrote: On Thursday, September 05, 2013 4:15:40 pm Joel Dahl wrote: On Thu, Sep 05, 2013 at 10:13:34AM -0400, John Baldwin wrote: On Tuesday, September 03, 2013 3:52:41 pm Joel Dahl wrote: On Thu, Aug 22, 2013 at 05:58:35PM +0200, Joel Dahl wrote: On Sun, Aug

  1   2   >