From owner-acpi-jp@jp.freebsd.org  Tue Jul 25 03:31:10 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id DAA02085;
	Tue, 25 Jul 2000 03:31:10 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from rover.village.org (warner@rover.village.org [204.144.255.49])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id DAA02011
	for <acpi-jp@jp.FreeBSD.ORG>; Tue, 25 Jul 2000 03:31:08 +0900 (JST)
	(envelope-from imp@harmony.village.org)
Received: from harmony.village.org (harmony.village.org [10.0.0.6])
	by rover.village.org (8.9.3/8.9.3) with ESMTP id MAA21336;
	Mon, 24 Jul 2000 12:30:29 -0600 (MDT)
	(envelope-from imp@harmony.village.org)
Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA81336; Mon, 24 Jul 2000 12:30:13 -0600 (MDT)
Message-Id: <200007241830.MAA81336@harmony.village.org>
To: takawata@shidahara1.planet.sci.kobe-u.ac.jp
Cc: msmith@FreeBSD.org, dfr@FreeBSD.org, acpi-jp@jp.FreeBSD.ORG,
        jkh@FreeBSD.org
In-reply-to: Your message of "Mon, 24 Jul 2000 11:03:27 PDT."
		<26590.964461807@localhost> 
References: <26590.964461807@localhost>  
Date: Mon, 24 Jul 2000 12:30:12 -0600
From: Warner Losh <imp@village.org>
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 493
Subject: [acpi-jp 493] Re: takawata@shidahara1.planet.sci.kobe-u.ac.jp: Device major number request for ACPI device. 
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: imp@village.org

[[ Since this message goes to a Japanese list, I make attempts to say
   things in both English and Japanese.  ]]

: Hi, I want major number for ACPI device.
: I will use the device interface to enable/disable ACPI and access to 
: switches defined in ACPI.

$B$3$s$K$A$O!#%o!<%J!<$G$9!#(B

watanabe$B$5$s!"(B

$B?7$7$$%a%8%c!<HV9f$rF@$k$?$a$K!"$"$J$?$O$A$g$&$I%U%!%$%k$N=*$o$j$^$G$"(B
$B$J$?$N%G%P%$%9$r2C$($k$?$a$K(Bsys/conf/majors$B$rJT=8$9$k$+$b$7$l$^$;$s!#(B 
152$B$,<!$N<+M3$J%J%s%P!<$G$"$j$=$&$G$9!#;d$O!"%(%s%H%j!<$,9g$&$H4+$a$k(B
$B$G$7$g$&!'(B

152	acpi	acpi control device <acpi-jp@jp.freebsd.org>

watanabe$B$5$s$,$=$&$9$k$N$G!"%"%/%;%9$r0QBw$7$F$/$@$5$$!"$"$J$?$O$3$l$rD>@\%3(B
$B%_%C%H$5$;$k$+$b$7$l$^$;$s!#(B

$B%o!<%J!<(B

P.S. $B8=:_1Q8l$GOC$7$^$9!#(B

Watanabe-san,
	To get a new major number, you may just edit sys/conf/majors
to add your device to the end of the file.  It looks like 152 is the
next free number.  I'd recommend an entry like:

152	acpi	acpi control device <acpi-jp@jp.freebsd.org>

Because you have commit access, you may make this commit directly.

Warner
