swwdog pseudo device

2015-04-14 Thread Paul Goyette
Does anyone know if there is a need for swwdog to be a defpseudodev swwdog rather than the simpler defpseudo swwdog ? I'd like to modularize the swwdog driver, and things would be so much cleaner to use defpseudo. - |

Re: current status of ixg(4)

2015-04-14 Thread Masanobu SAITOH
also committed a change that ifconfig -z didn't work. Regards Uwe New one: http://www.netbsd.org/~msaitoh/ixg-20150414-0.dif - Sync ixg(4) up to FreeBSD r250108: - Cleanup some unused counters and some unused code. - Improve performance. - Fix flow

Re: __weak definition and problems with Obj-C

2015-04-14 Thread Joerg Sonnenberger
On Mon, Apr 13, 2015 at 11:09:00PM +0200, Riccardo Mottola wrote: This change looks bad, it would make NetBSD incompatible with Obj-c apparently! I asked on the gnustep list and the reply was to report a bug. It is a bug, but in Obj-C. It is not supposed to change the implementation namespace.

Re: __weak definition and problems with Obj-C

2015-04-14 Thread Joerg Sonnenberger
On Tue, Apr 14, 2015 at 06:46:39PM +0200, Riccardo Mottola wrote: Hi, chris...@astron.com (Christos Zoulas) wrote: I sympathize about __weak, but I don't understand what is it trying to do here because I don't have the context in GSConfig.h. It looks to me like it is part of a nested cpp if

Re: __weak definition and problems with Obj-C

2015-04-14 Thread Riccardo Mottola
Hi, chris...@astron.com (Christos Zoulas) wrote: I sympathize about __weak, but I don't understand what is it trying to do here because I don't have the context in GSConfig.h. It looks to me like it is part of a nested cpp if statement, which perhaps is going the wrong way because it does not

Re: swwdog pseudo device

2015-04-14 Thread Paul Goyette
Found the answer in my own commit from 4+ years ago: Convert swwdog(4) from a simple defpseudo device to a defpseudodev so that we can attach a power management handler. The handler prevents a suspend if the watchdog is active, to be consistent with other

daily CVS update output

2015-04-14 Thread NetBSD source update
Updating src tree: P src/UPDATING P src/doc/CHANGES P src/external/bsd/byacc/bin/Makefile P src/external/bsd/byacc/dist/btyaccpar.skel P src/share/man/man4/swwdog.4 P src/share/misc/acronyms P src/sys/arch/aarch64/aarch64/cpu_machdep.c P src/sys/arch/arm/arm/ast.c P

Re: __weak definition and problems with Obj-C

2015-04-14 Thread Riccardo Mottola
Hi Christos, the patch you suggest fixes my problem. Thank you, Riccardo On 04/14/15 20:50, Christos Zoulas wrote: Can you try changing sys/cdefs_elf.h like that: --- cdefs_elf.h.orig2015-04-14 14:48:37.0 -0400 +++ cdefs_elf.h 2015-04-14 14:49:04.0 -0400 @@ -64,11

Re: __weak definition and problems with Obj-C

2015-04-14 Thread Christos Zoulas
In article 552d446f.7000...@libero.it, Riccardo Mottola riccardo.mott...@libero.it wrote: Hi, chris...@astron.com (Christos Zoulas) wrote: I sympathize about __weak, but I don't understand what is it trying to do here because I don't have the context in GSConfig.h. It looks to me like it is

Re: __weak definition and problems with Obj-C

2015-04-14 Thread Riccardo Mottola
Hi, Joerg Sonnenberger wrote: On Tue, Apr 14, 2015 at 06:46:39PM +0200, Riccardo Mottola wrote: after some research, I carry the proof. __weak (and __strong) is an Objective-C keyword instroduced when Apple introduced garbage collection. Thus the change from 6.1.5 header to current header

Re: __weak definition and problems with Obj-C

2015-04-14 Thread Joerg Sonnenberger
On Tue, Apr 14, 2015 at 10:14:36PM +0200, Riccardo Mottola wrote: Hi, Joerg Sonnenberger wrote: On Tue, Apr 14, 2015 at 06:46:39PM +0200, Riccardo Mottola wrote: after some research, I carry the proof. __weak (and __strong) is an Objective-C keyword instroduced when Apple introduced garbage