CVS commit: src/share/man/man4

2024-03-06 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Wed Mar  6 22:18:56 UTC 2024

Modified Files:
src/share/man/man4: pci.4 wwanc.4

Log Message:
wwanc(4): amend Nd; Xr from pci(4)


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/share/man/man4/pci.4
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/wwanc.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/pci.4
diff -u src/share/man/man4/pci.4:1.123 src/share/man/man4/pci.4:1.124
--- src/share/man/man4/pci.4:1.123	Sun Jul 10 08:17:02 2022
+++ src/share/man/man4/pci.4	Wed Mar  6 22:18:56 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.123 2022/07/10 08:17:02 nia Exp $
+.\"	$NetBSD: pci.4,v 1.124 2024/03/06 22:18:56 cnst Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -313,6 +313,11 @@ WaveLAN/IEEE and PRISM-II 802.11 wireles
 .It Xr wpi 4
 Intel PRO/Wireless 3945ABG Mini PCI Express network adapters.
 .El
+.Ss Cellular WAN interfaces
+.Bl -tag -width pcdisplay(4) -offset indent
+.It Xr wwanc 4
+Intel XMM 7360 LTE modem.
+.El
 .Ss Serial interfaces
 .Bl -tag -width pcdisplay(4) -offset indent
 .It Xr cy 4

Index: src/share/man/man4/wwanc.4
diff -u src/share/man/man4/wwanc.4:1.6 src/share/man/man4/wwanc.4:1.7
--- src/share/man/man4/wwanc.4:1.6	Mon Jul 27 14:17:47 2020
+++ src/share/man/man4/wwanc.4	Wed Mar  6 22:18:56 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: wwanc.4,v 1.6 2020/07/27 14:17:47 jdolecek Exp $
+.\" $NetBSD: wwanc.4,v 1.7 2024/03/06 22:18:56 cnst Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -29,7 +29,7 @@
 .Os
 .Sh NAME
 .Nm wwanc
-.Nd PCI LTE modem
+.Nd Intel XMM 7360 LTE modem
 .Sh SYNOPSIS
 .Cd "wwanc*  at pci? dev ? function ?"
 .Cd "wwan*   at wwanc?"



CVS commit: src/share/man/man4

2024-03-06 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Wed Mar  6 22:18:56 UTC 2024

Modified Files:
src/share/man/man4: pci.4 wwanc.4

Log Message:
wwanc(4): amend Nd; Xr from pci(4)


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/share/man/man4/pci.4
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/wwanc.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2019-10-01 Thread Constantine A. Murenin
I'm getting a page fault trap after this patch, at netbsd:dk_open(), 
in VirtualBox 6.0.12 r133076 with an empty NVME controller.


C.

On 2019-W40-2 10:59 +, Michael van Elst wrote:

Module Name:src
Committed By:   mlelstv
Date:   Tue Oct  1 10:59:50 UTC 2019

Modified Files:
src/sys/dev/ic: ld_nvme.c

Log Message:
Don't attach an ld device if the format descriptor is unsupported/unused.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/ic/ld_nvme.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2019-09-30 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Mon Sep 30 23:23:59 UTC 2019

Modified Files:
src/sys/kern: subr_disk.c

Log Message:
kern/subr_disk: bounds_check_with_label: really protect against div by zero

Solves kernel panic in NetBSD 8.1 amd64 on VirtualBox 6.0.12 r133076.

Triggered with an NVMe controller without any actual discs behind it:

nvme0 at pci0 dev 14 function 0: vendor 80ee product 4e56 (rev. 0x00)
nvme0: NVMe 1.2
nvme0: interrupting at ioapic0 pin 22
nvme0: ORCL-VBOX-NVME-VER12, firmware 1.0, serial VB1234-56789
ld0 at nvme0 nsid 1
ld0: 0, 0 cyl, 16 head, 63 sec, 1 bytes/sect x 0 sectors

Code path is reached 4 times during normal boot, each time after wd0a
is already mounted; this patch avoids a crash with a dirty filesystem.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/kern/subr_disk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/subr_disk.c
diff -u src/sys/kern/subr_disk.c:1.128 src/sys/kern/subr_disk.c:1.129
--- src/sys/kern/subr_disk.c:1.128	Wed May 22 08:47:02 2019
+++ src/sys/kern/subr_disk.c	Mon Sep 30 23:23:59 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: subr_disk.c,v 1.128 2019/05/22 08:47:02 hannken Exp $	*/
+/*	$NetBSD: subr_disk.c,v 1.129 2019/09/30 23:23:59 cnst Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1999, 2000, 2009 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: subr_disk.c,v 1.128 2019/05/22 08:47:02 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_disk.c,v 1.129 2019/09/30 23:23:59 cnst Exp $");
 
 #include 
 #include 
@@ -385,7 +385,7 @@ bounds_check_with_label(struct disk *dk,
 	}
 
 	/* Protect against division by zero. XXX: Should never happen?!?! */
-	if (lp->d_secpercyl == 0) {
+	if ((lp->d_secsize / DEV_BSIZE) == 0 || lp->d_secpercyl == 0) {
 		bp->b_error = EINVAL;
 		return -1;
 	}



CVS commit: src/sys/kern

2019-09-30 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Mon Sep 30 23:23:59 UTC 2019

Modified Files:
src/sys/kern: subr_disk.c

Log Message:
kern/subr_disk: bounds_check_with_label: really protect against div by zero

Solves kernel panic in NetBSD 8.1 amd64 on VirtualBox 6.0.12 r133076.

Triggered with an NVMe controller without any actual discs behind it:

nvme0 at pci0 dev 14 function 0: vendor 80ee product 4e56 (rev. 0x00)
nvme0: NVMe 1.2
nvme0: interrupting at ioapic0 pin 22
nvme0: ORCL-VBOX-NVME-VER12, firmware 1.0, serial VB1234-56789
ld0 at nvme0 nsid 1
ld0: 0, 0 cyl, 16 head, 63 sec, 1 bytes/sect x 0 sectors

Code path is reached 4 times during normal boot, each time after wd0a
is already mounted; this patch avoids a crash with a dirty filesystem.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/kern/subr_disk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2019-07-31 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Wed Jul 31 06:25:14 UTC 2019

Modified Files:
src/doc: CHANGES.prev

Log Message:
doc/CHANGES.prev: fix 8.0->9.0 timetravel back to 2009


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src/doc/CHANGES.prev

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2019-07-31 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Wed Jul 31 06:25:14 UTC 2019

Modified Files:
src/doc: CHANGES.prev

Log Message:
doc/CHANGES.prev: fix 8.0->9.0 timetravel back to 2009


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src/doc/CHANGES.prev

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES.prev
diff -u src/doc/CHANGES.prev:1.144 src/doc/CHANGES.prev:1.145
--- src/doc/CHANGES.prev:1.144	Tue Jul 30 15:56:53 2019
+++ src/doc/CHANGES.prev	Wed Jul 31 06:25:14 2019
@@ -1,4 +1,4 @@
-LIST OF CHANGES FROM PREVIOUS RELEASES:			<$Revision: 1.144 $>
+LIST OF CHANGES FROM PREVIOUS RELEASES:			<$Revision: 1.145 $>
 
 
 Changes from 386bsd 0.1 + patchkit 0.2.2 to NetBSD 0.8:
@@ -12622,7 +12622,7 @@ Changes from NetBSD 8.0 to NetBSD 9.0:
 		[rin 20190723]
 	dhcpcd(8): Import dhcpcd-8.0.0. [roy 20190724]
 	tar(1): MKBSDTAR now defaults to yes. [roy 20190724]
-	libarchive: Import libarchive-3.4.0. [joerg 20090724]
+	libarchive: Import libarchive-3.4.0. [joerg 20190724]
 	dhcpcd(8): Import dhcpcd-8.0.1. [roy 20190725]
 	mac68k: Add genfb(4) framebuffer driver. [rin 20190726]
 	dhcpcd(8): Import dhcpcd-8.0.2. [roy 20190730]



CVS commit: src/doc

2019-07-26 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Fri Jul 26 21:41:59 UTC 2019

Modified Files:
src/doc: CHANGES.prev

Log Message:
doc/CHANGES.prev: s/mfi(8)/mfi(4)/g


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/doc/CHANGES.prev

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES.prev
diff -u src/doc/CHANGES.prev:1.142 src/doc/CHANGES.prev:1.143
--- src/doc/CHANGES.prev:1.142	Fri Jul 26 21:04:38 2019
+++ src/doc/CHANGES.prev	Fri Jul 26 21:41:59 2019
@@ -1,4 +1,4 @@
-LIST OF CHANGES FROM PREVIOUS RELEASES:			<$Revision: 1.142 $>
+LIST OF CHANGES FROM PREVIOUS RELEASES:			<$Revision: 1.143 $>
 
 
 Changes from 386bsd 0.1 + patchkit 0.2.2 to NetBSD 0.8:
@@ -11297,8 +11297,8 @@ Changes from NetBSD 6.0 to NetBSD 7.0:
 		[matt 20120820]
 	evbarm: Add support for BEAGLEBOARDXM (TI DM37XX cpus) boards.
 		[matt 20120822]
-	mfi(8): Added tagged queuing support.  [bouyer 20120823]
-	mfi(8): Added support for LSI SAS2208-based controllers.
+	mfi(4): Added tagged queuing support.  [bouyer 20120823]
+	mfi(4): Added support for LSI SAS2208-based controllers.
 		[bouyer 20120823]
 	mkdep(1): Add -P option.  [jmmv 20120826]
 	share/mk: Add placeholder test programs (with some very basic test



CVS commit: src/doc

2019-07-26 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Fri Jul 26 21:41:59 UTC 2019

Modified Files:
src/doc: CHANGES.prev

Log Message:
doc/CHANGES.prev: s/mfi(8)/mfi(4)/g


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/doc/CHANGES.prev

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2019-07-26 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Fri Jul 26 21:04:38 UTC 2019

Modified Files:
src/doc: CHANGES.prev

Log Message:
doc/CHANGES.prev: address 7 definite time-travelling entries (year-based)


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/doc/CHANGES.prev

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES.prev
diff -u src/doc/CHANGES.prev:1.141 src/doc/CHANGES.prev:1.142
--- src/doc/CHANGES.prev:1.141	Wed May 29 02:34:19 2019
+++ src/doc/CHANGES.prev	Fri Jul 26 21:04:38 2019
@@ -1,4 +1,4 @@
-LIST OF CHANGES FROM PREVIOUS RELEASES:			<$Revision: 1.141 $>
+LIST OF CHANGES FROM PREVIOUS RELEASES:			<$Revision: 1.142 $>
 
 
 Changes from 386bsd 0.1 + patchkit 0.2.2 to NetBSD 0.8:
@@ -5966,7 +5966,7 @@ Changes from NetBSD 1.5 to NetBSD 1.6:
 		`?' is given at the prompt.  [lukem 2815]
 	mvme68k: Support for VMEbus slave mode added to mvme147 and mvme167.
 		[scw 2820]
-	sparc64: gcc now generates 32 bit code with `-m32'  [mrg 20010830]
+	sparc64: gcc now generates 32 bit code with `-m32'. [mrg 2830]
 	cvs(1): Add cvs-1.10.8 to gnusrc [christos 2904]
 	mvme68k: Added support for MVME162-LX 200/300 series of boards.
 		[scw 2906]
@@ -8642,7 +8642,7 @@ Changes from NetBSD 4.0 to NetBSD 5.0:
 	mac68k: Add support for four more NuBus video cards, including the
 		VillageTronic MacPicasso 340. [hauke 20061206]
 	puc(4): Add support for Perle Systems 4 and 8 ports modem boards.
-		[manu 20071209]
+		[manu 20061209]
 	arm: Add support for NPE Ethernet on IXP425. [scw 20061210]
 	arm: Add support for IXP425 watchdog timer. [scw 20061210]
 	libutil: Add flags_to_string(3) and string_to_flags(3),
@@ -9906,7 +9906,7 @@ Changes from NetBSD 4.0 to NetBSD 5.0:
 		[drochner 20090321]
 	savecore(8): Use ksyms(4) if it's available. [tls 20090321]
 	httpd(8): Fix redirection core dump as reported in PR#41042.
-		[reinoud 20080323]
+		[reinoud 20090323]
 	rc.conf(5), rc.d(8): Add flags to rc.d/ipfilter. [hannken 20090323]
 	ahcisata(4): Handle quirks of more NVIDIA MCP65 SATA controllers.
 		[dholland 20090327]
@@ -10472,7 +10472,7 @@ Changes from NetBSD 5.0 to NetBSD 6.0:
 	ld.elf_so(1): Implement negative symbol lookup cache [roy 20100227]
 	dhcpcd(8): Import dhcpcd-5.2.1. [roy 20100227]
 	ddb(4): Add 'mach frame' for hp700.  [skrll 20100302]
-	ne(4): Add proper support for NE2000 8 bit mode. [tsutsui 20090303]
+	ne(4): Add proper support for NE2000 8 bit mode. [tsutsui 20100303]
 	module(7): Remove all kernel compile time #defines indicating file
 		system support (e.g. fs_ffs.h / -DFFS).  [pooka 20100303]
 	module(7): Make it possible to disable builtin modules and
@@ -10748,7 +10748,7 @@ Changes from NetBSD 5.0 to NetBSD 6.0:
 		timezones as opposed to having to alter the environment
 		to change a timezone. [christos 20101216]
 	amigappc: Made onboard serial interface work. [phx 20101219]
-	yacc(1): Import byacc-20101127 [christos 20091223]
+	yacc(1): Import byacc-20101127 [christos 20101223]
 	dm(4): Make LVM use non 512-byte sector devices. [mlelstv 20101223]
 	auvitek(4): Add a driver for Auvitek AU0828 family USB video
 		capture controllers. [jmcneill 20101227]
@@ -11543,7 +11543,7 @@ Changes from NetBSD 6.0 to NetBSD 7.0:
 		[tsutsui 20140110]
 	luna68k: Add support to pass boothowto and boot device info from
 		bootloader to kernel. [tsutsui 20140111]
-	OpenSSL: Imported 1.0.1f. [christos 20130111]
+	OpenSSL: Imported 1.0.1f. [christos 20140111]
 	postfix(1): Import version 2.10.3. [tron 20140118]
 	igmafb(4): Added framebuffer driver for Intel Graphics
 		[mlelstv 20140121]
@@ -11567,7 +11567,7 @@ Changes from NetBSD 6.0 to NetBSD 7.0:
 	mcp48x1dac(4): Add preliminary support for Microchip MCP48x1 family of
 		Digital-to-Analog converters. [rkujawa 20140225]
 	micphy(4): Add Micrel PHY (KSZ9021RN). [ozaki-r 20140226]
-	bind: Update to 9.10.0b1. [christos 20130228]
+	bind: Update to 9.10.0b1. [christos 20140228]
 	dhcpcd(8): Import dhcpcd-6.3.1. [roy 20140301]
 	x68k: Switch to X11FLAVOUR=Xorg, including X68k monolithic server.
 		[tsutsui 20140301]



CVS commit: src/doc

2019-07-26 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Fri Jul 26 21:04:38 UTC 2019

Modified Files:
src/doc: CHANGES.prev

Log Message:
doc/CHANGES.prev: address 7 definite time-travelling entries (year-based)


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/doc/CHANGES.prev

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2019-07-26 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Fri Jul 26 20:15:19 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
doc/CHANGES: fix OpenSSH 8.0 date; same for imcsmb(4) per consistency audit


To generate a diff of this commit:
cvs rdiff -u -r1.2559 -r1.2560 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2559 src/doc/CHANGES:1.2560
--- src/doc/CHANGES:1.2559	Fri Jul 26 10:53:29 2019
+++ src/doc/CHANGES	Fri Jul 26 20:15:19 2019
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2559 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2560 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -132,7 +132,7 @@ Changes from NetBSD 8.0 to NetBSD 9.0:
 	amd64: Add SVS (Meltdown mitigation). [maxv 20180226]
 	imcsmb(4): For amd64 and i386 on Intel {Ivy,Sandy}bridge and
 		{Broad,Has}well CPUs, enable access to Integrated Memory
-		Controller-based SMBus [pgoyette 20170228]
+		Controller-based SMBus. [pgoyette 20180228]
 	ichsmb(4): Add Apollo Lake and Gemini Lake devices. [msaitoh 20180302]
 	lm(4): Add NCT6796D support. [msaitoh 20180308]
 	macppc: Enable Bluetooth support by default in GENERIC kernel.
@@ -357,7 +357,7 @@ Changes from NetBSD 8.0 to NetBSD 9.0:
 		host during early stages of startup. [sevan 20190410]
 	dhcpcd(8): Import dhcpcd-7.2.0 [roy 20190418]
 	evbarm: Add support for Amlogic GXL family SoCs. [jmcneill 20190419]
-	OpenSSH: Import 8.0 [christos 20180420]
+	OpenSSH: Import 8.0. [christos 20190420]
 	evbarm: Add support for boot configuration (efiboot.plist) and
 		applying device tree overlays to efiboot. [thorpej 20190421]
 	libpthread(3): Import C11 thread support library [kamil 20190424]



CVS commit: src/doc

2019-07-26 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Fri Jul 26 20:15:19 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
doc/CHANGES: fix OpenSSH 8.0 date; same for imcsmb(4) per consistency audit


To generate a diff of this commit:
cvs rdiff -u -r1.2559 -r1.2560 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2019-05-08 Thread Constantine A. Murenin

Hi,

Has there been any progress on this since 2017-12-03?

I've noticed that ips(4) is missing the man-page, only has 
a single revision on ips.c, and is not connected to the build 
(neither to ALL nor GENERIC).


Is it intentional for this driver to remain in tree?  
(Does it even still compile?)


C.

On 2017-W48-7 14:26 +, Jaromir Dolecek wrote:

Module Name:src
Committed By:   jdolecek
Date:   Sun Dec  3 14:26:38 UTC 2017

Modified Files:
src/sys/dev/pci: files.pci
Added Files:
src/sys/dev/pci: ips.c

Log Message:
port ips(4) driver from OpenBSD; needs a lot more work, right now just 
compilable


To generate a diff of this commit:
cvs rdiff -u -r1.391 -r1.392 src/sys/dev/pci/files.pci
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/ips.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2010-03-08 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Mon Mar  8 11:54:35 UTC 2010

Modified Files:
src/sys/dev/acpi: atk0110.c

Log Message:
register aibs(4) with pmf(9) to quiet the latter down; reported Dieter Roelants


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/acpi/atk0110.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/acpi/atk0110.c
diff -u src/sys/dev/acpi/atk0110.c:1.9 src/sys/dev/acpi/atk0110.c:1.10
--- src/sys/dev/acpi/atk0110.c:1.9	Fri Mar  5 14:00:17 2010
+++ src/sys/dev/acpi/atk0110.c	Mon Mar  8 11:54:35 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: atk0110.c,v 1.9 2010/03/05 14:00:17 jruoho Exp $	*/
+/*	$NetBSD: atk0110.c,v 1.10 2010/03/08 11:54:35 cnst Exp $	*/
 /*	$OpenBSD: atk0110.c,v 1.1 2009/07/23 01:38:16 cnst Exp $	*/
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: atk0110.c,v 1.9 2010/03/05 14:00:17 jruoho Exp $);
+__KERNEL_RCSID(0, $NetBSD: atk0110.c,v 1.10 2010/03/08 11:54:35 cnst Exp $);
 
 #include sys/param.h
 #include sys/malloc.h
@@ -129,6 +129,9 @@
 			free(sc-sc_asens_fan, M_DEVBUF);
 		return;
 	}
+
+	if (!pmf_device_register(self, NULL, NULL))
+		aprint_error_dev(self, could not establish power handler\n);
 }
 
 static void
@@ -264,6 +267,7 @@
 {
 	struct aibs_softc	*sc = device_private(self);
 
+	pmf_device_deregister(self);
 	sysmon_envsys_unregister(sc-sc_sme);
 	if (sc-sc_asens_volt != NULL)
 		free(sc-sc_asens_volt, M_DEVBUF);



CVS commit: src/sys/dev/acpi

2010-03-08 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Mon Mar  8 11:54:35 UTC 2010

Modified Files:
src/sys/dev/acpi: atk0110.c

Log Message:
register aibs(4) with pmf(9) to quiet the latter down; reported Dieter Roelants


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/acpi/atk0110.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2010-03-06 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 19:53:33 UTC 2010

Modified Files:
src/share/man/man4: aibs.4

Log Message:
make the acpi resource management paragraph more accurate


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/aibs.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2010-03-06 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 19:53:33 UTC 2010

Modified Files:
src/share/man/man4: aibs.4

Log Message:
make the acpi resource management paragraph more accurate


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/aibs.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/aibs.4
diff -u src/share/man/man4/aibs.4:1.5 src/share/man/man4/aibs.4:1.6
--- src/share/man/man4/aibs.4:1.5	Fri Feb 12 02:16:59 2010
+++ src/share/man/man4/aibs.4	Sat Mar  6 19:53:33 2010
@@ -1,4 +1,4 @@
-.\	$NetBSD: aibs.4,v 1.5 2010/02/12 02:16:59 cnst Exp $
+.\	$NetBSD: aibs.4,v 1.6 2010/03/06 19:53:33 cnst Exp $
 .\	$OpenBSD: aibs.4,v 1.4 2009/07/30 06:30:45 jmc Exp $
 .\
 .\ Copyright (c) 2009 Constantine A. Murenin cnst+net...@bugmail.mojo.ru
@@ -176,15 +176,13 @@
 is present, and
 may be ignored as appropriate.
 Whereas on
-.Ox
-the native drivers have to be specifically disabled should
+some supported operating systems
+the native drivers may have to be specifically disabled should
 their presence be judged unnecessary,
 on
-.Dx
-the
+others
+the drivers like
 .Xr lm 4
-and
-.Xr it 4
 are not probed provided that
 .Xr acpi 4
 is configured and the system potentially supports



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

2010-03-06 Thread Constantine Aleksandrovich Murenin
This doesn't sound right:  if sysmon_envsys(9) functions are
specifically used in these drivers, then depending on header pollution
for the prototypes of these functions instead of explicitly including
dev/sysmon/sysmonvar.h sounds like a definite bug, not at all a
feature.

C.

On 05/03/2010, Jukka Ruohonen jru...@netbsd.org wrote:
 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 acpi_quirks.c acpi_resource.c
 acpi_slit.c acpi_srat.c acpi_timer.c acpi_tz.c acpi_wakedev.c
 aiboost.c asus_acpi.c atk0110.c atppc_acpi.c attimer_acpi.c
 com_acpi.c dalb_acpi.c fdc_acpi.c hpet_acpi.c hpqlb_acpi.c
 joy_acpi.c lpt_acpi.c mpu_acpi.c pckbc_acpi.c pcppi_acpi.c
 smbus_acpi.c sony_acpi.c spic_acpi.c thinkpad_acpi.c ug_acpi.c
 wb_acpi.c wmi_acpi.c wss_acpi.c ym_acpi.c

  Log Message:
  Remove dev/acpi/acpica.h from all files. It is included from
  dev/acpi/acpivar.h. Ditto for dev/sysmon/sysmonvar.h, sys/bus.h,
  dev/pci/pcivar.h, and dev/isa/isavar.h.

  Also nuke a lot of unused and invalid headers. Some of these are audibly
  provided by standard headers (namely sys/param.h and sys/device.h), some
  have nothing to do with ACPI devices (e.g. sys/syslog.h), and some are
  nonexistent local includes (e.g. mpu_ym.h). Moreoever, try to group the
  includes into their respective blocks.

  Tested with GENERIC and ALL (i386). No functional change.



  To generate a diff of this commit:

 cvs rdiff -u -r1.154 -r1.155 src/sys/dev/acpi/acpi.c
  cvs rdiff -u -r1.41 -r1.42 src/sys/dev/acpi/acpi_acad.c
  cvs rdiff -u -r1.14 -r1.15 src/sys/dev/acpi/acpi_apm.c \
 src/sys/dev/acpi/acpi_timer.c src/sys/dev/acpi/sony_acpi.c \
 src/sys/dev/acpi/wmi_acpi.c
  cvs rdiff -u -r1.83 -r1.84 src/sys/dev/acpi/acpi_bat.c
  cvs rdiff -u -r1.33 -r1.34 src/sys/dev/acpi/acpi_button.c
  cvs rdiff -u -r1.61 -r1.62 src/sys/dev/acpi/acpi_ec.c
  cvs rdiff -u -r1.35 -r1.36 src/sys/dev/acpi/acpi_lid.c
  cvs rdiff -u -r1.20 -r1.21 src/sys/dev/acpi/acpi_madt.c
  cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/acpi_pci.c \
 src/sys/dev/acpi/acpi_slit.c src/sys/dev/acpi/acpi_srat.c \
 src/sys/dev/acpi/acpi_wakedev.c
  cvs rdiff -u -r1.15 -r1.16 src/sys/dev/acpi/acpi_pci_link.c
  cvs rdiff -u -r1.10 -r1.11 src/sys/dev/acpi/acpi_powerres.c \
 src/sys/dev/acpi/acpi_quirks.c src/sys/dev/acpi/ym_acpi.c
  cvs rdiff -u -r1.31 -r1.32 src/sys/dev/acpi/acpi_resource.c
  cvs rdiff -u -r1.60 -r1.61 src/sys/dev/acpi/acpi_tz.c
  cvs rdiff -u -r1.29 -r1.30 src/sys/dev/acpi/aiboost.c
  cvs rdiff -u -r1.17 -r1.18 src/sys/dev/acpi/asus_acpi.c
  cvs rdiff -u -r1.8 -r1.9 src/sys/dev/acpi/atk0110.c \
 src/sys/dev/acpi/dalb_acpi.c src/sys/dev/acpi/smbus_acpi.c
  cvs rdiff -u -r1.16 -r1.17 src/sys/dev/acpi/atppc_acpi.c
  cvs rdiff -u -r1.13 -r1.14 src/sys/dev/acpi/attimer_acpi.c
  cvs rdiff -u -r1.30 -r1.31 src/sys/dev/acpi/com_acpi.c
  cvs rdiff -u -r1.37 -r1.38 src/sys/dev/acpi/fdc_acpi.c
  cvs rdiff -u -r1.4 -r1.5 src/sys/dev/acpi/hpet_acpi.c
  cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/hpqlb_acpi.c
  cvs rdiff -u -r1.9 -r1.10 src/sys/dev/acpi/joy_acpi.c \
 src/sys/dev/acpi/mpu_acpi.c
  cvs rdiff -u -r1.18 -r1.19 src/sys/dev/acpi/lpt_acpi.c
  cvs rdiff -u -r1.32 -r1.33 src/sys/dev/acpi/pckbc_acpi.c
  cvs rdiff -u -r1.11 -r1.12 src/sys/dev/acpi/pcppi_acpi.c
  cvs rdiff -u -r1.5 -r1.6 src/sys/dev/acpi/spic_acpi.c \
 src/sys/dev/acpi/ug_acpi.c
  cvs rdiff -u -r1.27 -r1.28 src/sys/dev/acpi/thinkpad_acpi.c
  cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/wb_acpi.c
  cvs rdiff -u -r1.25 -r1.26 src/sys/dev/acpi/wss_acpi.c


  Please note that diffs are not public domain; they are subject to the
  copyright notices on the relevant files.


CVS commit: src/sys/arch

2010-03-05 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 04:28:54 UTC 2010

Modified Files:
src/sys/arch/amd64/conf: GENERIC XEN3_DOM0
src/sys/arch/i386/conf: GENERIC

Log Message:
remove aiboost(4) from GENERICs, since it cannot win in autoconf(9) over 
aibs(4);  ok pgoyette


To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.971 -r1.972 src/sys/arch/i386/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch

2010-03-05 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 04:28:54 UTC 2010

Modified Files:
src/sys/arch/amd64/conf: GENERIC XEN3_DOM0
src/sys/arch/i386/conf: GENERIC

Log Message:
remove aiboost(4) from GENERICs, since it cannot win in autoconf(9) over 
aibs(4);  ok pgoyette


To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.971 -r1.972 src/sys/arch/i386/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.269 src/sys/arch/amd64/conf/GENERIC:1.270
--- src/sys/arch/amd64/conf/GENERIC:1.269	Mon Feb 22 13:42:04 2010
+++ src/sys/arch/amd64/conf/GENERIC	Sat Mar  6 04:28:53 2010
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.269 2010/02/22 13:42:04 pgoyette Exp $
+# $NetBSD: GENERIC,v 1.270 2010/03/06 04:28:53 cnst Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		GENERIC-$Revision: 1.269 $
+#ident 		GENERIC-$Revision: 1.270 $
 
 maxusers	64		# estimated number of users
 
@@ -285,7 +285,6 @@
 acpiwmi*	at acpi?		# ACPI WMI Mapper
 
 # Mainboard devices
-aiboost* 	at acpi?		# ASUS AI Booster Hardware monitor
 aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
 asus*		at acpi?		# ASUS hotkeys
 attimer*	at acpi?		# AT Timer

Index: src/sys/arch/amd64/conf/XEN3_DOM0
diff -u src/sys/arch/amd64/conf/XEN3_DOM0:1.50 src/sys/arch/amd64/conf/XEN3_DOM0:1.51
--- src/sys/arch/amd64/conf/XEN3_DOM0:1.50	Sun Feb 21 05:16:29 2010
+++ src/sys/arch/amd64/conf/XEN3_DOM0	Sat Mar  6 04:28:54 2010
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.50 2010/02/21 05:16:29 cnst Exp $
+# $NetBSD: XEN3_DOM0,v 1.51 2010/03/06 04:28:54 cnst Exp $
 
 include 	arch/amd64/conf/std.xen
 
@@ -224,7 +224,6 @@
 acpiec* 	at acpi?		# ACPI Embedded Controller
 acpilid* 	at acpi?		# ACPI Lid Switch
 acpitz*		at acpi?		# ACPI Thermal Zone
-aiboost*	at acpi?		# ASUS AI Booster Hardware monitor
 aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
 hpqlb*		at acpi?		# HP Quick Launch Buttons
 pckbc*		at acpi?		# PC keyboard controller

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.971 src/sys/arch/i386/conf/GENERIC:1.972
--- src/sys/arch/i386/conf/GENERIC:1.971	Mon Feb 22 17:27:04 2010
+++ src/sys/arch/i386/conf/GENERIC	Sat Mar  6 04:28:53 2010
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.971 2010/02/22 17:27:04 pgoyette Exp $
+# $NetBSD: GENERIC,v 1.972 2010/03/06 04:28:53 cnst Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		GENERIC-$Revision: 1.971 $
+#ident 		GENERIC-$Revision: 1.972 $
 
 maxusers	64		# estimated number of users
 
@@ -363,7 +363,6 @@
 acpiwmi*	at acpi?		# ACPI WMI Mapper
 
 # Mainboard devices
-aiboost*	at acpi?		# ASUS AI Booster Hardware Monitor
 aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
 asus*		at acpi?		# ASUS hotkeys
 attimer*	at acpi?		# AT Timer



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

2010-03-05 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 04:33:24 UTC 2010

Modified Files:
src/sys/arch/i386/conf: XEN3_DOM0

Log Message:
no reason to be excluding aibs(4) from i386 XEN3_DOM0 if we include it in 
amd64;  ok pgoyette


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/i386/conf/XEN3_DOM0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/conf/XEN3_DOM0
diff -u src/sys/arch/i386/conf/XEN3_DOM0:1.29 src/sys/arch/i386/conf/XEN3_DOM0:1.30
--- src/sys/arch/i386/conf/XEN3_DOM0:1.29	Sun Feb 21 05:16:29 2010
+++ src/sys/arch/i386/conf/XEN3_DOM0	Sat Mar  6 04:33:24 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3_DOM0,v 1.29 2010/02/21 05:16:29 cnst Exp $
+#	$NetBSD: XEN3_DOM0,v 1.30 2010/03/06 04:33:24 cnst Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -837,5 +837,5 @@
 acpiec* 	at acpi?		# ACPI Embedded Controller (late binding)
 acpiecdt* 	at acpi?		# ACPI Embedded Controller (early binding)
 acpilid* 	at acpi?		# ACPI Lid Switch
+aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
 hpqlb*		at acpi?		# HP Quick Launch Buttons
- 



CVS commit: src/sys/dev/usb

2010-03-05 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 04:39:16 UTC 2010

Modified Files:
src/sys/dev/usb: uthum.c

Log Message:
fix the relative humidity sensor


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/usb/uthum.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/uthum.c
diff -u src/sys/dev/usb/uthum.c:1.2 src/sys/dev/usb/uthum.c:1.3
--- src/sys/dev/usb/uthum.c:1.2	Wed Feb 24 17:34:56 2010
+++ src/sys/dev/usb/uthum.c	Sat Mar  6 04:39:16 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: uthum.c,v 1.2 2010/02/24 17:34:56 plunky Exp $   */
+/*	$NetBSD: uthum.c,v 1.3 2010/03/06 04:39:16 cnst Exp $   */
 /*	$OpenBSD: uthum.c,v 1.6 2010/01/03 18:43:02 deraadt Exp $   */
 
 /*
@@ -167,7 +167,8 @@
 		sc-sc_sensor[UTHUM_TEMP].units = ENVSYS_STEMP;
 		sc-sc_sensor[UTHUM_TEMP].state = ENVSYS_SINVALID;
 
-		(void)strlcpy(sc-sc_sensor[UTHUM_HUMIDITY].desc, humidity,
+		(void)strlcpy(sc-sc_sensor[UTHUM_HUMIDITY].desc,
+		relative humidity,
 		sizeof(sc-sc_sensor[UTHUM_HUMIDITY].desc));
 		sc-sc_sensor[UTHUM_HUMIDITY].units = ENVSYS_INTEGER;
 		sc-sc_sensor[UTHUM_HUMIDITY].value_cur = 0;
@@ -346,7 +347,7 @@
 		temp = uthum_sht1x_temp(temp_tick);
 		rh = uthum_sht1x_rh(humidity_tick, temp);
 
-		sc-sc_sensor[UTHUM_HUMIDITY].value_cur = rh;
+		sc-sc_sensor[UTHUM_HUMIDITY].value_cur = rh / 1000;
 		sc-sc_sensor[UTHUM_HUMIDITY].state = ENVSYS_SVALID;
 		break;
 	case UTHUM_TYPE_TEMPER:



CVS commit: src/sys/dev/usb

2010-03-05 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 04:39:16 UTC 2010

Modified Files:
src/sys/dev/usb: uthum.c

Log Message:
fix the relative humidity sensor


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/usb/uthum.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev

2010-03-05 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 05:58:56 UTC 2010

Modified Files:
src/sys/dev: DEVNAMES

Log Message:
add acpismbus(4), aibs(4), uthum(4) and wbsio(4) to DEVNAMES


To generate a diff of this commit:
cvs rdiff -u -r1.255 -r1.256 src/sys/dev/DEVNAMES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/DEVNAMES
diff -u src/sys/dev/DEVNAMES:1.255 src/sys/dev/DEVNAMES:1.256
--- src/sys/dev/DEVNAMES:1.255	Fri Jan 15 20:57:13 2010
+++ src/sys/dev/DEVNAMES	Sat Mar  6 05:58:56 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: DEVNAMES,v 1.255 2010/01/15 20:57:13 bouyer Exp $
+#	$NetBSD: DEVNAMES,v 1.256 2010/03/06 05:58:56 cnst Exp $
 #
 # This file contains all used device names and defined attributes in
 # alphabetical order. New devices added to the system somewhere should first
@@ -29,6 +29,7 @@
 acpibut			MI
 acpiec			MI
 acpilid			MI
+acpismbus		MI
 acpitz			MI
 ad			vax
 ad1848			MI		Attribute
@@ -61,6 +62,7 @@
 ahsc			amigappc
 ai			MI
 aiboost			MI
+aibs			MI
 aic			MI
 akbd			mac68k
 akbd			macppc
@@ -1368,6 +1370,7 @@
 usscanner		MI
 ustir			MI
 ut			vax
+uthum			MI
 utoppy			MI
 uu			vax
 uvisor			MI
@@ -1412,6 +1415,7 @@
 vt			i386
 vtpbc			algor
 vz			vax
+wbsio			MI
 wd			MI
 wd33c93			MI		Attribute
 wdc			MI



CVS commit: src/sys/dev

2010-03-05 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sat Mar  6 05:58:56 UTC 2010

Modified Files:
src/sys/dev: DEVNAMES

Log Message:
add acpismbus(4), aibs(4), uthum(4) and wbsio(4) to DEVNAMES


To generate a diff of this commit:
cvs rdiff -u -r1.255 -r1.256 src/sys/dev/DEVNAMES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2010-02-20 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Sun Feb 21 05:16:29 UTC 2010

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile isa.4 lm.4
src/sys/arch/amd64/conf: GENERIC XEN3_DOM0
src/sys/arch/i386/conf: ALL GENERIC XEN3_DOM0
src/sys/dev/isa: files.isa lm_isa.c
Added Files:
src/share/man/man4: wbsio.4
src/sys/dev/isa: wbsio.c

Log Message:
New wbsio(4) driver for Winbond Super I/O attachment of lm(4) on any port.

http://mail-index.netbsd.org/tech-kern/2010/02/17/msg007338.html

Reviewed by pgoyette, tech-kern.


To generate a diff of this commit:
cvs rdiff -u -r1.1192 -r1.1193 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.504 -r1.505 src/share/man/man4/Makefile
cvs rdiff -u -r1.40 -r1.41 src/share/man/man4/isa.4
cvs rdiff -u -r1.31 -r1.32 src/share/man/man4/lm.4
cvs rdiff -u -r0 -r1.1 src/share/man/man4/wbsio.4
cvs rdiff -u -r1.266 -r1.267 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.238 -r1.239 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.968 -r1.969 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.158 -r1.159 src/sys/dev/isa/files.isa
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/isa/lm_isa.c
cvs rdiff -u -r0 -r1.1 src/sys/dev/isa/wbsio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2010-02-17 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Wed Feb 17 22:04:14 UTC 2010

Modified Files:
src/share/man/man9: kprintf.9

Log Message:
grammar in kprintf.9 (s/or/and/ and add some commas);   ok wiz, pgoyette


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/share/man/man9/kprintf.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/envstat

2010-02-11 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Fri Feb 12 05:02:40 UTC 2010

Modified Files:
src/usr.sbin/envstat: envstat.c

Log Message:
remove the fourth (empty) column from the -T printouts; ok pgoyette


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/usr.sbin/envstat/envstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2010-02-09 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Wed Feb 10 01:40:25 UTC 2010

Modified Files:
src/doc: CHANGES

Log Message:
mention aibs(4);  suggested: pgoyette;


To generate a diff of this commit:
cvs rdiff -u -r1.1357 -r1.1358 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2010-02-08 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Tue Feb  9 03:19:51 UTC 2010

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile acpi.4
src/sys/arch/amd64/conf: GENERIC XEN3_DOM0
src/sys/arch/i386/conf: ALL GENERIC
src/sys/dev/acpi: files.acpi
src/usr.sbin/envstat: envstat.8
Added Files:
src/share/man/man4: aibs.4
src/sys/dev/acpi: atk0110.c

Log Message:
New aibs(4) driver for ASUSTeK AI Booster (ACPI ATK0110) hardware monitor
with limit support.

http://thread.gmane.org/gmane.os.netbsd.devel.kernel/35654

Reviewed by pgoyette, jruoho and tech-kern.


To generate a diff of this commit:
cvs rdiff -u -r1.1189 -r1.1190 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.503 -r1.504 src/share/man/man4/Makefile
cvs rdiff -u -r1.38 -r1.39 src/share/man/man4/acpi.4
cvs rdiff -u -r0 -r1.1 src/share/man/man4/aibs.4
cvs rdiff -u -r1.265 -r1.266 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.234 -r1.235 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.964 -r1.965 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r0 -r1.1 src/sys/dev/acpi/atk0110.c
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/acpi/files.acpi
cvs rdiff -u -r1.53 -r1.54 src/usr.sbin/envstat/envstat.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2010-02-08 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Tue Feb  9 03:32:57 UTC 2010

Modified Files:
src/sys/dev/acpi: atk0110.c

Log Message:
* s/misformed/malformed/;

* don't change .status to anything other than SVALID and SINVALID in refresh();

suggested by pgoyette


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/atk0110.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2010-02-08 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Tue Feb  9 05:37:25 UTC 2010

Modified Files:
src/share/man/man4: aibs.4

Log Message:
use the latest envstat in the example output for aibs(4)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/aibs.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2010-02-08 Thread Constantine A. Murenin
Module Name:src
Committed By:   cnst
Date:   Tue Feb  9 07:32:09 UTC 2010

Modified Files:
src/share/man/man4: envsys.4

Log Message:
fix the example code to be closer to compilation and update for aibs(4)


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/share/man/man4/envsys.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.