aboutsummaryrefslogtreecommitdiff
path: root/ja_JP.eucJP/man/man4/man4.i386/pnp.4
blob: 98905b030223657eb96f902446ce2691b9c27e3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
.\" pnp(4) - manual page for the scanner device driver `asc'
.\"
.\"
.\" Copyright (c) 1997 Luigi Rizzo
.\"
.\" 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 and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgements:
.\"	This product includes software developed by Luigi Rizzo.
.\" 4. The name of the author may not be used to endorse or promote products
.\"    derived from this software without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"	%Id: pnp.4,v 1.2 1998/03/12 07:30:36 charnier Exp %
.\"
.\" Based on Japanese translation by Yasuhito FUTATSUKI <futatuki@fureai.or.jp>
.\" [man-jp 1426]
.\" $FreeBSD$
.\"
.Dd September 7, 1997
.Dt PNP 4 i386
.Os FreeBSD
.Sh ̾
.Nm pnp
.Nd PnP ǥХΥݡ
.Sh 
.Cd controller pnp0
.Sh 
.Fx
 PnP ǥХݡȤˤäơ桼 PnP ɤ
ꤹ뤳ȤǽˤʤޤޤǥХɥ饤Ф PnP ɤ
ѥ᡼ѹ뤳Ȥǽˤʤޤ
.Pp
ưǶꤹ뵡ǽѤ뤿ˤϡͥ
.Cd options USERCONFIG
դǥѥ뤹ɬפޤ
ΤȤͥϡPnP ǥХϿ뤿
礭Υơ֥ (ǥեȤ 20 ȥ) ݤޤ
PnP  1 ĤʣΩǥХ鹽Ƥ
Ȥ⤢ޤ (5  6 Ĥ⤢ȤȤϰ۾ǤϤޤ)
.Pp
ͥ
.Dq Fl c
ե饰դǥ֡Ȥ뤳Ȥǡ
PnP ɤѹΥޥɤѤǤޤޥɤ
.Dl pnp CSN LDN
Ȥ󥹤ϤޤޤǡCSN ʤӤ LDN 
줾졢ǥХ˿Ƥ륫ֹ
.Pq Card Select Number
ǥХֹ
.Pq Logiacal Device Number
Ǥ
Υ󥹤³ơʲΥޥɤǤդȤ߹碌Ȥޤ

.Bl -tag -width "mmmmmmmmmm""
.It Dv irqN Ar line
ɾγ 0 ޤ 1
.Pq : N ǻ
˻Ѥ IRQ ꤷޤ
.Ar line
 0 ꤹ뤳ȤϡIRQ ѤʤȤ̣ޤ
.It Dv drqN Ar n
ɾ DMA 0 ޤ 1
.Pq : N ǻ
˻Ѥ DRQ ͥꤷޤ
ͥ 4 ꤹ뤳ȤϡͥѤʤȤ̣ޤ
.It Dv portN Ar address
N ܤΥݡΰ
.Pq port's range
δ쥢ɥ쥹
.Pq base address
ꤷޤ (N=0..7)
.Ar address
 0 ꤹ뤳ȤϡݡȤѤʤȤ̣ޤ
.It Dv memN Ar address
N ܤΥΰ
.Pq memory's range
δ쥢ɥ쥹
.Pq base address
ꤷޤ (N=0..3)
.Ar address
 0 ꤹ뤳ȤϡΰѤʤȤ̣ޤ
.It Dv bios
PnP ǥХȤơBIOS ꤷΤѤޤ
ϥǥեȤǤꡢ
BIOS  PnP 򥵥ݡȤƤˤ̾ϤǤ褤Ǥ礦
BIOS Ѥˤ
.Dq Dv flags
ʳΥѥ᡼̵뤵ޤ
.It Dv os
PnP ǥХˡΥȥǻꤷΤѤޤ
.It Dv enable
PnP ǥХͭˤޤ
.It Dv disable
PnP ǥХ̵ˤޤ
.It Dv delete
ǥХ˻ѤƤ륨ȥ̤ CSN/LDN Ȥ
¾ΥǥХǻѤǤ褦ˤޤ
.It Dv flags
ǥХɥ饤ФϤ 32 ӥåȤ flags ȥͤꤷޤ
flags ϡ̤ư⡼ɤꤹΤ˻Ȥ뤳Ȥޤ
(㤨СΥɥɤ SB  WSS Υߥ졼
ڤؤ롢ʤ)
.El
.Pp
ߤΥơ֥ͤϡuserconfig 
.Ic ls
ޥɤɽޤ
Υơ֥ϡ桼Ԥʤäѹ˲ä
PnP ǥХɥ饤Ф٤ƤǥХΥȥ
ݻޤ
.Pp
ơ֥ѹ̤ϡ
.Xr dset 8
ޥɤˤäƥե륷ƥΥ֡ȥ᡼¸ޤ
.Pq : ͥ ELF ˤ dset ޥɤѻߤޤ
.Pp
.Sh PnP 򥵥ݡȤǥХɥ饤
ͥ PnP ǥХưŪǧꤷޤ
PnP ǥХϰʲΥǡ¤Ǽ̤ޤ
.Bd -literal
struct pnp_device { 
	char	*pd_name;
	char	*(*pd_probe ) (u_long csn, u_long vendor_id);
	void	(*pd_attach ) (u_long csn, u_long vend_id, char * name,
		    struct isa_device *dev);
	u_long	*pd_count;
	u_int	*imask;
	struct	isa_device dev;
};
.Ed
.Pp
ץ (probe) 롼ϡϤ vendor_id ʬ
ǧΤǤ뤫
ɬפʥǥХͭˤʤäƤ뤫å
å
Ԥˤ NULL ͤˤ NULL Ǥʤ
(̤˥ǥХ̾ؤݥ) ֤ޤ
ץ֥롼ˤơǥХͭǤ뤫ɤ
åˤϡ
.Fn read_pnp_parms
ѤǤޤ
.Pp
å (attach) 롼ϡ
PnP ɤ ISA ǽˤ롢
롢ǥХ ISA ɥ饤ФƤ֡
Ȥäɬפʽ򤹤٤ƹԤȤɬפǤ
.Pp
Υ롼ȥǡ¤ѤǤޤ
.Bl -tag -width "xxxxxxxxxx"
.It Dv struct pnp_cinfo
Υǡ¤
.Po
.Pa /usr/i386/isa/pnp.h
Ƥ
.Pc
ϡ
PnP ǥХ˴Ϣ뤹٤ƤξޤǤޤ
.It Fn read_pnp_parms "struct pnp_cinfo *d" "int ldn"
δؿ׵ᤵ줿ǥХ֤ޤ
δؿϥץ֤ӥå
롼󤫤ƤФ뤳ȤꤷƤ뤿ᡢ
CSN ꤹ뤳ȤϤǤޤ
.It Fn write_pnp_parms "struct pnp_cinfo *d" "int ldn"
δؿ׵ᤵ줿ǥХΥѥ᡼ꤷޤ
Ʊˡͥζѥơ֥Υȥ򹹿ޤ
BIOS  (userconfig Ѥ) 桼
ɤѥ᡼ꤹ٤褯ΤäƤϤʤΤǡ
ǥХɥ饤Ф̾ǥХѹ٤Ǥ
.Em ޤ
äˡ
userconfig ˤ붯ᥫ˥þƤޤᡢ
̵ˤʤäƤǥХ
.Em ͭˤƤϤʤޤ
ǥХɥ饤ФǥХݡΰʤɤ̵ˤƤ
ޤޤ󤬡ϡ
ΥǥХѥ᡼򵯤Ȥ狼äƤ
¤٤Ǥ
.It Fn enable_pnp_card void
δؿϥå롼
.Em Τߡ
ɤ ISA ݡ/Υɥ쥹ΰ˥
.Em ƤФʤФʤޤ
.El
.Pp
.Sh Ϣ
.Xr dset 8
.Pq : ѻߤޤ
.Sh Х
ӥ奢륳ե졼ˤϡPnP ǥХΥݡȤ
ޤ
userconfig Υޥɤ PnP ǥХ뤳ȤǤ
餷ȤǤ礦
.Sh 
PnP ݡȤ
.An Sujal Patel
˼ݤΤ򸵤ˡ
.An Luigi Rizzo
񤭤ޤ
.Sh 
.Nm

.Fx 2.2.5
˽о줷ޤ