CVS commit: src/share/man/man9

2010-03-01 Thread Jukka Ruohonen
contributed to The NetBSD Foundation +.\ by Jukka Ruohonen. +.\ +.\ 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

CVS commit: src/distrib/sets/lists/comp

2010-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Mar 1 19:12:49 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi Log Message: Add setbit(9). To generate a diff of this commit: cvs rdiff -u -r1.1399 -r1.1400 src/distrib/sets/lists/comp/mi Please note that diffs

CVS commit: src/distrib/sets/lists/comp

2010-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Mar 1 19:12:49 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi Log Message: Add setbit(9). To generate a diff of this commit: cvs rdiff -u -r1.1399 -r1.1400 src/distrib/sets/lists/comp/mi Please note that diffs

CVS commit: src/share/man/man3

2010-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 2 05:59:57 UTC 2010 Modified Files: src/share/man/man3: __arraycount.3 Log Message: Speak about typical instead of possible usage in the example. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/share/man/man3

2010-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 2 05:59:57 UTC 2010 Modified Files: src/share/man/man3: __arraycount.3 Log Message: Speak about typical instead of possible usage in the example. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/share/man/man3

2010-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 2 06:20:03 UTC 2010 Modified Files: src/share/man/man3: __UNCONST.3 Log Message: As per suggestions from mrg@, improve the lead paragraph and stress that these macros are not recommended. Also remove the example as it

CVS commit: src/share/man/man3

2010-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 2 06:20:03 UTC 2010 Modified Files: src/share/man/man3: __UNCONST.3 Log Message: As per suggestions from mrg@, improve the lead paragraph and stress that these macros are not recommended. Also remove the example as it

CVS commit: src/share/man/man3

2010-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 2 06:52:53 UTC 2010 Modified Files: src/share/man/man3: bits.3 Log Message: Remove some /* comments */ in the example so that it will nicely fit into 80 columns. To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/share/man/man3

2010-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 2 06:52:53 UTC 2010 Modified Files: src/share/man/man3: bits.3 Log Message: Remove some /* comments */ in the example so that it will nicely fit into 80 columns. To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/share/man/man5

2010-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 2 07:26:47 UTC 2010 Modified Files: src/share/man/man5: mk.conf.5 Log Message: Catch up with the changes to SSP on x86. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/share/man/man5/mk.conf.5 Please

CVS commit: src/share/man/man5

2010-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 2 07:26:47 UTC 2010 Modified Files: src/share/man/man5: mk.conf.5 Log Message: Catch up with the changes to SSP on x86. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/share/man/man5/mk.conf.5 Please

CVS commit: src/sys/dev/acpi

2010-03-02 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 2 18:44:47 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c acpi_ec.c acpi_madt.c acpi_powerres.c acpi_resource.c aiboost.c atk0110.c dalb_acpi.c fdc_acpi.c sony_acpi.c Log Message: Format string

CVS commit: src/sys/dev/acpi

2010-03-02 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 2 18:44:47 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c acpi_ec.c acpi_madt.c acpi_powerres.c acpi_resource.c aiboost.c atk0110.c dalb_acpi.c fdc_acpi.c sony_acpi.c Log Message: Format string

CVS commit: src/sys/dev/acpi

2010-03-02 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 3 06:54:25 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Refactor acpi_make_devnode() to make it a little more readable. No functional change intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/acpi

2010-03-02 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 3 06:54:25 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Refactor acpi_make_devnode() to make it a little more readable. No functional change intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/acpi

2010-03-02 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 3 06:57:05 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Convert the single instance of ACPI_EXTRA_DEBUG to ACPIVERBOSE. To generate a diff of this commit: cvs rdiff -u -r1.151 -r1.152

CVS commit: src/sys/dev/acpi

2010-03-02 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 3 06:57:05 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Convert the single instance of ACPI_EXTRA_DEBUG to ACPIVERBOSE. To generate a diff of this commit: cvs rdiff -u -r1.151 -r1.152

CVS commit: src/sys/arch/i386/conf

2010-03-02 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 3 06:57:54 UTC 2010 Modified Files: src/sys/arch/i386/conf: ALL Log Message: Remove ACPI_EXTRA_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.244 -r1.245 src/sys/arch/i386/conf/ALL Please note that diffs

CVS commit: src/sys/arch/i386/conf

2010-03-02 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 3 06:57:54 UTC 2010 Modified Files: src/sys/arch/i386/conf: ALL Log Message: Remove ACPI_EXTRA_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.244 -r1.245 src/sys/arch/i386/conf/ALL Please note that diffs

Re: CVS commit: src/sys/dev/acpi

2010-03-03 Thread Jukka Ruohonen
On Thu, Mar 04, 2010 at 03:10:18AM +, Paul Goyette wrote: Module Name: src Committed By: pgoyette Date: Thu Mar 4 03:10:18 UTC 2010 Modified Files: src/sys/dev/acpi: smbus_acpi.c Log Message: Replace ACPI_FREE() with AcpiOsFree() so we no longer need to define

CVS commit: src/share/man/man9

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 08:09:52 UTC 2010 Modified Files: src/share/man/man9: Makefile Added Files: src/share/man/man9: roundup.9 Log Message: Document the counting and rounding macros from sys/param.h. To generate a diff of this

CVS commit: src/share/man/man9

2010-03-04 Thread Jukka Ruohonen
+.\ by Jukka Ruohonen. +.\ +.\ 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, this list of conditions

CVS commit: src/distrib/sets/lists/comp

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 08:13:29 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi Log Message: Add roundup(9). To generate a diff of this commit: cvs rdiff -u -r1.1401 -r1.1402 src/distrib/sets/lists/comp/mi Please note that diffs

CVS commit: src/sys/dev/acpi

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 08:44:55 UTC 2010 Modified Files: src/sys/dev/acpi: atk0110.c Log Message: Provide the _COMPONENT definition and use ACPI_FREE(x) instead of AcpiOsFree(). If the memory tracking of ACPICA is enabled, the latter is

CVS commit: src/share/man/man9

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 09:57:12 UTC 2010 Modified Files: src/share/man/man9: hz.9 Log Message: Instead of int hz, use extern int hz. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man9/hz.9 Please note that

CVS commit: src/share/man/man9

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 09:57:12 UTC 2010 Modified Files: src/share/man/man9: hz.9 Log Message: Instead of int hz, use extern int hz. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man9/hz.9 Please note that

Re: CVS commit: src/sys/dev/acpi

2010-03-04 Thread Jukka Ruohonen
On Thu, Mar 04, 2010 at 05:12:43AM -0800, Paul Goyette wrote: On Thu, 4 Mar 2010, Jukka Ruohonen wrote: Well, this is wrong in the sense that the _COMPONENT definition was incorrect to begin with, and in the sense that we have explicitly tried to recently add the _COMPONENT definitions

CVS commit: src/sys/dev/acpi

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 20:17:30 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c atk0110.c smbus_acpi.c Log Message: Fix ACPI_DEBUG build failures reported by Greg A. Woods. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153

CVS commit: src/sys/dev/acpi

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 20:17:30 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c atk0110.c smbus_acpi.c Log Message: Fix ACPI_DEBUG build failures reported by Greg A. Woods. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153

CVS commit: src/sys/dev/acpi

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 20:46:18 UTC 2010 Modified Files: src/sys/dev/acpi: smbus_acpi.c Log Message: Fix two memory leaks. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/acpi/smbus_acpi.c Please note that diffs

CVS commit: src/sys/arch/i386/conf

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 21:47:59 UTC 2010 Modified Files: src/sys/arch/i386/conf: ALL Log Message: Enable (uncomment) ACPI_DEBUG, ACPI_DEBUG_ALLOC, and ACPI_MUTEX_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.245 -r1.246

CVS commit: src/sys/arch/i386/acpi

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 21:54:35 UTC 2010 Modified Files: src/sys/arch/i386/acpi: vald_acpi.c Log Message: Remove VALD_ACPI_DEBUG and AVALD_F_VERBOSE. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/arch/i386/conf

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 21:55:32 UTC 2010 Modified Files: src/sys/arch/i386/conf: ALL Log Message: VALD_ACPI_DEBUG is dead. To generate a diff of this commit: cvs rdiff -u -r1.246 -r1.247 src/sys/arch/i386/conf/ALL Please note that diffs

CVS commit: src/sys/dev/acpi

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 22:29:47 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_button.c Log Message: Cleanup: * Semantics. * No need for dev/acpi/acpica.h. * Reduce the amount of error reporting. * Remove ACPI_BUT_DEBUG and

CVS commit: src/sys/dev/acpi

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 22:29:47 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_button.c Log Message: Cleanup: * Semantics. * No need for dev/acpi/acpica.h. * Reduce the amount of error reporting. * Remove ACPI_BUT_DEBUG and

CVS commit: src/sys/arch/i386/conf

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 22:30:57 UTC 2010 Modified Files: src/sys/arch/i386/conf: ALL Log Message: Remove ACPI_BUT_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.247 -r1.248 src/sys/arch/i386/conf/ALL Please note that diffs are

CVS commit: src/sys/arch/i386/conf

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 22:30:57 UTC 2010 Modified Files: src/sys/arch/i386/conf: ALL Log Message: Remove ACPI_BUT_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.247 -r1.248 src/sys/arch/i386/conf/ALL Please note that diffs are

CVS commit: src/sys/dev/acpi

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 23:25:07 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Remove ACPI_BUG_DEBUG by using ACPI_DEBUG_PRINT(x) instead. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154

CVS commit: src/sys/dev/acpi

2010-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 4 23:25:07 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Remove ACPI_BUG_DEBUG by using ACPI_DEBUG_PRINT(x) instead. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154

CVS commit: src/sys/dev/acpi

2010-03-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Mar 5 08:30:48 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_ecvar.h acpi_madt.h acpi_osd.h acpi_pci.h acpi_slit.h acpi_srat.h acpi_timer.h acpi_wakedev.h acpica.h acpireg.h acpivar.h fdc_acpireg.h

CVS commit: src/sys/dev/acpi

2010-03-05 Thread Jukka Ruohonen
2010 +++ src/sys/dev/acpi/wmi_acpivar.h Fri Mar 5 08:30:48 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: wmi_acpivar.h,v 1.6 2010/01/04 10:06:53 jruoho Exp $ */ +/* $NetBSD: wmi_acpivar.h,v 1.7 2010/03/05 08:30:48 jruoho Exp $ */ /*- * Copyright (c) 2009, 2010 Jukka Ruohonen jruoho...@iki.fi @@ -26,11

CVS commit: src/sys/dev/acpi

2010-03-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Mar 5 14:00:17 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c acpi_acad.c acpi_apm.c acpi_bat.c acpi_button.c acpi_ec.c acpi_lid.c acpi_madt.c acpi_pci.c acpi_pci_link.c acpi_powerres.c

CVS commit: src/sys/dev/acpi

2010-03-05 Thread Jukka Ruohonen
jruoho Exp $ */ +/* $NetBSD: wmi_acpi.c,v 1.15 2010/03/05 14:00:17 jruoho Exp $ */ /*- * Copyright (c) 2009, 2010 Jukka Ruohonen jruoho...@iki.fi @@ -27,12 +27,13 @@ * SUCH DAMAGE. */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: wmi_acpi.c,v 1.14 2010/02/28 13:56:49 jruoho Exp

CVS commit: src/sys/dev/acpi

2010-03-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Mar 5 17:04:26 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_timer.c acpi_timer.h Log Message: Add missing license. ok drochner@ To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys/dev/acpi

2010-03-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Mar 5 17:04:26 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_timer.c acpi_timer.h Log Message: Add missing license. ok drochner@ To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys/dev/acpi

2010-03-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Mar 5 21:01:44 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c acpi_lid.c acpi_wakedev.c acpi_wakedev.h Log Message: Preparing a device for wakeup involves: (a) turning on all power resources required by the device; and

CVS commit: src/sys/dev/acpi

2010-03-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Mar 5 21:01:44 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c acpi_lid.c acpi_wakedev.c acpi_wakedev.h Log Message: Preparing a device for wakeup involves: (a) turning on all power resources required by the device; and

CVS commit: src/sys/dev/acpi

2010-03-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Mar 5 22:00:11 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_wakedev.c Log Message: Add the _COMPONENT definition and missing prototypes. Some related cosmetics. To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/sys/dev/acpi

2010-03-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Mar 5 22:00:11 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_wakedev.c Log Message: Add the _COMPONENT definition and missing prototypes. Some related cosmetics. To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/share/man/man4

2010-03-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Mar 6 06:25:52 UTC 2010 Modified Files: src/share/man/man4: acpi.4 Log Message: Refer to sysctl(8) instead of sysctl(7) when appropriate. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

CVS commit: src/share/man/man4

2010-03-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Mar 6 06:25:52 UTC 2010 Modified Files: src/share/man/man4: acpi.4 Log Message: Refer to sysctl(8) instead of sysctl(7) when appropriate. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

Re: CVS commit: src/share/man/man3

2010-03-06 Thread Jukka Ruohonen
On Thu, Mar 04, 2010 at 05:26:02PM -0500, Greg A. Woods wrote: silly warnings. The code _must_ do what it _should_ not do. :-) And so I think what I said about __UNCONST() being unnecessary remains. The I agree. As for the legitimate reasons of usage, third-party code was largely the reason

CVS commit: src/share/man/man9

2010-03-06 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Mar 7 05:37:25 UTC 2010 Modified Files: src/share/man/man9: sched_4bsd.9 Log Message: Use .Bx to write 4.4BSD. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man9/sched_4bsd.9 Please note that

CVS commit: src/share/man/man9

2010-03-06 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Mar 7 05:37:25 UTC 2010 Modified Files: src/share/man/man9: sched_4bsd.9 Log Message: Use .Bx to write 4.4BSD. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man9/sched_4bsd.9 Please note that

CVS commit: src/sys/dev/acpi

2010-03-08 Thread Jukka Ruohonen
/wmi_acpi.c Mon Mar 8 10:53:03 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: wmi_acpi.c,v 1.15 2010/03/05 14:00:17 jruoho Exp $ */ +/* $NetBSD: wmi_acpi.c,v 1.16 2010/03/08 10:53:03 jruoho Exp $ */ /*- * Copyright (c) 2009, 2010 Jukka Ruohonen jruoho...@iki.fi @@ -27,7 +27,7 @@ * SUCH DAMAGE

CVS commit: src/sys/dev/acpi

2010-03-08 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Mar 8 11:39:43 UTC 2010 Modified Files: src/sys/dev/acpi: dalb_acpi.c Log Message: Remove unused struct sysctllog from the softc. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/acpi/dalb_acpi.c

CVS commit: src/sys/dev/acpi

2010-03-08 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Mar 8 11:39:43 UTC 2010 Modified Files: src/sys/dev/acpi: dalb_acpi.c Log Message: Remove unused struct sysctllog from the softc. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/acpi/dalb_acpi.c

CVS commit: src/sys/dev/acpi

2010-03-08 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Mar 8 11:45:45 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_bat.c Log Message: Use the predefined ACPI_STA_BATTERY_PRESENT instead of defining a local one. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85

CVS commit: src/sys/dev/acpi

2010-03-08 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Mar 8 11:45:45 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_bat.c Log Message: Use the predefined ACPI_STA_BATTERY_PRESENT instead of defining a local one. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85

CVS commit: src/sys/dev/acpi

2010-03-09 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 9 18:15:22 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c acpi_pci.c acpi_wakedev.c acpivar.h Log Message: Remove the namespace scopes. These are neither used nor useful beyond the parser and interpreter. ok

CVS commit: src/sys/dev/acpi

2010-03-10 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 10 08:12:44 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Some pretty printing for ACPIVERBOSE. To generate a diff of this commit: cvs rdiff -u -r1.157 -r1.158 src/sys/dev/acpi/acpi.c Please note that

CVS commit: src/sys/dev/acpi

2010-03-10 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 10 08:12:44 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Some pretty printing for ACPIVERBOSE. To generate a diff of this commit: cvs rdiff -u -r1.157 -r1.158 src/sys/dev/acpi/acpi.c Please note that

CVS commit: src/sys/dev/acpi

2010-03-10 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 10 09:42:46 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c acpivar.h Log Message: Move the ACPI_ACTIVATE_DEV block to one place. While there, provide missing prototype for a function, try to make the code more simple,

CVS commit: src/share/man/man4

2010-03-10 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 10 14:06:43 UTC 2010 Modified Files: src/share/man/man4: inet6.4 Log Message: Add two good (KAME) IPv6 books. Fix the name of Tatuya Jinmei in the RFC reference. To generate a diff of this commit: cvs rdiff -u -r1.29

CVS commit: src/share/man/man4

2010-03-10 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 10 14:06:43 UTC 2010 Modified Files: src/share/man/man4: inet6.4 Log Message: Add two good (KAME) IPv6 books. Fix the name of Tatuya Jinmei in the RFC reference. To generate a diff of this commit: cvs rdiff -u -r1.29

Re: CVS commit: src

2010-03-25 Thread Jukka Ruohonen
On Thu, Mar 25, 2010 at 04:50:03PM +, David Holland wrote: We just went around on this like two or three weeks ago on spl internals. On the one hand, the man page should document the interface, not the implementation; on the other hand, anything global someone might run across while

Re: CVS commit: src/sys/dev

2010-03-25 Thread Jukka Ruohonen
On Wed, Mar 24, 2010 at 01:13:30AM +, David Young wrote: Module Name: src Committed By: dyoung Date: Wed Mar 24 01:13:30 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_ec.c src/sys/dev/isa: pas.c Log Message: Do not use unitialized bus_space_tag_t's. Use the

Re: CVS commit: src/sys/dev

2010-03-26 Thread Jukka Ruohonen
On Wed, Mar 24, 2010 at 01:13:30AM +, David Young wrote: Module Name: src Committed By: dyoung Date: Wed Mar 24 01:13:30 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_ec.c src/sys/dev/isa: pas.c Log Message: Do not use unitialized bus_space_tag_t's. Use the

Re: acpiec bus tag (was Re: CVS commit: src/sys/dev)

2010-03-26 Thread Jukka Ruohonen
On Fri, Mar 26, 2010 at 12:50:38PM -0500, David Young wrote: It used to be definitely incorrect. So we're making progress. Do you have any idea how to make it definitely correct? Sorry: I misread the patch originally. It should not affect the functionality. The NULL pointer dereference is a

Re: CVS commit: src/sys/dev/acpi

2010-04-03 Thread Jukka Ruohonen
On Sat, Apr 03, 2010 at 06:39:54PM +0200, Christoph Egger wrote: Does acpi_bat also detect the other way around ? I.e. when you have multiple batteries you can unplug a full charged battery and then re-plug an empty one for charging. Yes, this should be possible. (This change only fixed an

Re: CVS commit: src/sys

2010-04-11 Thread Jukka Ruohonen
On Sun, Apr 11, 2010 at 10:42:30PM +, Jonathan A. Kollasch wrote: Module Name: src Committed By: jakllsch Date: Sun Apr 11 22:42:30 UTC 2010 Modified Files: src/sys/arch/i386/conf: ALL src/sys/dev/acpi: files.acpi Added Files: src/sys/dev/acpi: valz_acpi.c

Re: CVS commit: src/share/man/man3

2010-04-14 Thread Jukka Ruohonen
On Wed, Apr 14, 2010 at 03:08:43PM +0200, Joerg Sonnenberger wrote: On Wed, Apr 14, 2010 at 08:26:42AM +, Jukka Ruohonen wrote: Log Message: EXAMPLE - EXAMPLES, GCC - gcc(1), and minor markup changes. I disagree with the second part. This is not about the frontend. It doesn't matter

Re: CVS commit: src/lib/libc/sys

2010-04-29 Thread Jukka Ruohonen
On Thu, Apr 29, 2010 at 08:51:19AM +, David Holland wrote: On Thu, Apr 29, 2010 at 07:14:35AM +, Jukka Ruohonen wrote: Note that utimes(2) no longer enjoys the blessing of POSIX. What's the currently-blessed alternative? 2004: APPLICATION USAGE For applications portability

Re: CVS commit: src/lib/libc/stdio

2010-05-04 Thread Jukka Ruohonen
On Tue, May 04, 2010 at 06:35:48PM +0700, Robert Elz wrote: I don't understand the change - that is, I don't understand the sentence that was added to the man page, it says ... The revision marked gets() as obsolete... What revision??? In my manual page: The functions fgets() and

Re: CVS commit: src/lib/libc/stdio

2010-05-04 Thread Jukka Ruohonen
On Wed, May 05, 2010 at 12:58:13AM +0700, Robert Elz wrote: | As something like gets() has been standardized for ages, it makes sense to | explicitly note that this may no longer be true (with respect to POSIX). That's where I disagree, it is just bloat - once it stops being a

Re: CVS commit: src/lib/libc/stdio

2010-05-04 Thread Jukka Ruohonen
On Wed, May 05, 2010 at 01:03:49PM +1000, Luke Mewburn wrote: On Tue, May 04, 2010 at 07:43:12AM +, Jukka Ruohonen wrote: | Remove the list of functions. | | This list was updated only two times in nearly two decades. | | (If people need to learn the standard I/O functions

Re: CVS commit: src/lib/libc/stdio

2010-05-04 Thread Jukka Ruohonen
On Wed, May 05, 2010 at 01:03:49PM +1000, Luke Mewburn wrote: I disagree; a list of all the public APIs for a given library in the main man page for that library is very useful. One more note I have made while skimming through the manual pages. Few examples of pages that are badly and

Re: CVS commit: src/lib/libutil

2010-05-04 Thread Jukka Ruohonen
On Wed, May 05, 2010 at 01:05:02PM +1000, Luke Mewburn wrote: Please revert this; manual pages and application development tools are often installed on systems where the full source is not. But you always have the header file. Shouldn't that be enough? As I mentioned in my reply to the

Re: CVS commit: src/lib/libc/stdio

2010-05-05 Thread Jukka Ruohonen
On Wed, May 05, 2010 at 08:52:23AM +0100, Mindaugas Rasiukevicius wrote: History is indeed important, however it belongs to books, articles, etc. Other part of history belongs to version control logs, as Robert already mentioned. If I will want to figure out why and by whom some function was

Re: CVS commit: src/lib/libc/stdio

2010-05-06 Thread Jukka Ruohonen
On Thu, May 06, 2010 at 08:51:29AM +, David Holland wrote: On Thu, May 06, 2010 at 08:14:08AM +, Jukka Ruohonen wrote: Correct the discussion about return values: fileno() may fail and return -1. Note that in such cases the NetBSD implementation does not set errno to EBADF

Re: CVS commit: src/lib/libc/stdio

2010-05-06 Thread Jukka Ruohonen
On Thu, May 06, 2010 at 12:04:53PM +0300, Jukka Ruohonen wrote: On Thu, May 06, 2010 at 08:51:29AM +, David Holland wrote: On Thu, May 06, 2010 at 08:14:08AM +, Jukka Ruohonen wrote: Correct the discussion about return values: fileno() may fail and return -1. Note

Re: CVS commit: src/lib/libc/stdio

2010-05-06 Thread Jukka Ruohonen
On Thu, May 06, 2010 at 07:48:59AM +, David Holland wrote: On Wed, May 05, 2010 at 08:05:20AM +0200, Alan Barrett wrote: Perhaps we need a bot to watch all commits and send reminders like You added a new file, but you haven't updated the sets, see URL for instructions, You added a

Re: CVS commit: src/lib/libc/stdio

2010-05-06 Thread Jukka Ruohonen
On Thu, May 06, 2010 at 02:48:32PM +0200, Joerg Sonnenberger wrote: On Thu, May 06, 2010 at 08:51:29AM +, David Holland wrote: On Thu, May 06, 2010 at 08:14:08AM +, Jukka Ruohonen wrote: Correct the discussion about return values: fileno() may fail and return -1. Note

Re: CVS commit: src/sys

2010-05-11 Thread Jukka Ruohonen
On Tue, May 11, 2010 at 10:26:01PM +, Adam Hamsik wrote: Module Name: src Committed By: haad Date: Tue May 11 22:26:00 UTC 2010 Modified Files: src/sys/kern: kern_kthread.c src/sys/sys: kthread.h Log Message: Add support for kthread_join in our kernel thread

Re: CVS commit: src/lib/libc/stdio

2010-05-13 Thread Jukka Ruohonen
On Fri, May 14, 2010 at 05:10:24AM +, David Holland wrote: Yes. The trouble is that because libraries and headers don't match up, you need to parse headers to extract the lists, and that seems likely to end up being delicate and a constant source of annoyance. How about the section 4

Re: CVS commit: src/games/factor

2010-05-16 Thread Jukka Ruohonen
On Sun, May 16, 2010 at 01:11:08PM +, Quentin Garnier wrote: Honestly, I don't see anyone doing stricto sensu maths on a computer limiting their tools to NetBSD'd games.tgz. Indeed. Maybe add some math book as a reference so that we can blame the author instead of each other from the

Re: CVS commit: src/lib/libpthread

2010-05-17 Thread Jukka Ruohonen
On Mon, May 17, 2010 at 09:21:18AM +0200, Marc Balmer wrote: Is the SEE ALSO section meant to refer to external sources? I always thought it was only to reference other manpages. I don't know if there has ever been a strict rule about this; even some of the really old manual pages refer to

Re: CVS commit: src/lib/libpthread

2010-05-18 Thread Jukka Ruohonen
On Mon, May 17, 2010 at 07:35:37PM +0200, Matthias Drochner wrote: Also, the xrefs are not sorted strictly alphabetically but in some logical order which is good imo. The Xrefs are generally a symptom of the manual page format. As D. Holland well said, the man -k is so 1980s. In my opinion we

Re: CVS commit: src/share/man/man3

2010-05-19 Thread Jukka Ruohonen
On Wed, May 19, 2010 at 08:02:47AM +, Jukka Ruohonen wrote: Continue the discussion w.r.t. SIGEV_THREAD by nothing that pthread_join(3) should be out of the question and that thread stack cannot be recovered. What is the status of SIGEV_THREAD? It should at least fail with EINVAL

Re: CVS commit: src/sys/external/intel-public/acpica/dist

2010-06-06 Thread Jukka Ruohonen
On Sun, Jun 06, 2010 at 06:18:09PM +, Jukka Ruohonen wrote: Module Name: src Committed By: jruoho Date: Sun Jun 6 18:18:09 UTC 2010 Update of /cvsroot/src/sys/external/intel-public/acpica/dist In directory ivanova.netbsd.org:/tmp/cvs-serv11458 Log Message: Import ACPICA

Re: CVS commit: src/sys

2010-07-18 Thread Jukka Ruohonen
On Sun, Jul 18, 2010 at 01:06:14PM +0200, Christoph Egger wrote: Please disable C1E on AMD K8, Family10h and Family11h CPUs, because C1E disables the local APIC timer. You can enable C1E and once the local APIC timer is tickless. Hint: There are some nasty BIOSes which enable C1E after acpi

Re: CVS commit: src/sys/dev/acpi

2010-07-19 Thread Jukka Ruohonen
On Mon, Jul 19, 2010 at 09:32:58AM +0300, Jukka Ruohonen wrote: This is a known issue. No clean solution exist in any implementation I am aware of. The IDs may also vary between the processor object and MADT. As I noted to Christos in private mail, the right solution is likely to include

Re: CVS commit: src/sys/dev/acpi

2010-07-24 Thread Jukka Ruohonen
On Mon, Jul 19, 2010 at 12:39:08PM +, Quentin Garnier wrote: When the platform uses the APIC interrupt model, OSPM associates processors declared in the namespace with entries in the MADT. Prior to ACPI 3.0, this was accomplished using the processor object's ProcessorID and the ACPI

Re: CVS commit: src/sys/dev/acpi

2010-07-30 Thread Jukka Ruohonen
On Sun, Jul 18, 2010 at 08:59:33PM -0400, Christos Zoulas wrote: 1. ACPI seems to define cpuids 1..n; we define 0..n-1. Adjust for that 2. My laptop is dual core, but ACPI reports 4 cpu nodes. Instead of attaching the unmatched ones, make the match fail. Do we want to attach and do

Re: CVS commit: src/sys

2010-08-08 Thread Jukka Ruohonen
On Sun, Aug 08, 2010 at 04:58:42PM +, Jukka Ruohonen wrote: Merge P-state support for acpicpu(4). Hi. I'll post this note about conclusions from various informal discussions regarding acpicpu(4) and CPU power management generally. In my opinion, it is increasingly evident that we will need

Re: CVS commit: src/sys/dev/acpi

2010-08-08 Thread Jukka Ruohonen
On Mon, Aug 09, 2010 at 07:30:52AM +0200, Christoph Egger wrote: Log Message: Downgrade the currently supported maximum C-state to C1. There appears to be timer-related interrupt issues also in C2. With C1 it is guaranteed that acpicpu(4) will not cause any slowdowns due stalled local APIC

Re: CVS commit: src/sys/netinet

2010-08-11 Thread Jukka Ruohonen
On Wed, Aug 11, 2010 at 09:36:45AM +, Antti Kantee wrote: Module Name: src Committed By: pooka Date: Wed Aug 11 09:36:45 UTC 2010 Modified Files: src/sys/netinet: ip_carp.c Log Message: Use kpause() instead of DELAY() and sleep a minimum of 1 tick. This is possible

Re: CVS commit: src

2010-08-29 Thread Jukka Ruohonen
On Fri, Aug 27, 2010 at 04:03:20PM +1000, matthew green wrote: not sure exactly what that means here... but maybe acpicpu should default to blacklisting P4's? for when it becomes a normal driver that is enabled by default.. Blacklisting based on processor type sounds reasonable, but somewhat

Re: CVS commit: src/lib/libc/stdio

2010-10-23 Thread Jukka Ruohonen
On Fri, Oct 22, 2010 at 05:29:46PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Fri Oct 22 21:29:46 UTC 2010 Modified Files: src/lib/libc/stdio: ftell.c local.h Log Message: implement EOVERFLOW To generate a diff of this commit: cvs

Re: CVS commit: src/share/misc

2010-12-02 Thread Jukka Ruohonen
On Thu, Dec 02, 2010 at 08:31:43AM +, David Holland wrote: On Tue, Nov 30, 2010 at 07:07:15PM +, Jukka Ruohonen wrote: Add numerous entries from Roland Kammerer. Some of these are not acronyms: 1337, FSCK, and NOOB are the most obvious, but perhaps also things like W8 for wait

<    1   2   3   4   >