OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / pcmcia-cs / draft / man5 / pcmcia.5
1 .\" Copyright (C) 1998 David A. Hinds -- dahinds@users.sourceforge.net
2 .\" pcmcia.5 1.27 2000/10/16 16:37:38
3 .\"
4 .\" Japanese Version Copyright (c) 2000 KOJIMA Mitsuhiro and NAKANO Takeo
5 .\" all rights reserved.
6 .\" Translated Sun May 14 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
7 .\" based on the draft by KOJIMA Mitsuhiro <isle@st.rim.or.jp>
8 .\" Updated Mon 12 Mar 2001 by NAKANO Takeo
9 .\"
10 .TH PCMCIA 5 "2000/10/16 16:37:38" "pcmcia-cs"
11 .\"O .SH NAME
12 .\"O /etc/pcmcia/config \- PCMCIA card configuration database
13 .SH Ì¾Á°
14 /etc/pcmcia/config \- PCMCIA ¥«¡¼¥É¤ÎÀßÄê¥Ç¡¼¥¿¥Ù¡¼¥¹
15 .\"O 
16 .\"O .SH DESCRIPTION
17 .SH ÀâÌÀ
18 .\"O The PCMCIA card configuration file is read by \fIcardmgr\fR(8)
19 .\"O at startup time.  It defines what resources are available for use by
20 .\"O Card Services, describes how to load and initialize device drivers,
21 .\"O and describes specific PCMCIA cards.
22 PCMCIA ¥«¡¼¥ÉÀßÄê¥Õ¥¡¥¤¥ë¤Ï
23 .BR cardmgr (8)
24 ¤¬µ¯Æ°»þ¤ËÆɤ߹þ¤à¡£
25 ¤³¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡¢¥«¡¼¥É¥µ¡¼¥Ó¥¹¤¬ÍøÍѤǤ­¤ë
26 IO ¥Ý¡¼¥È¡¦¥á¥â¥ê¡¦IRQ ¤È¤¤¤Ã¤¿¥ê¥½¡¼¥¹¤òÄêµÁ¤·¡¢
27 ¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Î¥í¡¼¥É¤ä½é´ü²½¤ÎÊýË¡¤ò»ØÄꤷ¡¢
28 ¤½¤ì¤¾¤ì¤Î PCMCIA ¥«¡¼¥É¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æµ­½Ò¤¹¤ë¡£
29 .\"O 
30 .\"O .SH Resource descriptions
31 .SH ¥ê¥½¡¼¥¹¤Îµ­½Ò
32 .\"O There are three kinds of resource entries: \fBinclude\fR,
33 .\"O \fBexclude\fR, and \fBreserve\fR. Including a resource enables Card
34 .\"O Services to allocate that resource for client drivers.  Part of a
35 .\"O resource that is under Card Services control can be excluded if a
36 .\"O specific device in the system uses that resource.  And, a resource can
37 .\"O be reserved, so that it will only be assigned to a client if that
38 .\"O client specifically asks for that resource, or no other suitable
39 .\"O resources are available.
40 ¥ê¥½¡¼¥¹¤Î¥¨¥ó¥È¥ê¤Ë¤Ï 3 ¤Ä¤Î¼ïÎब¤¢¤ë¡£
41 .BR include ,
42 .BR exclude ,
43 .B reserve
44 ¤Ç¤¢¤ë¡£
45 include ¤·¤¿¥ê¥½¡¼¥¹¤Ï¡¢
46 ¥«¡¼¥É¥µ¡¼¥Ó¥¹¤¬¥¯¥é¥¤¥¢¥ó¥È¤È¤Ê¤ë³Æ¼ï¥É¥é¥¤¥Ð¤Ë³ä¤êÅö¤Æ¤ë¡£
47 ¥«¡¼¥É¥µ¡¼¥Ó¥¹¤ÎÀ©¸æ²¼¤Ë¤¢¤ë¥ê¥½¡¼¥¹¤Ï exclude ¤¹¤ë¤³¤È¤â¤Ç¤­¤ë¡£
48 Î㤨¤Ð¥·¥¹¥Æ¥à¤ÎÆÃÄê¤Î¥Ç¥Ð¥¤¥¹¤¬¤½¤Î¥ê¥½¡¼¥¹¤ò»È¤¦¤è¤¦¤Ê¾ì¹ç¤Ç¤¢¤ë¡£
49 ¥ê¥½¡¼¥¹¤Ï reserve ¤¹¤ë¤³¤È¤â¤Ç¤­¤ë¡£
50 ¤³¤Î¾ì¹ç¤Ï¡¢¤½¤Î¥ê¥½¡¼¥¹¤òÆä˻Ȥ¤¤¿¤¤¤ÈÍ׵᤹¤ë¥¯¥é¥¤¥¢¥ó¥È¤¬¸½¤ï¤ì¤ë¤«¡¢
51 ¤¢¤ë¤¤¤Ï¾¤Ë³ä¤êÅö¤Æ²Äǽ¤Ê¥ê¥½¡¼¥¹¤¬Ìµ¤¯¤Ê¤ë¤Þ¤Ç¡¢
52 ¤½¤Î¥ê¥½¡¼¥¹¤Ï³ä¤êÅö¤Æ¤Ê¤¤¡£
53 .PP
54 .\"O There are three resource types: \fBport\fR, \fBmemory\fR, and
55 .\"O \fBirq\fR. By default, Card Services assumes that it can use any
56 .\"O interrupt that is not bound by another device driver.  However, it
57 .\"O makes no assumptions about IO port and address ranges, because some
58 .\"O Linux drivers do not register their resource usage.  So, port and
59 .\"O memory ranges must be explicitly made available for use by PCMCIA
60 .\"O devices.
61 ¥ê¥½¡¼¥¹¤Î¥¿¥¤¥×¤Ë¤Ï 3 ¤Ä¤Î¼ïÎब¤¢¤ë¡£
62 .BR port ,
63 .BR memory ,
64 .B irq
65 ¤Ç¤¢¤ë¡£
66 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥«¡¼¥É¥µ¡¼¥Ó¥¹¤Ï¾¤Î¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤¬»È¤Ã¤Æ¤¤¤Ê¤¤
67 irq ¤ò¼«Í³¤Ë»È¤¨¤ë¤â¤Î¤È²¾Äꤹ¤ë¡£
68 ¤·¤«¤·¡¢¥«¡¼¥É¥µ¡¼¥Ó¥¹¤Ï I/O ¥Ý¡¼¥È¤È¥¢¥É¥ì¥¹¤ÎÈϰϤ˴ؤ·¤Æ¤Ï
69 ¤Ê¤ó¤Î²¾Äê¤â¹Ô¤ï¤Ê¤¤¡£ Linux ¤Î¥É¥é¥¤¥Ð¤ÎÃæ¤Ë¤Ï
70 ¥ê¥½¡¼¥¹¤ÎÍøÍѾõ¶·¤òÅÐÏ¿¤·¤Ê¤¤Êª¤¬¤¢¤ë¤«¤é¤Ç¤¢¤ë¡£
71 ¤½¤Î¤¿¤á¡¢
72 IO ¥Ý¡¼¥È¤È¥á¥â¥ê¤ÎÈϰϤˤĤ¤¤Æ¤Ï¡¢
73 PCMCIA ¥Ç¥Ð¥¤¥¹¤¬»È¤Ã¤ÆÎɤ¤Éôʬ¤òÌÀ¼¨Åª¤Ë»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
74 .PP
75 .\"O So, here is a portion of a config file:
76 ¤³¤ì¤é¤ò¤Þ¤È¤á¤ë¤È¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÆâÍƤϰʲ¼¤Î¤è¤¦¤Ë¤Ê¤ë:
77 .sp
78 .RS
79 .nf
80 include port 0x300-0x3ff, memory 0xd0000-0xdffff
81 reserve irq 3
82 exclude irq 4, port 0x3f8-0x3ff
83 .RE
84 .fi
85 .sp
86 .\"O This says that Card Services can allocate ports in the range 0x300 to
87 .\"O 0x3ff, and memory in the range 0xd0000 to 0xdffff.  It should not use
88 .\"O irq 4 or ports 0x3f8-0x3ff (even if they seem to be available).  And
89 .\"O irq 3 should only be allocated if a client specifically asks for it.
90 ¤³¤ÎÎã¤Ç¤Ï¡¢¥«¡¼¥É¥µ¡¼¥Ó¥¹¤Ï I/O ¥Ý¡¼¥È¤Î 0x300 ¤«¤é
91 0x3ff ¤È¡¢¥á¥â¥ê¤Î 0xd0000  ¤«¤é 0xdffff ¤Þ¤Ç¤ò³ä¤êÅö¤Æ¤ÆÎɤ¤¤³¤È¤Ë¤Ê¤ë¡£
92 exclude »ØÄê¤ò¤·¤¿ irq 4 ¤È I/O ¥Ý¡¼¥È¤Î 0x3f8 ¤«¤é 0x3ff ¤Ï¡¢
93 ÍøÍѲÄǽ¤Ç¤¢¤Ã¤Æ¤â»È¤ï¤Ê¤¤¡£
94 reserve »ØÄꤷ¤¿ irq 3 ¤Ï¡¢
95 Æäˤ½¤Î³ä¤ê¹þ¤ß¤ò¥¯¥é¥¤¥¢¥ó¥È¤¬É¬ÍפȤ·¤¿¾ì¹ç¤Ë¸Â¤Ã¤ÆÍøÍѤ¹¤ë¡£
96 .PP
97 .\"O Card Services will never allocate resources already allocated by
98 .\"O another kernel device driver.  The
99 .\"O .BR include / exclude / reserve
100 .\"O mechanism just provides a way of controlling what resources it will
101 .\"O try to use, to accomodate devices that are not registered with the
102 .\"O Linux resource manager.
103 ¥«¡¼¥É¥µ¡¼¥Ó¥¹¤Ï¡¢Â¾¤Î¥«¡¼¥Í¥ë¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Ë³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë
104 ¥ê¥½¡¼¥¹¤Ï·è¤·¤ÆÍøÍѤ·¤Ê¤¤¡£
105 .BR include / exclude / reserve
106 ¥á¥«¥Ë¥º¥à¤Ï¡¢¥«¡¼¥É¥µ¡¼¥Ó¥¹¤¬»È¤ª¤¦¤È»î¤ß¤ë¥ê¥½¡¼¥¹¤ò»ØÄꤹ¤ë¤â¤Î¤Ç¡¢
107 Linux ¤Î¥ê¥½¡¼¥¹¥Þ¥Í¡¼¥¸¥ã¡¼¤ËÅÐÏ¿¤µ¤ì¤Ê¤¤¥Ç¥Ð¥¤¥¹¤È
108 ¤¦¤Þ¤¯¶¦Â¸¤¹¤ë¤¿¤á¤Î»ÅÁȤߤʤΤǤ¢¤ë¡£
109 .\"kojima [Ãð ¼á¡§¤«¤Ã¤Æ¥ê¥½¡¼¥¹¤Î»ØÄê¤Ï /etc/pcmcia/config ¤ÎºÇ½é¤Ë
110 .\"kojima ¤¢¤ê¤Þ¤·¤¿¤¬¡¢¸½ºß¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï /etc/pcmcia/config.opts
111 .\"kojima ¤È ¤·¤ÆÆÈΩ¤·¤Æ¤¤¤Þ¤¹¡£/etc/pcmcia/config ¤Ï¿·¤·¤¯¥µ¥Ý¡¼¥È
112 .\"kojima ¤µ¤ì¤¿¥«¡¼¥É¤¬Áý¤¨¤ë¤¿¤Ó¤Ë½ñ¤­¤«¤¨¤é¤ì ¤Þ ¤¹ ¤¬¡¢/etc/pcm-
113 .\"kojima cia/config.opts ¤Ï½ñ¤­¤«¤ï¤é¤Ê¤¤¤Î¤Ç¡¢¥·¥¹¥Æ¥à¤Ë°Í¸¤¹¤ëµ­
114 .\"kojima ½Ò¤Ï *.opts ¥Õ¥¡¥¤¥ë¤Ë¤Þ¤È¤á¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£]
115 .\"O 
116 .\"O .SH Device driver descriptions
117 .SH ¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Îµ­½Ò
118 .\"O All Card Services client drivers are identified by a 32-character tag.
119 .\"O \fBDevice\fR entries in the config file describe client drivers.  The only
120 .\"O required field is the device tag.  Additional fields can specify
121 .\"O kernel modules that need to be loaded to make the device available,
122 .\"O and a script to be executed to enable and disable instances of
123 .\"O a device.  When an instance of a driver is assigned to a socket, it
124 .\"O gives cardmgr a device name by which this device will be known by the
125 .\"O system (for example, \fIeth0\fR for a net device, or \fIcua1\fR for a
126 .\"O modem).  This name will be passed to the configuration script.  For
127 .\"O example:
128 ¥«¡¼¥É¥µ¡¼¥Ó¥¹¤ÎÁ´¤Æ¤Î¥¯¥é¥¤¥¢¥ó¥È¥É¥é¥¤¥Ð¤Ï¡¢
129 32 Ê¸»ú¤Î¥¿¥°¤Ë¤è¤Ã¤Æ¼±Ê̤µ¤ì¤ë¡£
130 ÀßÄê¥Õ¥¡¥¤¥ëÃæ¤Î
131 .B device
132 ¥¨¥ó¥È¥ê¤¬¥¯¥é¥¤¥¢¥ó¥È¥É¥é¥¤¥Ð¤òµ­½Ò¤¹¤ë¡£
133 ɬ¿Ü¤Î¥Õ¥£¡¼¥ë¥É¤Ï¼±ÊÌÍѤΥ¿¥°¤Î¤ß¤Ç¡¢
134 ¤½¤Î¾¤Î¥Õ¥£¡¼¥ë¥É¤Ë¤Ï¡¢
135 ¤½¤Î¥Ç¥Ð¥¤¥¹¤òÍøÍѤ¹¤ë¤¿¤á¤Ë¥í¡¼¥É¤¹¤Ù¤­¥«¡¼¥Í¥ë¥â¥¸¥å¡¼¥ë¤ä
136 ¥Ç¥Ð¥¤¥¹¤Î¼ÂÂΤòÍ­¸ú/̵¸ú¤¹¤ë¤¿¤á¤Ë¼Â¹Ô¤¹¤ë¥¹¥¯¥ê¥×¥È¤ò»ØÄꤹ¤ë¡£
137 ¥É¥é¥¤¥Ð¤Î¼ÂÂΤ¬¥½¥±¥Ã¥È¤Ë³ä¤êÅö¤Æ¤é¤ì¤ë¤È¡¢
138 ¥É¥é¥¤¥Ð¤Ï cardmgr ¤Ë¥·¥¹¥Æ¥à¤«¤é¸«¤¿¤½¤Î¥Ç¥Ð¥¤¥¹¤Î̾¾Î
139 (¥Í¥Ã¥È¥ï¡¼¥¯¥Ç¥Ð¥¤¥¹¤Ê¤é¤Ð
140 .IR eth0 ¡¢
141 ¥â¥Ç¥à¤Ê¤é¤Ð
142 .I cua1
143 ¤Ê¤É)
144 ¤òÄÌÃΤ¹¤ë¡£
145 ¤³¤Î̾¾Î¤ÏÀßÄêÍÑ¥¹¥¯¥ê¥×¥È¤ËÅϤµ¤ì¤ë¡£Î㤨¤Ð:
146 .sp
147 .RS
148 .nf
149 device "pcnet_cs"
150   class "network"
151   module "net/8390" opts "ei_debug=4", "pcnet_cs"
152 .RE
153 .fi
154 .sp
155 .\"O This says that the \fBpcnet_cs\fR device requires two loadable modules.
156 .\"O The first one is located in the \fInet\fR module subdirectory and will
157 .\"O be loaded with a specific parameter setting.  The second module should
158 .\"O be in the \fIpcmcia\fR module subdirectory.  The device is in the
159 .\"O network class, so the \fInetwork\fR script in the configuration
160 .\"O directory will be used to start or stop the device.
161 ¤È¤¤¤¦»ØÄê¤Ç¤Ï¡¢
162 .B pcnet_cs
163 ¥Ç¥Ð¥¤¥¹¤Ï 2 ¤Ä¤Î¥í¡¼¥À¥Ö¥ë¥â¥¸¥å¡¼¥ë¤¬É¬ÍפǤ¢¤ë¤³¤È¤ò¼¨¤·¤Æ¤¤¤ë¡£
164 1 ¤Ä¤á¤Î¥â¥¸¥å¡¼¥ë (8390) ¤Ï¥â¥¸¥å¡¼¥ë¥Ç¥£¥ì¥¯¥È¥ê¤Î
165 .I net
166 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¡¢»ØÄꤷ¤¿¥Ñ¥é¥á¡¼¥¿
167 .I ei_debug=4
168 ¤È¶¦¤Ë¥í¡¼¥É¤µ¤ì¤ë¡£
169 2 ¤Ä¤á¤Î¥â¥¸¥å¡¼¥ë (de650_cs) ¤Ï
170 .I pcmcia
171 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¡£
172 ¤³¤Î¥Ç¥Ð¥¤¥¹ (pcnet_cs) ¤Ï
173 .I network
174 ¤È¤¤¤¦¥¯¥é¥¹¤Ë°¤·¡¢¥Ç¥Ð¥¤¥¹¤Îµ¯Æ°¤È½ªÎ»¤Ë¤Ï¡¢
175 ÀßÄê¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë
176 .I network ¥¹¥¯¥ê¥×¥È (/etc/pcmcia/network) ¤¬ÍøÍѤµ¤ì¤ë¡£
177 .PP
178 .\"O It is also possible to specify default options for a particular kernel
179 .\"O module, outside of a device driver declaration.  This is convenient
180 .\"O for keeping local configuration options in a file separate from the
181 .\"O main card configuration file.  For example:
182 ¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥ÐÀë¸À¤Î³°Éô¤Ç¡¢
183 ÆÃÄê¤Î¥«¡¼¥Í¥ë¥â¥¸¥å¡¼¥ë¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤ë¡£
184 ¤³¤ì¤Ï¥í¡¼¥«¥ë¤ÊÀßÄꥪ¥×¥·¥ç¥ó¤ò
185 ¥á¥¤¥ó¤Î¥«¡¼¥ÉÀßÄê¥Õ¥¡¥¤¥ë¤«¤éʬΥ¤¹¤ë¤Î¤ËÊØÍø¤Ç¤¢¤ë¡£
186 .\"kojima ³Æ¥Ç¥Ð¥¤¥¹¤ÎÀßÄêÍÑ¥¹¥¯¥ê¥×¥È¤Ï¥Ç¥Ð¥¤¥¹¤Î½é´ü²½¤È½ªÎ»¤ÎºÝ¤Ë
187 .\"kojima µ¯Æ°¤µ¤ì¤Þ¤¹¤¬¡¢¤½¤ì°Ê³°¤Ë¤â¡¢¥µ¥¹¥Ú¥ó¥É»þ¤Ë¤½¤Î¥Ç¥Ð¥¤¥¹¤¬
188 .\"kojima ¸½ºß»ÈÍÑÃ椫¤É¤¦¤«¤ò³Îǧ¤·¤¿¤ê¡¢¥ì¥¸¥å¡¼¥à¤ÎºÝ¤Ë¥Ç¥Ð¥¤¥¹¤ò
189 .\"kojima ºÆÀßÄꤷ¤¿¤ê¤¹¤ë¤Î¤Ë¤â»È¤ï¤ì¤Þ¤¹¡£ cardmgr ¤ÏÀßÄêÍÑ¥¹¥¯ ¥ê
190 .\"kojima ¥×¥È¤ò¤¤¤¯¤Ä¤«¤Î°ú¿ô¤ò»ØÄꤷ¤Æµ¯Æ°¤·¤Þ¤¹¡£°ú¿ô¤È¤·¤Æ»ØÄꤵ
191 .\"kojima ¤ì¤ë¤Î¤Ï¡Ö¼è¤ë¤Ù¤­Æ°ºî¡×¤È¡Ö¥Ç¥Ð¥¤¥¹Ì¾¡×¤Ç¡¢²Äǽ¤Ê¤é¤Ð¡Ö¥Ç
192 .\"kojima ¥Ð¥¤¥¹ÈÖ¹æ(major/minor)¡×¤â»ØÄꤷ¤Þ¤¹¡£
193 .sp
194 .RS
195 .nf
196 module "pcnet_cs" opts "mem_speed=600"
197 .RE
198 .fi
199 .sp
200 .\"O 
201 .\"O .SH Card descriptions
202 .SH ¥«¡¼¥É¤Îµ­½Ò
203 .\"O Card declarations map PCMCIA cards to their client drivers.  A card
204 .\"O declaration consists of a descriptive name, a method for identifying
205 .\"O the card when it is inserted, and driver bindings.  There are six
206 .\"O identification methods: the \fBversion\fR method matches a card using
207 .\"O its VERSION_1 id strings, the \fBmanfid\fR method matches a card using
208 .\"O its MANFID tuple codes, the \fBpci\fR method matches a CardBus card
209 .\"O using its PCI device ID's, the \fBtuple\fR method matches a card using
210 .\"O any string embedded in any arbitrary CIS tuple, the \fBfunction\fR
211 .\"O method matches a card using its function ID, and the \fBanonymous\fR
212 .\"O method matches any card that does not have a CIS.  This last method
213 .\"O is only intended to be used for old-style Type I memory cards.  For
214 .\"O example:
215 card Àë¸À¤Ï¡¢PCMCIA ¥«¡¼¥É¤È¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¥É¥é¥¤¥Ð¤È¤ò
216 ·ë¤Ó¤Ä¤±¤ë¤â¤Î¤Ç¤¢¤ë¡£
217 card Àë¸À¤Ï¡¢¥«¡¼¥É¤Î̾¾Î¡¦¥«¡¼¥É¤¬ÁÞÆþ¤µ¤ì¤¿ºÝ¤Î¼±ÊÌÊýË¡¡¦
218 ÍøÍѤ¹¤ë¥É¥é¥¤¥Ð¡¢¤Î 3 ¤Ä¤ÎÉôʬ¤«¤é¤Ê¤ë¡£
219 ¥«¡¼¥É¤ò¼±Ê̤¹¤ë¤Ë¤Ï 6 ¤Ä¤Î¥á¥½¥Ã¥É (ÊýË¡) ¤¬¤¢¤ë¡£
220 .B version
221 ¥á¥½¥Ã¥É¤Ï¥«¡¼¥É¼±Ê̤ˠVERSION_1 id Ê¸»úÎó¤òÍѤ¤¤ë¡£
222 .B manfid
223 ¥á¥½¥Ã¥É¤Ï¥«¡¼¥É¤Î MANFID ¥¿¥×¥ë¥³¡¼¥É¤òÍѤ¤¤ë¡£
224 .B pci
225 ¥á¥½¥Ã¥É¤Ï CardBus ¥«¡¼¥É¤Î PCI ¥Ç¥Ð¥¤¥¹ ID ¤òÍѤ¤¤ë¡£
226 .B tuple
227 ¥á¥½¥Ã¥É¤Ï¥«¡¼¥É¤ÎǤ°Õ¤Î CIS ¥¿¥×¥ë¤ËËä¤á¤³¤Þ¤ì¤¿Ê¸»úÎó¤òÍѤ¤¤ë¡£
228 .B function
229 ¥á¥½¥Ã¥É¤Ï¥«¡¼¥É¤Î function ID ¤òÍѤ¤¤ë¡£
230 .B anonymous
231 ¥á¥½¥Ã¥É¤Ï CIS ¤ò»ý¤¿¤Ê¤¤¥«¡¼¥É¤Ë¥Þ¥Ã¥Á¤¹¤ë
232 (¤³¤ì¤Ïµì¼°¤Î¥¿¥¤¥× I ¥á¥â¥ê¥«¡¼¥É¤ËÍѤ¤¤ëʪ¤Ç¤¢¤ë)¡£
233 °Ê²¼¤Ë¤¤¤¯¤Ä¤«Îã¤ò¼¨¤¹¡£
234 .sp
235 .RS
236 .nf
237 card "Linksys Ethernet Card"
238   tuple 0x40, 0x0009, "E-CARD PC Ethernet Card"
239   bind "pcnet_cs"
240 .RE
241 .fi
242 .sp
243 .\"O This card is identified by a string at offset 0x0009 in tuple 0x40,
244 .\"O and will be bound to the \fBpcnet_cs\fR driver (which must be already
245 .\"O declared in a \fBdriver\fR declaration).
246 ¤³¤Î¥«¡¼¥É¤Ï 0x40 ¥¿¥×¥ë¤Î¥ª¥Õ¥»¥Ã¥È 0x0009 ¤«¤é»Ï¤Þ¤ë
247 ʸ»úÎó "E-CARD PC Ethernet Card" ¤Ë¤è¤Ã¤Æ¼±Ê̤µ¤ì¡¢
248 .B pcnet_cs
249 ¥É¥é¥¤¥Ð¤Ë¥Ð¥¤¥ó¥É¤µ¤ì¤ë
250 (¥É¥é¥¤¥Ð¤Ï¤¢¤é¤«¤¸¤á
251 .B driver
252 Àë¸À¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤)¡£
253 .sp
254 .RS
255 .nf
256 card "Connectware LANdingGear Adapter"
257   manfid 0x0057, 0x1004
258   bind "pcnet_cs"
259 .RE
260 .fi
261 .sp
262 .\"O This card is identified by its MANFID tuple contents.  The \fBpci\fR
263 .\"O method has the same form, with \fBpci\fR replacing \fBmanfid\fR.
264 ¤³¤Î¥«¡¼¥É¤Ï MANFID ¥¿¥×¥ë¤ÎÆâÍƤˤè¤Ã¤Æ¼±Ê̤µ¤ì¤ë¡£
265 .B pci
266 ¥á¥½¥Ã¥É¤âƱ¤¸·Á¼°¤Ç¡¢
267 .B manfid
268 ¤ÎÂå¤ï¤ê¤Ë
269 .B pci
270 ¤È½ñ¤¯¡£
271 .sp
272 .RS
273 .nf
274 card "D-Link DE-650 Ethernet Card"
275   version "D-Link", "DE-650"
276   bind "pcnet_cs"
277 .RE
278 .fi
279 .sp
280 .\"O This card will be identified using its VERSION_1 tuple, and will also
281 .\"O be bound to the \fBpcnet_cs\fR driver.
282 ¤³¤Î¥«¡¼¥É¤Ï VERISON_1 ¥¿¥×¥ë¤Ë¤è¤Ã¤Æ¼±Ê̤µ¤ì¡¢
283 .B pcnet_cs
284 ¥É¥é¥¤¥Ð¤Ë¥Ð¥¤¥ó¥É¤µ¤ì¤ë¡£
285 .sp
286 .RS
287 .nf
288 card "Serial port device"
289   function serial_port
290   bind "serial_cs"
291 .RE
292 .fi
293 .sp
294 .\"O This binds the \fBserial_cs\fR driver to any card with a CIS function
295 .\"O ID of 0x02, which corresponds to a serial port card.  The function ID
296 .\"O can either be a number, or one of the following predefined functions:
297 .\"O \fBmemory_card\fR, \fBserial_port\fR, \fBparallel_port\fR,
298 .\"O \fBfixed_disk\fR, \fBvideo_adapter\fR, \fBnetwork_adapter\fR, and
299 .\"O \fBaims_card\fR.
300 ¤³¤ì¤Ï CIS function ID ¤¬ 0x02 (¥·¥ê¥¢¥ë¥Ý¡¼¥È¥«¡¼¥É¤ËÂбþ)
301 ¤Î¤¢¤é¤æ¤ë¥«¡¼¥É¤ò
302 .B serial_cs
303 ¥É¥é¥¤¥Ð¤Ë¥Ð¥¤¥ó¥É¤¹¤ë¡£
304 function ID ¤Ï¿ô»ú¤Ç¤âÎɤ¤¤·¡¢ÄêµÁºÑ¤ß¤Î function ¤Ç¤¢¤ë
305 .BR memory_card ,
306 .BR serial_port ,
307 .BR parallel_port ,
308 .BR fixed_disk ,
309 .BR video_adapter ,
310 .BR network_adapter ,
311 .BR aims_card
312 ¤Î¤¤¤º¤ì¤«¤Ç¤â¤«¤Þ¤ï¤Ê¤¤¡£
313 .PP
314 .\"O Finally, the configuration file can specify that Card Services should
315 .\"O use a replacement for the configuration information found on a card.
316 .\"O This can be useful if a card's configuration information is
317 .\"O particularly incomplete or inaccurate.  The new information is read
318 .\"O from a file as in this example:
319 ºÇ¸å¤Ë¡¢¥«¡¼¥É¤Ç¸«ÉÕ¤«¤Ã¤¿ÀßÄê¾ðÊó¤È¤Ï°Û¤Ê¤ë¤â¤Î¤ò
320 ¥«¡¼¥É¥µ¡¼¥Ó¥¹¤ËÍѤ¤¤µ¤»¤ë¤è¤¦¤Ê»ØÄê¤âÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤Ï²Äǽ¤Ç¤¢¤ë¡£
321 ¥«¡¼¥É¤ÎÀßÄê¾ðÊó¤¬ÆäËÉÔ´°Á´¡¦ÉÔÀµ³Î¤Ç¤¢¤ë¾ì¹ç¤Ë¤³¤ì¤ò»È¤¨¤ë¤³¤È¤â¤¢¤ë¡£
322 ¿·¤·¤¤ÀßÄê¤Ï¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤à¡£Îã¤ò¼¨¤¹:
323 .sp
324 .RS
325 .nf
326 card "Evil broken card"
327   manfid 0x1234, 0x5678
328   cis "fixup.cis"
329   bind "serial_cs"
330 .RE
331 .fi
332 .sp
333 .\"O 
334 .\"O .SH Memory region definitions 
335 .SH ¥á¥â¥êÎΰèÄêµÁ
336 .\"O Memory region definitions are used to associate a particular type of
337 .\"O memory device with a Memory Technology Driver, or "MTD".  An MTD is
338 .\"O used to service memory accesses in a device-independent fashion.  When
339 .\"O a card is identified, Card Services will attempt to load MTD's for all
340 .\"O its memory regions.
341 ¥á¥â¥êÎΰèÄêµÁ¤Ï¡¢ÆÃÄê¤Î·Á¼°¤Î¥á¥â¥ê¥Ç¥Ð¥¤¥¹¤ò
342 Memory Technology Driver (MTD) ¤Ë´ØÏ¢ÉÕ¤±¤¹¤ë¤¿¤á¤ËÍѤ¤¤é¤ì¤ë¡£
343 MTD ¤Ï¥á¥â¥ê¥¢¥¯¥»¥¹¤ò¡¢¥Ç¥Ð¥¤¥¹ÆÈΩ¤Ê¤ä¤êÊý¤ÇÄ󶡤¹¤ë¡£
344 ¥«¡¼¥É¤¬¤³¤Î¼ï¤Î¥á¥â¥ê¥Ç¥Ð¥¤¥¹¤Ç¤¢¤ë¤È¼±Ê̤µ¤ì¤ë¤È¡¢
345 ¥«¡¼¥É¥µ¡¼¥Ó¥¹¤Ï¤½¤Î¥á¥â¥êÎΰèÁ´¤Æ¤ËÂФ·¤Æ MTD ¤òÆɤ߹þ¤â¤¦¤È¤¹¤ë¡£
346 .PP
347 .\"O A memory region definition begins with the \fBregion\fR keyword and a
348 .\"O descriptive string.  This is followed by an identification method:
349 .\"O either \fBdefault\fR to identify an MTD to be used for any otherwise
350 .\"O unclassified region, or \fBjedec\fR to identify a region based on its
351 .\"O JEDEC identification codes.  Thus, for example,
352 ¥á¥â¥êÎΰèÄêµÁ¤Ï
353 .B region
354 ¥­¡¼¥ï¡¼¥É¤È¼±ÊÌʸ»úÎ󤫤é»Ï¤Þ¤ë¡£
355 ¼¡¤Ë¼±Ê̥᥽¥Ã¥É¤Ç¤¢¤ë
356 .BR default " ¤« " jedec
357 ¤¬Íè¤ë¡£
358 .B default
359 ¤Ï¾¤ËʬÎव¤ì¤Ê¤«¤Ã¤¿¤¹¤Ù¤Æ¤ÎÎΰè¤Ç»È¤¦ MTD ¤ò»ØÄꤷ¡¢
360 .B jedec
361 ¤Ï¥á¥â¥êÎΰè¤ò JEDEC ¤Î¼±ÊÌ¥³¡¼¥É¤Ë¤è¤Ã¤Æ¼±Ê̤¹¤ë¡£
362 Î㤨¤Ð
363 .sp
364 .RS
365 .nf
366 region "Intel Series 2 Flash"
367   jedec 0x89 0xa2
368   mtd "iflash2_mtd"
369 .RE
370 .fi
371 .sp
372 .\"O specifies that the \fBiflash2_mtd\fR driver will be loaded based on a
373 .\"O JEDEC match.
374 ¤Ï¡¢ JEDEC ¤¬¥Þ¥Ã¥Á¤¹¤ì¤Ð
375 .B iflash_mtd
376 ¥É¥é¥¤¥Ð¤¬¥í¡¼¥É¤µ¤ì¤ë¤³¤È¤ò¼¨¤·¤Æ¤¤¤ë¡£
377 .\"O 
378 .\"O .SH BUGS
379 .SH ¥Ð¥° 
380 .\"O The \fBreserve\fR keyword has not actually been implemented in a
381 .\"O useful way for this version of Card Services.
382 º£¤Î¤È¤³¤í
383 .B reserve
384 ¥­¡¼¥ï¡¼¥É¤Î¼ÂÁõ¤Ï¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¥«¡¼¥É¥µ¡¼¥Ó¥¹¤Ë¤Ï¤¢¤Þ¤êÊØÍø¤Ç¤Ê¤¤¡£
385 .\"O .SH AUTHOR
386 .SH Ãø¼Ô
387 David Hinds \- dahinds@users.sourceforge.net
388 .\"O .SH "SEE ALSO"
389 .SH ´ØÏ¢¹àÌÜ
390 .\"O cardmgr(8).
391 .BR cardmgr (8)
392