xref: /netbsd-src/share/man/man4/man4.x68k/powsw.4 (revision 9289c438ac943d9bf08695a41c4021ceba899d1f)
1.\" $NetBSD: powsw.4,v 1.1 2011/11/27 09:00:33 isaki Exp $
2.\"
3.\" Copyright (c) 2011 Tetsuya Isaki. All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
19.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
21.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.Dd November 27, 2011
27.Dt POWSW 4 x68k
28.Os
29.Sh NAME
30.Nm powsw
31.Nd x68k power switch handler
32.Sh SYNOPSIS
33.Cd powsw0 at mfp0
34.Cd powsw1 at mfp0
35.Sh DESCRIPTION
36The
37.Nm
38driver monitors x68k's power switch,
39and is made as interface to
40.Xr sysmon_pswitch 9 .
41.Pp
42.Nm powsw0
43monitors a front switch.
44.Nm powsw1
45monitors an external power switch (EXPWON signal in I/O slot).
46.Sh SEE ALSO
47.Xr powerd 8
48.Sh HISTORY
49.Nm
50appeared in
51.Nx 6.0 .
52.Sh BUGS
53I have no idea for
54.Nm powsw2
55(rtc alarm).
56