|
̾¾Îpccard.conf —
pccardd(8)
ÀßÄê¥Õ¥¡¥¤¥ë
²òÀâpccard.conf
¥Õ¥¡¥¤¥ë¤Ï¡¢PC-CARD
¥¹¥í¥Ã¥È´ÉÍý¥Ç¡¼¥â¥ó
pccardd(8)
ÍѤÎÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤¹¡£¥«¡¼¥É¤ò¼±Ê̤·¡¢
PC-CARD
¥«¡¼¥É¤Ë¥É¥é¥¤¥Ð
(¥É¥é¥¤¥ÐÍѥ꥽¡¼¥¹¤â´Þ¤à)
¤ò
Âбþ¤µ¤»¤ë¤³¤È¤¬½ÐÍè¤ë¾ðÊó¤òÄ󶡤·¤Þ¤¹¡£
ÀßÄê¥Õ¥¡¥¤¥ëÆâ¤Ë¤Ï»Í¤Ä¤Î´ðËÜŪ¤ÊÍ×ÁǤ¬¤¢¤ê¤Þ¤¹¡£ ¥ª¥×¥·¥ç¥ó¤È¤·¤Æ¾¤Î¥»¥¯¥·¥ç¥ó¤ËÀèΩ¤Ã¤Æ ¥ê¥½¡¼¥¹¥×¡¼¥ë ¤¬¤¢¤ê¡¢¤½¤Î¸å 1 ¤Ä°Ê¾å¤Î ¥«¡¼¥É¼±ÊÌ»Ò ¤È ¥Ç¥Ð¥¤¥¹¼ÂÂÎ ¤¬Â³¤¤Þ¤¹¡£ ºÇ¸å¤Î 2 ¤Ä¤Ï¤É¤ó¤Ê½ç½ø¤Ç¸½¤ì¤Æ¤â¤è¤¯¡¢ ÅÔ¹ç¤Ë±þ¤¸¤Æ¤¢¤Á¤³¤Á¤Ø»¶ºß¤·¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£ /etc/pccard.conf ¥Õ¥¡¥¤¥ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥ê¥½¡¼¥¹¥×¡¼¥ëÀßÄê¤È pccard ¼±Ê̻ҥǡ¼¥¿¥Ù¡¼¥¹¤ò»ý¤Ä /etc/defaults/pccard.conf ¤«¤é¥¤¥ó¥¯¥ë¡¼¥É¤µ¤ì¤Þ¤¹¡£ ¥æ¡¼¥¶¸ÇͤÎÀßÄê¤ò /etc/pccard.conf ¤Ç»ØÄꤷ¤Æ¡¢¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤ò¾å½ñ¤¤·¤¿¤êÄɲ娥ó¥È¥ê¤òÄɲòÄǽ¤Ç¤¹¡£ ¤½¤ì¤¾¤ì¤Î PC-CARD ¥«¡¼¥É¤Ï¡¢À½Â¤¼Ô¤ä¥«¡¼¥É¤Î¥Ð¡¼¥¸¥ç¥ó¤òµ¬Äꤹ¤ë ÀßÄ꥿¥×¥ë¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£¤³¤ì¤é¤Ï¡¢ÀßÄê¥Õ¥¡¥¤¥ëÃæ¤Ç¥«¡¼¥É¤Î»ÅÍͤò ÆÃÄꤹ¤ë¤Î¤Ë»È¤ï¤ì¡¢¤½¤ì¤Ë¤è¤Ã¤Æ¡¢¤½¤Î¥«¡¼¥É¤È¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò¤È¤ì¤ë ¥É¥é¥¤¥Ð¤ò¸«¤Ä¤±¤Þ¤¹¡£ ¥«¡¼¥É¤È¥É¥é¥¤¥Ð¤Î´Ö¤Ë¤Ï¡¢Â¿ÂÐ 1 ¤ÎÂбþ´Ø·¸¤¬¤¢¤ê¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢ ñ°ì¤Î¥É¥é¥¤¥Ð¤¬Ê£¿ô¤Î·¿¤Î¥«¡¼¥É¤Ë¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò¤È¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤Î½õ¤±¤È¤·¤Æ¡¢¥É¥é¥¤¥Ð¤Î»ØÄê¤È¤ÏÊ̤ˡ¢¥«¡¼¥É¤Î½é´ü²½¤ä (¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤Î¾ì¹ç¤Ê¤é) ¥¤¡¼¥µ¥Í¥Ã¥È¥¢¥É¥ì¥¹¤Î¼è¤ê½Ð¤·ÍÑ¤Ë ¥Ñ¥é¥á¡¼¥¿¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£ ¥É¥é¥¤¥Ð¤Ï°ìÅÙ¥«¡¼¥É¤Ë³ä¤êÅö¤Æ¤é¤ì¤ë¤È¡¢¤½¤Î¥«¡¼¥É¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿ ¤Þ¤Þ¤Ë¤Ê¤ê¤Þ¤¹¡£¤·¤«¤·¡¢Æ±¤¸·¿¤Î¥É¥é¥¤¥Ð¤ÎÊ£¿ô¤Î¼ÂÂΤ¬ÀßÄꤵ¤ì¤ë ¤³¤È¤â¤¢¤ë¤¿¤á¡¢¤â¤·¡¢Æ±¤¸¤Î·¿¤Î¥É¥é¥¤¥Ð¤¬Âбþ¤Å¤±¤é¤ì¤Æ¤¤¤ë¥«¡¼¥É¤¬ 2 ËçÁÞ¤·¹þ¤Þ¤ì¤¿¤é¡¢Æ±¤¸Ì¾Á°¤ÇÊ̤Υɥ饤¥Ð¼ÂÂΤ¬ÀßÄꤵ¤ì¤ë²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£ insert ¤È remove ¥³¥Þ¥ó¥É¤Ï¡¢¼Â¹Ô²Äǽ¤Ê¥·¥§¥ë¥³¥Þ¥ó¥É¹Ô¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ¼Â¹Ô¤µ¤ì¤ë¥³¥Þ¥ó¥É¤Ï¡¢¤½¤Î¥¡¼¥ï¡¼¥É¤Î¸å¤Î¹Ô¤Î»Ä¤ê¤Ç¤¹¡£ ¹Ô¤Ï¡¢¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤ò»È¤Ã¤Æ·Ñ³¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ´Êñ¤Ê¥Þ¥¯¥íÃÖ´¹¤Ë¤è¤Ã¤Æ¡¢¸½ºß¤Î¥«¡¼¥Í¥ë¤Î¥Ç¥Ð¥¤¥¹Ì¾ ($device) ¤È¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤Î¥¤¡¼¥µ¥Í¥Ã¥È¥¢¥É¥ì¥¹ ($ether) ¤ò¥³¥Þ¥ó¥É¹Ô¤ØÆþ¤ì¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£ pccardd(8) ¤Ï¡¢¥³¥Þ¥ó¥É¹Ô¤ò¼Â¹Ô¤¹¤ë¤¿¤á¤Ë system(3) ¥µ¥Ö¥ë¡¼¥Á¥ó¤ò»È¤¤¤Þ¤¹¡£ pccardd(8) ¤Ï¡¢syslog ¤ò»ÈÍѤ·¤Æ¡¢¥«¡¼¥É¤ÎÁÞÈ´¤ò¥¢¥Ê¥¦¥ó¥¹¤·¤Þ¤¹¡£ logstr ¥³¥Þ¥ó¥É¤ÇÀßÄꤵ¤ì¤¿Ê¸»úÎó¤ò»ÈÍѤ¹¤ë¤«¡¢ ¤³¤ì¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢À½Â¤¼Ô¤È¥«¡¼¥É¥Ð¡¼¥¸¥ç¥ó¤Îʸ»úÎó¤ò»ÈÍѤ·¤Þ¤¹¡£ ¿ôÃÍ¤Ï 8 ¿Ê¿ô¡¢16 ¿Ê¿ô¡¢10 ¿Ê¿ô¤Î¤¤¤º¤ì¤«¤Îɽ¸½¤ò¤È¤ê¤Þ¤¹¡£ ¤â¤· 10 ¿Ê¿ô¤Ë k ¤« K ¤¬ÉÕ¤¤¤Æ¤¤¤ì¤Ð¡¢¤½¤ÎÃÍ¤Ï 1024 ¤ò³Ý¤±¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ ̾Á°¤Ë¥¹¥Ú¡¼¥¹¤ò´Þ¤á¤ëɬÍפ¬¤¢¤ë¤Ê¤é¤Ð¡¢ ¥À¥Ö¥ë¥¯¥©¡¼¥È¤Ç³ç¤Ã¤Æ¤ª¤¯¤È¤è¤¤¤Ç¤·¤ç¤¦¡£ ¥Ï¥Ã¥·¥åʸ»ú (#) ¤Ï¡¢¤½¤Î¹Ô¤Î»Ä¤ê¤ò¥³¥á¥ó¥È¤Ë¤·¤Þ¤¹¡£ ¥ê¥½¡¼¥¹¥×¡¼¥ë¤³¤Î (¥ª¥×¥·¥ç¥ó¤Ç¤¢¤ë) ¥»¥¯¥·¥ç¥ó¤Ï¡¢ISA ¥Ð¥¹¤Î¥á¥â¥ê¥¢¥É¥ì¥¹¶õ´Ö¤ä I/O ¥Ý¡¼¥È¡¢³ä¹þ¤ßÍ×µáÈÖ¹æ (IRQ) ¤È¤¤¤Ã¤¿¥·¥¹¥Æ¥à¥ê¥½¡¼¥¹¤Î¥×¡¼¥ë¤ò»ØÄꤷ¤Þ¤¹¡£ ¤³¤Î¥ê¥½¡¼¥¹¥×¡¼¥ë¤Ï¡¢¤½¤ì¤¾¤ì¤Î¥É¥é¥¤¥Ð¤Îµ½ÒÃæ¤Ç»ØÄꤵ¤ì¤¿Í×µá¤Ë±þ¤¸¤Æ¡¢ ưŪ¤Ë¥¢¥É¥ì¥¹¶õ´Ö¤ä³ä¤ê¹þ¤ßÈÖ¹æ¤ò³ä¤êÅö¤Æ¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£¥ê¥½¡¼¥¹¤Ë´Ø¤¹¤ë¹½Ê¸¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£ io start - end
... memory address size
... irq irq-number
... ³Æʸ¤Ç¤Ï¡¢½é´ü²½»þ¤Ë¥É¥é¥¤¥Ð¤Ø³ä¤êÅö¤Æ¤ë¤Î¤Ë»È¤¨¤ë¡¢ I/O ¤ä¥á¥â¥ê¤ä IRQ ¤Î¥Ö¥í¥Ã¥¯¤òÄêµÁ¤·¤Þ¤¹¡£ ¥Ç¥Ð¥Ã¥°¥ì¥Ù¥ë¥Ñ¥é¥á¡¼¥¿¤Îʸˡ¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹: debuglevel
level ¾å¤Îʸ¤Ï¤É¤ì¤âÊ£¿ô¹Ô¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤¡¢ ¤³¤ì¤Ç³Æ¡¹¤Î¥ê¥½¡¼¥¹¤ò¤«¤¿¤Þ¤ê¤Ëʬ¤±¤ÆÄêµÁ¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ¥«¡¼¥É¼±Ê̻ҥ«¡¼¥É¼±Ê̻Ҥι½Ê¸¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£card manufacturer
version [add_info1 [add_info2
]] config index driver
interrupt [flags] ether
offset reset
time iosize
size memsize
size insert
command remove
command logstr
string Âè 1 ¹Ô¤Ïɬ¿Ü¤Ç¤¹¡£¤¢¤È¤Îʸ¤Ï¥ª¥×¥·¥ç¥ó¤Ç¤¢¤ê¡¢ ¤É¤Î¤è¤¦¤Ê½ç½ø¤Ç¸½¤ì¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£ config ¹Ô¤ÏÊ£¿ô¸ºß¤¹¤ë¤³¤È¤â¤¢¤ê¤Þ¤¹¡£ card ¤Î¥Ñ¥é¥á¡¼¥¿¤Ë¤Ï¡¢À½Â¤¼Ô̾¡¢¥«¡¼¥É¤Î¥Ð¡¼¥¸¥ç¥ó¡¢ ¤½¤·¤ÆÄɲþðÊó add_info1 ¤È add_info2 ¤¬¤¢¤ê¡¢ ¥«¡¼¥É¤Î CIS ¥á¥â¥ê¤«¤éÆÀ¤¿ÃͤȤΰìÃפò¤ß¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£ "/.*/" ¤Î¤è¤¦¤Ë '/' ¤Çʸ»úÎó¤ò³ç¤ì¤Ð¡¢ ¤³¤ì¤é¤Î¥Ñ¥é¥á¡¼¥¿¤Ï¡¢³ÈÄ¥Àµµ¬É½¸½ regex(3) ¤Çµ½Ò²Äǽ¤Ç¤¹¡£ ³Æ¼°¤Ï¡¢ÀèƬ¤Ë¤ª¤¤¤Æʸ»ú '^' ¤Çɾ²Á¤µ¤ì¤Þ¤¹¡£ config ¥Ñ¥é¥á¡¼¥¿¤Ï¡¢ ¥«¡¼¥É¤Î CIS ¤ÇÆÀ¤é¤ì¤ëÈϰϤ«¤é¤½¤Î¥«¡¼¥É¤ÎÀßÄꥤ¥ó¥Ç¥Ã¥¯¥¹¤òÁªÂò¤·¡¢ ¤³¤ÎÀßÄê¤Ç´ØÏ¢¤Å¤±¤é¤ì¤¿¥É¥é¥¤¥Ð¤òÁªÂò¤·¡¢ ¤½¤·¤Æ (¤â¤·¤¢¤ì¤Ð) ³ä¤êÅö¤Æ¤é¤ì¤ë¤Ù¤³ä¤ê¹þ¤ß¥ì¥Ù¥ë¤òÁªÂò¤·¤Þ¤¹¡£ ¥ª¥×¥·¥ç¥ó¤È¤·¤Æ¥Õ¥é¥°¤Î½¸¹ç¤ò³ä¤êÅö¤Æ¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£ index ¤Ç¤Ï¡¢ “auto” ¤Þ¤¿¤Ï “default” ¤«¡¢¥«¡¼¥É¤Î CIS ¤«¤é¼èÆÀ²Äǽ¤ÊÈϰϤò»ØÄꤷ¤Þ¤¹¡£ “auto” ¤Ë¤è¤ê¡¢CIS ¤«¤é¼èÆÀ¤µ¤ì¤ë¾ðÊó¤È»ÈÍÑÃæ¤Î I/O ¥ê¥½¡¼¥¹¤Î¾õÂÖ¤«¤é¡¢ ¼«Æ°Åª¤Ë¥ê¥½¡¼¥¹¤ò³ä¤êÅö¤Æ²Äǽ¤Ç¤¹¡£ ¥ª¥×¥·¥ç¥ó¤Î ether ¥¡¼¥ï¡¼¥É¤Ï¡¢¥«¡¼¥É¤Î°À¥á¥â¥êÆâ¤Ë ¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤ÎʪÍý¥¤¡¼¥µ¥Í¥Ã¥È¥¢¥É¥ì¥¹¤¬ÊÝ»ý¤µ¤ì¤Æ¤¤¤ë¤È¤¤Ë»È¤ï¤ì¤Þ¤¹¡£ ¤³¤Îʸ¤Î¥Ñ¥é¥á¡¼¥¿¤Ï¡¢¥¤¡¼¥µ¥Í¥Ã¥È¥¢¥É¥ì¥¹¤Î°À¥á¥â¥êÆâ¤Ç¤Î ¥ª¥Õ¥»¥Ã¥È¤ò»Ø¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ÎÃͤϡ¢ $ether ¥Þ¥¯¥í¤ò»È¤¦¤³¤È¤Ç¡¢insert/remove ¥³¥Þ¥ó¥ÉÆâ¤Ç¤â»ÈÍѤǤ¤Þ¤¹¡£ ¥ª¥×¥·¥ç¥ó¤Î reset ¥¡¼¥ï¡¼¥É¤Ï¡¢¥«¡¼¥ÉÁÞÆþ»þ¤Î¥ê¥»¥Ã¥È´ü´Ö¤ò time ¥ß¥êÉäǤ¢¤ë¤È»ØÄꤷ¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï 100 ¥ß¥êÉäǤ¹¡£ iosize ¤È memsize ¤Î¥¡¼¥ï¡¼¥É¤Ï¡¢ I/O ¥Ý¡¼¥È¤ä¶¦Í¥á¥â¥ê¥Ö¥í¥Ã¥¯Åù¤Î¥ê¥½¡¼¥¹¤¬ CIS ¥¿¥×¥ë¤Ë»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤ ¥«¡¼¥ÉÍѤ˻ÈÍѤ·¤Þ¤¹¡£ insert µÚ¤Ó remove ¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¢¥«¡¼¥É¤¬ÁÞÆþ¤µ¤ì¤¿¤ê¼è¤ê³°¤µ¤ì¤¿¤ê¤·¤¿¤È¤¤Ë ¼Â¹Ô¤µ¤ì¤ë¤Ù¤¥·¥§¥ë¥³¥Þ¥ó¥É¤ò½ñ¤¯¤³¤È¤¬¤Ç¤¤Þ¤¹¡£Ê£¿ô¤Î insert ¤ä remove ¥³¥Þ¥ó¥É¤â½ñ¤¯¤³¤È¤¬¤Ç¤¡¢¤½¤Î¾ì¹çÎóµó¤µ¤ì¤¿½ç¤Ë¼Â¹Ô¤µ¤ì¤Þ¤¹¡£ logstr ¥³¥Þ¥ó¥É¤Ç¡¢¥«¡¼¥ÉÁÞÈ´»þ¤Ë¥í¥°¤µ¤ì¤ëʸ»úÎó¤ò¡¢¥æ¡¼¥¶¤¬»ØÄê²Äǽ¤Ç¤¹¡£ logstr ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢ CIS Ãæ¤ÎÀ½Â¤¼Ô¤È¥«¡¼¥É¥Ð¡¼¥¸¥ç¥ó¤Îʸ»úÎó¤ò»ÈÍѤ·¤Æ¡¢½ÐÎÏʸ»úÎó¤òÀ¸À®¤·¤Þ¤¹¡£ ¥ï¥¤¥ë¥É¥«¡¼¥É¥¨¥ó¥È¥ê¥«¡¼¥É¼±Ê̻ҤȤ·¤Æ¡¢¼¡¤Î 2 ¸Ä¤Î¥ï¥¤¥ë¥É¥«¡¼¥É¥¨¥ó¥È¥ê¤ò ÈÆÍÑ¥«¡¼¥É¤Ë»ÈÍѲÄǽ¤Ç¤¹:generic serial generic fixed_disk ¥¡¼¥ï¡¼¥É
serial ¤Ï “Functional ID: Serial
port/modem”
¤Ë¥Þ¥Ã¥Á¤·¡¢
fixed_disk ¤Ï “Fixed disk
card”
¤Ë¥Þ¥Ã¥Á¤·¤Þ¤¹¡£
¹½Ê¸¤Ï card
identifiers
¤ÈƱ¤¸¤Ç¤¹¤¬¡¢ºÇ½é¤Î¹Ô¤Ç
“card”
¤ÎÂå¤ê¤Ë
“generic”
¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£
¥Þ¥Ã¥Á¤·¤Ê¤«¤Ã¤¿¥«¡¼¥É¤¬¤³¤ì¤é¤ÎÈÆÍÑ¥¨¥ó¥È¥ê¤ò»ÈÍѤǤ¤ë¤è¤¦¤Ë¡¢¤³¤ì¤é¤Ï¡¢
»ÈÍÑÎãŵ·¿Åª¤ÊÀßÄê¥Õ¥¡¥¤¥ë¤Ï°Ê²¼¤Î¤è¤¦¤ÊÂκۤˤʤê¤Þ¤¹¡£# # ¥µ¥ó¥×¥ëÀßÄê¥Õ¥¡¥¤¥ë # # ¥Ñ¥é¥á¡¼¥¿¤Î¥×¡¼¥ë # io 0x280 - 0x2F0 0x300 - 0x360 irq 5 6 8 9 10 15 memory 0xd4000 96k memory 0xc4000 32k # # ¥«¡¼¥É¥Ç¡¼¥¿¥Ù¡¼¥¹ # card "RPTI LTD." "EP400" # NE2000 clone ether 0x110 config 0x21 "ed0" 5 insert ifconfig $device physical $ether insert ifconfig $device bean remove ifconfig $device down card "XYZZY" "FAX/1.0" tty config 0x30 "sio1" 11 insert echo start getty remove echo stop getty ´ØÏ¢¥Õ¥¡¥¤¥ë
´ØÏ¢¹àÌÜpccardd(8)
Visit the GSP FreeBSD Man Page Interface. |