Linux PCMCIA HOWTO ¤¤¤åª© §@ªÌ: David Hinds, dhinds@hyper.stanford.edu ĶªÌ: Á±X¤¤ HSIEH Kun-Chung, ¥xÆW ¤¤µØ¥Á°ê Taiwan, Republic of China (NOT People's Republic of China) ( [1]linuxer.bbs@cis.nctu.edu.tw ) 1998¦~2¤ë19¤é v2.5ª© _________________________________________________________________ ¥»¤å¥ó¥D­n´y­z¦p¦ó¦b Linux ¤U¦w¸Ë¤Î¨Ï¥Î PCMCIA ¥dªA°Èµ{¦¡¨Ã¦^µª¤j®a±`°Ý ¨ìªº°ÝÃD¡C³o¥÷¤å¥ó³Ì·sªºª©¥»·|©ñ¦b [2]ftp://hyper.stanford.edu/pub/pcmcia/doc ¡C¥t¥~ HTML ª©¥»·|³Q©ñ¦b [3]http://hyper.stanford.edu/HyperNews/get/pcmcia/home.html¡C _________________________________________________________________ 1. ¤@¯ë¸ê°T¤ÎµwÅé­n¨D * 1.1 ²¤¶ * 1.2 µÛ§@Åv«Å§i»P¸Ñ°£­×´Ú * 1.3 ³Ì·sª©¥»¬O­þ­Ó¡H§Ú¥i±q­þ¨à®³¨ì¡H * 1.4 ­þ¨Ç¨t²Î³Q¤ä´©©O¡H * 1.5 ­þ¨ÇPCMCIA¥d³Q¤ä´©©O¡H * 1.6 ¤°»ò®É­Ô§Úªº·s¥d¤ù¤~·|³Q¤ä´©©O¡H * 1.7 ¶l±H¦W¥U¤Î¨ä¥L¸ê°T¨Ó·½ * 1.8 «ç»ò¤£´£¨Ñ PCMCIA ªº¤G¶i¦ì½X©O¡H * 1.9 ¬°¤°»ò PCMCIA ®M¥ó³o»ò¤j©O¡H 2. ½sĶ»P¦w¸Ë * 2.1 ·Ç³Æ¤u§@»P®Ö¤ß³]©w * 2.2 ¦w¸Ë * 2.3 ¦w¸Ë§¹«á¡]¨Ï¥ÎBSD ±Ò°Ê¤â½Zªº¨t²Î¡^ * 2.4 ¦w¸Ë§¹«á¡]¨Ï¥ÎSystem V ±Ò°Ê¤â½Zªº¨t²Î¡^ * 2.5 ¦w¸Ë§¹«á¡]¨Ï¥Î System V °_©l¤â½Zªº¨t²Î¡^ * 2.6 ´¡¼ÑÅX°Êµ{¦¡¿ï¶µ * 2.7 ¨t²Î¸ê·½³]©w 3. ¸Ñ¨M¦w¸Ë»P«Øºcªº°ÝÃD * 3.1 °ò¥» PCMCIA ®Ö¤ß¼Ò²Õ¨Ã¨S¸ü¤J * 3.2 ´¡Â_±½´y¥¢±Ñ * 3.3 °O¾ÐÅé°»´ú¥¢±Ñ * 3.4 ¿ù»~¦a°»´ú¥d¤ùªº´¡¤J»P©â¥X * 3.5 ¨â±i¥d¤§¶¡ªº¸ê·½¬Û½Ä¬ð * 3.6 ³]³Æ«Øºc¨Ã¨S¦³§¹¦¨ 4. ¨Ï¥Î¤èªk¥H¤Î¯S¦â * 4.1 ¥Î¨Ó«Øºc¥H¤ÎºÊ±± PCMCIA ³]³Æªº¤u¨ã * 4.2 PCMCIA«Øºc¤â½Zªº·§­n * 4.3 PCMCIA ºô¸ô¥d * 4.4 PCMCIA ¦ê¦C»P¼Æ¾Ú¾÷³]³Æ * 4.5 PCMCIA SCSI¥d * 4.6 PCMCIA °O¾Ð¥d * 4.7 PCMCIA ATA/IDE ¥d¦¡µwºÐ¾÷ * 4.8 ¦h¥\¯à¥d 5. ¶i¶¥ªº¥DÃD * 5.1 PCMCIA ³]³Æªº¸ê·½¤À°t * 5.2 §Ú«ç¼Ë¤~¯à¬°®a®x¤Î¤u§@ªº¨Ï¥Î°µ¦U§Oªº³]³Æ³]©w©O? * 5.3 ±q PCMCIA ³]³Æ¶}¾÷ 6. ¨Ï¥Î¥¼³Q¤ä´©ªº¥d¤ù * 6.1 «ØºcµLªk³Q¿ëµøªº¥d¤ù * 6.2 ¼W¦C¹ï NE2000¬Û®e¤A¤Óºô¸ô¥dªº¤ä´© * 6.3 PCMCIA ³nºÐ¾÷¤¶­±¥d * 6.4 ¤ä´© Xircom ¥d¨ì©³«ç»ò¤F¡H 7. °£¿ù¤p§Þ¥©¤Îµ{¦¡³]­p¸ê°T * 7.1 ´£¥X¦³¥Îªº¤p¦ä³ø§i * 7.2 §C¶¥ PCMCIA °£¿ù»²§U * 7.3 ¬°·s¥d¤ù¼g¥d¤ùªA°ÈÅX°Êµ{¦¡ * 7.4 µ¹ PCMCIA «È¤á¦Û©wÅX°Êµ{¦¡ªº§@ªÌªº«ü¤Þ * 7.5 µ¹ Linux ¨ÑÀ³ª©¥»ºûÅ@¤H­ûªº¾É¤Þ _________________________________________________________________ 1. ¤@¯ë¸ê°T¤ÎµwÅé­n¨D 1.1 ²¤¶ µ¹ Linux ¨Ï¥Îªº¥d¤ùªA°Èµ{¦¡¬O­Ó§¹¾ã¤ä´© PCMCIA ªº®M¥ó¡C ¥¦¥]§t¤F²Õ¦¨ PCMCIA ¥dªA°Èµ{¦¡À³¥Îµ{¦¡¤¶­±ªº¤@®M¥i¸ü¤J¼Ò²Õ¡B¤@®Mµ¹ ¯S§O¥d¤ù¨Ï¥Îªº«È ¤áÅX°Êµ{¦¡¦¡¡B¤@­Ó¥i¤ÏÀ³¥X¥d¤ù´¡¤J¡B©â¥X¨Ã¨Ì»Ý­n¨Ó ¸ü¤J©Î¨ø¤UÅX°Êµ{¦¡ªº ¥d¤ùºÞ²zºëÆF¡C ¥¦¤ä´© `` ¼ö¾÷¥æ´« '' PCMCIA ¥d ¤ù¡A¦]¦¹©O¡A¥d¤ù´N¥i¥H¦b ¥ô¦ó®É¶¡´¡¤J©Î©â¥X¤F¡C ¥»³nÅ餴¦bµo®i¤¤¡A©Ò¥H¥i¯à¦bµ{¦¡ùئ³¤p¦ä¡A½Ð±z¤p¤ß¨Ï¥Î¡C§Ú±NºÉ¤O§â §Ú©Ò ª¾¹Dªº°ÝÃD­×¥¿¡A¥i¬O¦pªG±z¤£§i¶D§Ú±z¦b¨Ï¥Î¤W©Òµo¥Íªºµ{¦¡°ÝÃD¡A ¤]³\§Ú´N µLªkª¾¹D°ÝÃD©Ò¦b¡C¦]¦¹¡A¦pªG±z¨Ï¥Î³o­Óµ{¦¡¡A½Ð¨Ó«H§i¶D§Ú±z ¨Ï¥Î¸gÅç¡A¤£ ½×¬O¦n¬OÃa¡C ¦pªG±z¦³¥ô¦ó«ç¼Ë§ï¶i³o¥÷¤å¥óªºÄ_¶Q·N¨£¡A¤]½ÐÅý§Úª¾¹D (dhinds@hyper.stanford.edu)¡C 1.2 µÛ§@Åv«Å§i»P¸Ñ°£­×´Ú µÛ§@ÅvÄÝ©ó Copyright (c) 1998 David A. Hinds ¥»¤å¥ó¤£»Ý¦b§Úªº¨Æ¥ý¤¹³\¤U§Y¥i¥ô¦ó§Î¦¡¦a³Q½Æ»s©Î´²§G¡C¥»¤å¥óªº¥ô¦ó ­×§ï ¹Lªºª©¥» (³o¥]§t½Ķ¦¨¨ä¥L»y¨¥ªºª©¥» ) ¤]¥i¥H§K¶O¦a³Q´²§G¡A ¥u ­n¥L­Ìª¾ ¹D³oÂI¨Ã¥B¦b¤£·l®`¥»¤å³¹ªºª©Åvªº«e´£¤U¡C ¥»¤å¥ó¤£»Ý¦b§Úªº¨Æ¥ý¤¹¿Õ¤U¥Î¦b°Ó·~©Êªº´²§G¤W¡AÁöµM³o¤£¬O¥²­nªº¡A¦ý §Ú«Ü §Æ±æ±z¯à§i¶D§Ú¦³Ãö±zªº¨Ï¥Î¡C¦pªG±z·Q±N¥»¤å¥ó¥Xª©¨ì®ÑÄy¤W¡A½Ð±z »P§Ú³sµ¸ ¤@¤U¡A¥H½T©w±z¦³³Ì·sªºª©¥»¡C ¥»¤å¥ó¥u¬O `` §e²{ '' ªºªí²{¦Ó¤w¡A¨Ã¨S¦³¥ô¦ó©úÅã©Î·t¥Ü¥ô¦óªº«Oµý¡C ±z¦Û ¤w¥²¶·©Ó¾á¨Ï¥Î¥»¤å¥óùØ­±ªº¸ê°T¤§­·ÀI¡C 1.3 ³Ì·sª©¥»¬O­þ­Ó¡H§Ú¥i±q­þ¨à®³¨ì¡H ¥Ø«e³Ì·sªº¥d¤ùªA°Èµ{¦¡¬° 3.0 ª©¡A ¤p´T­×§ï©Î°£¦ä¹Lªºª©¥»¬° 3.0.1¡B 3.0.2 µ¥µ¥¦p¦¹Ãþ±À¡C ³Ì·sªº­ì©lµ{¦¡½X¥i±q hyper.stanford.edu ¤ºªº /pub/pcmcia ¥Ø¿ý§ä¨ì¡A ¥s °µ pcmcia-cs-3.0.?.tar.gz¡C ¦b¨º¨à³q±`·|¦³¼Æ­Óª©¥»¦b¡C³q±`§Ú¥u·|§â³Ì·s ªº´X­Ó­×§ïª©©ñ¦b¦¹³B¡C·s ª©¥»³q±`³£¥]§t¤F¥¼´ú¦¡§¹¦¨ªºµ{¦¡½X¡A¦]¦¹§Ú¤]·| §â¤W¤@­Óí©wªº­×¥¿ª© ©ñ¦b¨º¨à¥H³Æ¤£®É¤§»Ý¡C²{¦bªºÃ­©wª©¬° 2.9.12 ª©¡A­n ¨Ï¥Î­þ­Óª©¥»¸û¦n ©O¡HÀH±zªº·N«ä°Õ¡C¦b CHANGES Àɮפº·|°µÂ²³æªºª©¥»®t²§ ¤ñ¸û¡C hyper.stanford.edu ·|³Q¹ï¬M¨ì sunsite.unc.edu (¥H¤Î©Ò¦³ ªº sunsite ¹ï¬M ºô¯¸¤W ) ªº /pub/Linux/kernel/pcmcia ¤º¡C °²¨Ï±z¤£·Q¦Û¤v½sĶ PCMCIA µ{¦¡ªº¸Ü¡A ¥«­±¤W¥D­nªº Linux ¨ÑÀ³°Ó¦p Slackware¡B Red Hat¡BCaldera¡BYggdrasil µ¥µ¥³£¦³¤w½sĶ¦nªºµ{¦¡¥i¨Ï ¥Î¡C 1.4 ­þ¨Ç¨t²Î³Q¤ä´©©O¡H ³o¨Çµ{¦¡À³¸Ó¥i¥H¦b Linux ¬Û®eªºµ§°O«¬¹q¸£¤W¥¿±`¤u§@¡C±`¨£ªº PCMCIA ±±¨î ¾¹³£¦³¤ä´©¡A ³o¨Ç¥]¬A¥H¤U¼t°Ó¡G Intel¡B Cirrus¡B Vadem¡BVLSI¡B Ricoh ¤Î Databook chips¡C ¥ç¤ä´© IBM ¤Î Toshiba ªºµ§°O«¬¹q¸£¡C¥u­n ¬Oª½±µ´¡¤W ISA ¤¶­±¼Ñ (SCSI-to-PCMCIA ©Î IDE-to-PCMCIA ) ¤£ºÞ¬Oªº ®à¤W«¬¹q¸£¤§ PCMCIA ´¡¼Ñ¸Ë¸m¥ç¨ü¤ä´©¡C CardBus ¾ô±µ±±¨î¾¹¿í´`µÛ ``Yenta'' ¼È¦s¾¹³W®æ (¥]¬A TI ¡BCirrus¡BSMC ¡BO2Micro¡BOmega Micro ©M Ricoh ªº´¹¤ù ) ³£³Q¤ä´©¡A¦ý ¹ï©ó 32 ¦ì¤¸ªº CardBus ¥d¤ù¤´¥uÄÝ©ó¹êÅç©Ê½è¡CÅX°Êµ{¦¡ª©¥»¤ñ 3.0 ª© ÁÙ¦­ªº¦b CardBus ´¡ ¼Ñ¤¤¤]¥u¯à¤ä´©¨ì 16 ¦ì¤¸ªº¥d¡C ¥Ñ©óµ§°O«¬¹q¸£µw Åé¬ì§Þªº§Ö³t¶i¨B¡A·s«¬ ±±¨î¾¹®É±`¥X²{¡A¦]¦¹¡A·sªº²£«~¥X²{¦b¥«³õ¤W»P ¹ï¬MªºÅX°Êµ{¦¡¤ä´©ªº¤W¥«¥i ¯à·|¦³¨Ç®É¶¡¤Wªº¥X¤J¡C ¦b Hyundai µ§°O«¬¹q¸£¤W¨Ï¥Îªº Motorola 6AHC05GA ±±¨î¾¹¨Ã¤£³Q¤ä´©¡C ¦b HP Omnibook 600 ¤Wªº PCMCIA ±±¨î¾¹¥ç¤£³Q¤ä´©¡C 1.5 ­þ¨ÇPCMCIA¥d³Q¤ä´©©O¡H ¥Ø«eªºª©¥»¦³ºô¸ô¥d¡B ¼Æ¾Ú¥d¡B¦ê¦C°ð¥d¡BSCSI ¤¶­±¥d¡BATA/IDE µwºÐ¥d ¥H¤Î ¤ä´© SRAM ©M§Ö°{°O¾ÐÅé¥dªº°O¾Ð¥dÅX°Êµ{¦¡¡ASUPPORTED.CARDS Àɮפº¥]§t¤F ¦Uª©¥»¤¤¦³¤ä´©ªº PC ¥d¦WºÙ¡]¦Ü¤Ö¦b¤@­Ó¨t²Î¤W¥i¨Ï¥Î¬Ò¦C ¤J¡^¡C ¦ý¤£¦b¦Cªí¤ºªº PC ¥d¤]¦³¥i¯à¥i¥H¨Ï¥Î¡C°ò¥»¤W¡A©Ò¦³ªº¼Æ¾Ú¥d³£¥i¥H¨Ï ¥Î¡C ¦³¨Ç¥¼¦C¤Jªººô¸ô¥d­Y¥L­Ì¬O³Q¤ä´©ªº¥d¤§ OEM ª©¥»¥ç¥i¨Ï¥Î¡C¨ä¥L IO ¥d¡]¦p ½w½Ä°O¾ÐÅé¥d¡B­µ®Ä¥dµ¥µ¥¡^¤j³¡¥÷¥Ø«e³£¤£¤ä´©¡A °£«D¦³¤H¬° ¥¦­Ì¼gÅX°Êµ{ ¦¡¡C 1.6 ¤°»ò®É­Ô§Úªº·s¥d¤ù¤~·|³Q¤ä´©©O¡H ¿ò¾Ùªº¬O¡A³o¨Ç¼t°Ó¨Ã¨S¦³¥Iµ¹§Ú¥ô¦ó¹S³Ò¨Ó¼g³]³ÆÅX°Êµ{¦¡¡C¦]¦¹¡A¦pªG ±z·Q Åý±zªº¥d³Q¤ä´©¡A±z¦Ü¤Ö­n°µÂI¨Æ¡C ²z·Q¤W¡A§Ú¸û³ßÅw¹³°µ Linux ®Ö ¤ß¨º¼Ëªº ¼Ò¦¡¥ç§Y§Ú¥D­n­t³d PCMCIA ªº®Ö¤ßµ{¦¡½X¡A¨ä¥LªºªB¤Í«h°^Äm¦b ¯S®íªº PC ¥d ªºÅX°Êµ{¦¡¤W¡C¦b SUPPORTED.CARDS Àɮפ¤´£¨ì¦³¨Ç¥d ©Ò¥ÎÅX°Êµ{¦¡¥¿¦b¶i¨B ¤¤¡C ¦b§Ú¯à¤O©Ò¤Îªº¦a¤è§Ú·|¾¨¶qÀ°¦£¡A ¤£¹L³z¹L Email ¨Ó°µ°£¿ù®Ö¤ß³]³ÆÅX °Êµ{¦¡¨Ã¤£¬O«Ü¦³®Ä²vªº¡C »s³y°Ó­Y¦³¿³½ìÅý¦Û¤v¤½¥qªº²£«~³Q Linux ©Ò¤ä´©¥i»P§Ú³sµ¸°µ¶i¤@¨Bªº ¬¢¸ß »P¦w±Æ¡C 1.7 ¶l±H¦W¥U¤Î¨ä¥L¸ê°T¨Ó·½ §Ú´¿¸gºûÅ@¤@­Ó Linux PCMCIA ªº¨Ï¥ÎªÌ¶l±H¦W¥U¡C¦Ó²{¦b§Ú¤w±N§Úªººô­¶ ½Õ¾ã ¦¨¡ª¶W´CÅé·s»D¡ªºô¯¸¡A¸ÌÀY¦³¤@¨t¦C¦³Ãö Linux PCMCIA ªº¸ê°T¶µ¥Ø ¡G ¦³°w ¹ï¤£¦P«¬¦¡ªº¥d¤ù¤§¦w¸Ë»P³]©w¡BPCMCIA ¥d¤§¬ÛÃöµ{¦¡³]­p»P°£¿ù ¡C³o­Ó Linux PCMCIA ¸ê°Tºô­¶¦b http: //hyper.stanford.edu/HyperNews/get/pcmcia/home.html ¤W¡C¨Ï¥ÎªÌ¥i¥H¥Ó½Ð ¸g¥Ñ¹q¤l¶l¥óªº¤è¦¡¨Ó³qª¾±z¸û·P¿³½ìªº·s°T®§¡C§Ú´Á ±æ³o¼Ë¤l¥i¥H±N³o¨Ç¶W¹L HOWTO (¡ª«ç»ò°µ¡ª ) ½d³òªº°ÝÃD°Q½×Åܬ°¤@­Ó ¹ê¥Îªº¸ê°TÄ_®w¡C ¦³­Ó°w¹ïµ§°O«¬¹q¸£¨Ï¥Î Linux ªº¶l±H¦W¥U¥s°µ ``linux-laptop'' ¶l±H ¦W¥U ¡C ­Y­n§ó¶i¤@¨Bªº¸ê°T¡A ½Ð±H¤@«Ê§t¦³ ``help'' ¤@¦rªº¹q¤l¶l¥ó¨ì majordomo@vger.rutgers.edu¡C ­Y±z­n­q¾\³o¥÷¸ê°T¡A½Ð±H¤@«Ê§t¦³ ``subscribe linux-laptop'' ªº¹q¤l¶l¥ó¨ì¤W­±¬Û¦Pªº Email ¦a§}¡C³o¥÷ ¶l±H ¦W¥U¬O¤@¥÷¦³Ãö©ó Linux PCMCIA ªº¤£¿ù½×¾Â®@¡C Linux Laptop ºô­¶¦b http://www.cs.utexas.edu/users/kharker/linux-laptop ¤W¡A ùØ­±¦³³sµ²¦Ü¯S ©wªºµ§°O«¬¹q¸£¦b¦w¸Ë Linux ¡]¤Î PCMCIA ¡^®Éªº¸ê °T¡CÁÙ¦³¤@¥÷¥i´M§ä¨t²Î «Øºc¸ê°Tªº¸ê®Æ®w¡C 1.8 «ç»ò¤£´£¨Ñ PCMCIA ªº¤G¶i¦ì½X©O¡H ¹ï§Ú¦Ó¨¥¡A´£¨Ñ¤G¶i¦ì½X·|§x¼¸§Ú¡C³o¦³ÂI½ÆÂø¡A¦]¬°¦³¨Ç¥\¯à¥u¯à¦b½sĶ ®É³Q ¿ï¾Ü¡A¦Ó¥B PCMCIA ¼Ò²Õ¤S¨º»ò¨Ì¿à¦X¾Aªº®Ö¤ß«Øºc¡C©Ò¥H¡A§Ú¥u¯à´£ ¨Ñ¦ñÀHµÛ ¦X¾Aªº®Ö¤ß¤§¥¼½sĶªº¼Ò²Õ¡Cªp¥B¡A·í­n¦w¸Ë¨ì¤@­Ó°®²bªº¨t²Î¤W ®É¬O³Ì»Ý­n¥¼ ½sĶªº¼Ò²Õªº¡C ¤@¯ë¨Ó»¡¡A¨C­Ó Linux ¨ÑÀ³°Ó·|»Ý­n¦b¦w¸Ë ¹Lµ{¤¤³]©w PCMCIA ¨Ó¨Ï¥Î¥¦ªº¥\¯à¡C¨C­Ó¨ÑÀ³°Ó³£¦³¦Û¤vªºµ{§Ç¡A©Ò¥H¥Ñ §Ú¨Ó¨ÑÀ³¶}¾÷¤Î ®ÚºÏºÐµ¹¥L­Ì¦n¹³¦³ÂI¤£¤Ó¾A¦X¡C PCMCIA ²{¦b¤w¬O³\¦h¥D­n Linux ¨ÑÀ³°Óªº¤@³¡¥÷¤F¡A ³o¥]§t Red Hat¡B Caldera¡B Slackware¡BYggdrasil¡BCraftworks ¤Î Nascent Technology¡C 1.9 ¬°¤°»ò PCMCIA ®M¥ó³o»ò¤j©O¡H ¾¾! ­º¥ý§Ú­n»¡ªº¬O¡A¥¦¯uªº¤£¤j¡C©Ò¦³ªºÅX°Êµ{¦¡¼Ò²Õ¥[°_¨Ó¥u»Ý¬ù 200 K ªº ºÏºÐªÅ¶¡¦Ó¤w¡C ¤½¥Îµ{¦¡³¡¥÷¥[°_¨Ó¬ù 70K¡A©ñ¦b /etc/pcmcia ùتº ¸ê®Æ¬ù 30K¡C·í°õ¦æ®É¡APCMCIA ªº®Ö¤ß¼Ò²Õ¦û¥Î¬ù 48K ªº¨t²Î°O¾ÐÅé¡C³q ±` cardmgr ºëÆF°£¤F¦b¥d¤ù³Q´¡¤J©Î²¾¥X®É¥~³£·|³Q²¾¥X°O¾ÐÅ骺¡C ©Ò¦³ ®M¥óªº¤j¤p¨Ã¤£ ·|¸ò DOS ªº¥d¤ùªA°Èµ{¦¡°õ¦æ®É¦³¦h¤jªº®t§O¡C ³o»P DOS ªº³æÂI±Ò¥Î¾¹¬Û¤ñ¦ü¥GÁÙ¤ñ¥¦­Ìªº¦n¡C ¯S§O¬O¦³¤H¨Ã¤£·|¨Ï¥Î¨ì PCMCIA ªº©Ò¦³¥\¯à¡G¤ñ¦p»¡¯à·½ºÞ²z©Î¼ö¾÷¥æ´«¥\¯à¡C ¦]¬°³æÂI±Ò¥Î¾¹¤j ³¡¥÷ ¥u»Ý¤ä´©¤@ºØ©Î¤Ö³\ªº¥d¤ù¥H¤Î¤ä´©¤Ö³\ªº PCMCIA ±±¨î¾¹¡A©Ò¥H¥i¥H °µ±o¤p¤@ ¨Ç¡C¦pªG¦³¤H­n¼g­Ó¤Ñ¤~«¬ªº¼Æ¾Ú¾÷¶}±Ò¾¹¡A¨ì«áÀY¥i¯à·|§â³\¦h ¥d¤ùªA°Èªº¥\ ¯à³£¥[¶i¥h¤~¯àÀ³¥I¤£¦Pªº¥d¤ù¼t°Ó¥H¤Î±±¨î¾¹¤F¡C 2. ½sĶ»P¦w¸Ë 2.1 ·Ç³Æ¤u§@»P®Ö¤ß³]©w ¦b¶}©l«e¡A ±zÀ³¸Ó·Q·Q¬O§_»Ý­n¦Û¤v¨Ó½sĶ PCMCIA ®M¥ó¡C ¦]¬°¤j³¡¥÷ªº Linux ¨ÑÀ³°Óª©¥»¤w§t¦³¤w½sĶ¹Lªº PCMCIA ÅX°Êµ{¦¡®M¥ó¡C¤@¯ë¤W¨Ó»¡¡A ¦pªG ±z»Ý­n³Ì·sªºÅX°Êµ{¦¡©Î±z§ó°Êªº Linux ¨ÑÀ³°Óª©¥»¤ºªº®Ö¤ß©M±z­ì ¥»ªº PCMCIA ÅX°Êµ{¦¡µLªk¬Û®e®É¤~·|»Ý­n¦Û¤v°Ê¤â°µ¡C ÁöµM½sĶ PCMCIA ®M¥ó¦b§Þ ³N¤W¨Ã¤£Ãø¡A¦ýÁÙ¬O»Ý­n±z¹ï Linux ¤w¦³¤@©wªº¼ô±xªº¡C ¤U¦CªºªF¦è¥²¶·¦b±z¶}©l¦w¸ËPCMCIAµ{¦¡¤§«e¥ý¦æ¦w¸Ë§´·í¡G * ¤@­Óª©¥» 2.0.* ©Î 2.1.* ¨t¦Cªº®Ö¤ß­ì©lµ{¦¡¾ð¡C * ¤@®M¦X¾Aªº¼Ò²Õ¤½¥Îµ{¦¡¡C * (¿ï¾Ü©Ê ) ``XForms'' X11 ¨Ï¥ÎªÌ¬É­±¤u¨ã²Õ ¥Ø«eªºÅX°Êµ{¦¡®M¥ó¨Æ¹ê¤W¥i¦b®Ö¤ßª©¥» 1.2.8 ¶}©lªº®Ö¤ßª©¥»¤W¥¿±`¤u §@¡C ¦Ó¥Î¤@ÂIªº®Ö¤ßª©¥»´N­I¹D¦Ó¹£¤F¨Ç¡A³Ì¦n¤£­n³o¼Ë¡C ±zÁٻݭn§¹¾ãªº Linux ­ì©lµ{¦¡¾ð¡A ¤£¬O¥u¦³³Ì·sª©ªº®Ö¤ß¬M¹³ÀÉ´N¥i¥Î ¨Ó½s Ķ PCMCIA ®M¥óªº¡C PCMCIA ¼Ò²Õ§t¦³¤@¨Ç¹ï®Ö¤ß­ì©lµ{¦¡Àɮתº°Ñ¦Ò «ü¥O¡A ¤]³\±z·|·Q°µ­Ó¤£§t¨º¨Ç¤£¥²­nªºÅX°Êµ{¦¡ªº®Ö¤ß¡A ¦ý¬O¦w¸Ë PCMCIA ¨Ã¤£»Ý­n ±z³o»ò°µ¡C ¥Ø«eí©wªºªº®Ö¤ßµ{¦¡ªº­ì©lÀɤέ׸ÉÀÉ¥i¥H¦b [4]ftp://sunsite.unc.edu/pub/Linux/kernel/v2.0 ©Î [5]ftp://tsx-11.mit.edu/pub/linux/sources/system/v2.0 ¤º§ä¨ì¡C µo®i¤¤ªº ®Ö¤ßµ{¦¡¥i¦b v2.1 ¥Ø¿ý¤º§ä¨ì¡A¥Ø«eªº¼Ò²Õ¤½¥Î µ{¦¡¤]¥i¦b¦P¼Ëªº¦a¤è§ä¨ì¡C ¦b®Ö¤ß 2.0 ¤Î 2.1 ª©©Ò¥Îªº Linux ­ì©lµ{¦¡¾ð¤ºªº Documentation/Changes Àɮפ¤´y­z¤F®Ö¤ßµ{¦¡©Ò»Ý­nªº¦UºØÃþ§Oªº¨t²Î¤¸¥ó¡C±z¥iÀ˵ø¥¦¨Ã®Ö¹ï±z ªº¨t ²Î¬O§_¬°³Ì·sª©¥»¡A¤×¨ä·í±z¤w§ó·s¤F®Ö¤ßµ{¦¡¡C ¦pªG±z¨Ï¥Î 2.1 ª© ®Ö¤ß¡A½Ð ½T»{±z¥Î¤F¥¿½Tªºµ{¦¡®w©M¼Ò²Õ¤u¨ãªº²Õ¦X¡C ·í±z«Øºc®Ö¤ß®É¡A¦pªG±z­pµe­n¥Î PCMCIA ºô¸ô¥d¡A±zÀ³¸Ó¥´¶}ºô¸ô¤ä´©¨Ã Ãö¤W ¥¿±`ªº Linux ºô¸ô¥dÅX°Êµ{¦¡¡A ³o¥]¬A¤f³U«¬¥iÄ⦡«¬¤¶­±¥d¡C PCMCIA ºô¸ô ¥dÅX°Êµ{¦¡³£³]­p¦¨¥i¸ü¤J¦¡¼Ò²Õ¡A ©Ò¥H±NÅX°Êµ{¦¡½sĶ¨ì®Ö ¤ßµ{¦¡¤º¥u·|®ö ¶OªÅ¶¡¦Ó¤w¡C ¦pªG±z­n¨Ï¥Î SLIP¡BPPP ©Î PLIP¡A¥i¦b«Ø¥ß®Ö¤ß®É±N³o¨Ç¥\¯à¥´¶}¡A©ÎªÌ ¨Ï¥Î ³o¨Ç¥\¯àªº¥i¸ü¤J¼Ò²Õª©¥»¡C ¦ý¬O¦b®Ö¤ß 1.2.X ª©¥»¤U«Øºc§@·~®É¦³ ¤p¯Ê¾Ù¡A ´N¬O¤£¯à¬°¸ü¤J¦¡¼Ò²Õ³]©w«Øºc¿ï¶µ (¨Ò¦p SLIP À£ÁY )¡A©Ò¥H¦p ªG±z»Ý­n³o­Ó ¥\¯à¡A¥u¦n±N SLIP ³sµ²¨ì®Ö¤ßµ{¤ßùؤF¡C ¬°¤F­n¨Ï¥Î PCMCIA ©Ý¾ëÃìºô¸ô¥d¡A ±zªº®Ö¤ßµ{¦¡À³¸Ó±N ``Token Ring driver support'' (CONFIG_TR) ³o¶µ¥Ø¶}±Ò¡A¨Ã±N CONFIG_IBMTR ³o¶µÃö³¬¡C ¦pªG±z­n¨Ï¥Î PCMCIA IDE ¥d¡A°w¹ï®Ö¤ß 1.3.72 ¦Ü 2.1.7 ª©¡A ®Ö¤ß«Øºc ®ÉÀ³ ¸Ó­n±N CONFIG_BLK_DEV_IDE_PCMCIA ¥\¯à¥´¶}¡Aª©ªº®Ö¤ß¨Ã¤£ ¤ä´©¥i²¾¦¡ IDE ³]³Æ¡A¦Ó¸û·sªº®Ö¤ß´N¤£»Ý³o»ò¯S§O³]©w¤F¡C ¦pªG±z­n¨Ï¥Î PCMCIA SCSI ¥d¡A ¦b«Øºc®Ö¤ß®ÉÀ³±N CONFIG_SCSI ¥\ ¯à¥´¶}¡C ¨Ã¥B¡A±N±z­n¨Ï¥Îªº SCSI ³]³Æ¶µ¥Ø¤§ÅX°Êµ{¦¡¥´¶} (SCSI ºÏºÐ ¾÷¡BºÏ±a¾÷¡B °ßŪ¥úºÐ¾÷µ¥µ¥ )¡C©Ò¦³µ¹¯S©w¤¶­±¥dªº§C¼h¦¸ÅX°Êµ{¦¡À³¸Ó ­nÃö±¼¡A¦]¬°¥¦­Ì ¥u·|¦û¥ÎªÅ¶¡¦Ó¤w¡C ¦pªG±z·Q§âµ¹ PCMCIA ³]³Æ¨Ï¥ÎªºÅX°Êµ{¦¡¼Ò²Õ¤Æ¡A½Ð­×§ï /etc/pcmcia/config ¨Ó«ü©w­þ¨Ç¼Ò²Õ¦b­þºØ¥d¤ù¨Ï¥Î¤U»Ý³Q¸ü¤J¡C¨Ò¦p¡A¦pªG¦ê ¦C°ðÅX°Êµ{¦¡³Q ¼Ò²Õ¤Æ¤F¡A¨º»ò¦ê¦C°ð³]³Æªº©w¸qÀ³¸Ó¦p¤U¡G device "serial_cs" class "serial" module "misc/serial", "serial_cs" ¦b®M¥óùØÁÙ¦³­Ó X Àô¹Ò¨Ï¥Îªº¥d¤ùª¬ºA¤½¥Îµ{¦¡ cardinfo¡C ¦¹µ{¦¡ ¬O³þ©w¦b ¤@­Ó§K¶O¨ÑÀ³ªº¨Ï¥ÎªÌ¤¶­±¤u¨ã®M¥ó XForms µ{¦¡®w¡C³q±`³Qªþ¦b ¤j³¡¥÷ªº Linux ¨ÑÀ³°Óªº²£«~¤º¡C ¦pªG±z·Q«Ø³y cardinfo¡A±z±o¦b «Øºc PCMCIA ®M¥ó«e ¦w¸Ë¦n XForms ©M©Ò¦³ªº¤@¯ë X µ{¦¡ÀYÀɤε{¦¡®w¡C 2.2 ¦w¸Ë ¥H¤U¬O¦w¸Ë¹Lµ{ªºÂ²­n¨BÆJ¡G * ¸Ñ¶} pcmcia-cs-3.0.?.tar.gz ¨ì /usr/src¥Ø¿ý¤º * ¦b·sªº pcmcia-cs-3.0.? ¥Ø¿ý¤º°õ¦æ ``make config'' * °õ¦æ ``make all''¡A¦A°õ¦æ ``make install''¡C * ¬°±zªº¨t²Î¦b /etc/pcmcia ¤º¦Û­q PCMCIA ±Ò°Ê¤â½Z©M¿ï¾ÜÀÉ®× ¡C ¦pªG±z·Q¦w¸Ë¨ä¥L«D¥D­n PCMCIA ¤À¨É®M¥óµ{¦¡©Ò¥]§tªº«È¤áºÝÅX°Êµ{¦¡¡A ±N¥¦ ­Ì¸Ñ¶}¨ì PCMCIA ­ì©lµ{¦¡¾ðªº³»¼h¡A¦A¨Ì¥¿±`ªº«Ø³y«ü¥O¡A§Y¥i±N³o ¼W¥[ªºÅX °Êµ{¦¡½sĶ¤Î¦w¸Ë°_¨Ó¡C °õ¦æ ``make config'' ·|¦C¥X¤@¨Ç«Øºc¿ï¶µ¡A½ÐÀˬd±zªº¨t²Î¨Ã¤ñ¹ï ³o¨Ç¿ï¶µ ¬O§_²Å¦X¦w¸Ë PCMCIA ¤ä´©ªº±ø¥ó¡C½Ð¤p¤ßÀˬd¦¹©R¥Oªº¿é¥X°T®§ ¡A¤×¨ä­þÃ䦳 °ÝÃD®É¡C ¦pªG±z·Q½sĶ­Ó PCMCIA ®M¥óµ¹¨ä¥L¾÷¾¹¨Ï¥Î¡A¦b«Øºc¤â½Z°õ¦æ¨ì¥X²{«ü©w ¥Ø¼Ð ¥Ø¿ý®É½Ð«ü©w­Ó´À¥Nªº¥Ø¿ý¡A¥¦À³¸Ó¬O­Óµ´¹ï¸ô®|¡A©Ò¦³ªº PCMCIA ¤u ¨ã±N³Q¦w ¸Ë¦b³o¥Ø¿ýªº¬Û¹ï¦ì¸mùØ¡CµM«á¡A±z´N¥i¥H tar ³o­Ó¥Ø¿ý°_ ¨Ó¡A¦A§â¥¦«þ¨©¨ì ¨ä¥L¾÷¾¹¤W¡A¸ÑÀ£ÁY¨ì¬Û¹ï¥Ø¿ý¤W«á¦A¦w¸Ë¥¦­Ì¨ì¾A·íªº ¦a¤è¡C ¦pªG±z·Q½sĶ­Ó PCMCIA ®M¥óµ¹¨ä¥L¾÷¾¹¨Ï¥Î¡A¦b«Øºc¤â½Z°õ¦æ¨ì­n¨D±z«ü ©w¥Ø ¼Ð¥Ø¿ý®É½Ð«ü©w­Ó´À¥Nªº¥Ø¿ý¡A ¥¦À³¸Ó¬O­Óµ´¹ï¸ô®|¡A©Ò¦³ªº PCMCIA ¤u¨ã±N³Q ¦w¸Ë¦b³o¥Ø¿ýªº¬Û¹ï¦ì¸mùØ¡CµM«á¡A±z´N¥i¥H tar ³o­Ó¥Ø¿ý °_¨Ó¡A¦A§â¥¦«þ¨© ¨ì¨ä¥L¾÷¾¹¤W¡A¸ÑÀ£ÁY¨ì¬Û¹ï¥Ø¿ý¤W«á¦A¦w¸Ë¥¦­Ì¨ì¾A·í ªº¦a¤è¡C ¦pªG±z¦b¨ä¥L¹q¸£¤W°µ¥æ¤e½sĶ¡A±z¥i¥H«ü©w´À¥NÀɦWµ¹½sĶ¾¹¤Î³sµ²¾¹¡C ³o¹ï ²V¦XµÛ a.out ¤Î ELF ¨t²Î®É«Ü¦³§U¯q¡C¦¹¤â½Z·|­n¨D¿é¤J°µ¬°°£¿ù®É ¨Ï¥Îªº½s ĶºX¼Ð¡C ¬Y¨Ç¤ä´©¤½¥Îµ{¦¡ (cardctl ©M cardinfo) ¥i¥H¦b¦w¥þ©Î¥i«H ªº§Î¦¡¤U½sĶ¡C ¦b¦w¥þ§Î¦¡¤U¥i¥H¨¾¤î«D root ªº¨Ï¥ÎªÌ§ó§ï¥d¤ùªº«Øºc¡C ¥i«Hªº§Î¦¡¤U¤¹³\¤@ ¯ë¨Ï¥ÎªÌ°õ¦æ¼È°±¡BÄ~Äò¡B­«¸m¥d¤ùªº©R¥O¤Î§ïÅܥثe ªº«Øºc¡C«Øºc¤â½Z·|°Ý§A ­n±N¤½¥Îµ{¦¡½sĶ¦¨¦w¥þ©Î¥i«Hªº§Î¦¡¡A¤º©w¬°¦w ¥þ§Î¦¡¡C ¦³¨Ç®Ö¤ßµ{¦¡«Øºc¿ï¶µ·|¼vÅT¨ì PCMCIA ªº¤u¨ã¡C«Øºc¤â½Z¡]¤@¯ëª¬ªp¤U¡^ ·|¦b °õ¦æ®Ö¤ßµ{¦¡®É±ÀÂ_¥X³o¨Ç¼vÅT¡C¥t¥~¡A¦pªG±z¬O½sĶ¨Ó¦w¸Ë¨ì¨ä¥L¾÷ ¾¹¤Wªº¡A ¥¦¯à±q®Ö¤ß­ì©lµ{¦¡¾ðùØŪ¨ì³o¨Ç«Øºc¡A©Î¬O¤¬°Ê¦a³]©w¨C­Ó¿ï¶µ ¡C °õ¦æ ``make all'' «á¡A±µµÛ ``make install'' ±N«Ø¥ß¨Ã¦w¸Ë ®Ö¤ßµ{¦¡¼Ò²Õ¤Î ¤½¥Îµ{¦¡¡C ®Ö¤ß¼Ò²Õ·|³Q¦w¸Ë¦b /lib/modules/< ª©¥» >/pcmcia ¤º¡C cardmgr ©M cardctl ¨âµ{¦¡³Q¦w ¸Ë¦b /sbin ¥Ø¿ý¤º¡C ¦pªG cardinfo ¦³³Q«Ø ¥ßªº¸Ü¡A¥¦·| ³Q¦w¸Ë¦b /usr/bin/X11 ùØ¡C «ØºcÀÉ·|³Q¦w¸Ë¦b /etc/pcmcia ¥Ø¿ý¤º¡C¦pªG±z¦w¸Ë¦b¤@­Óª© ¥»¤§¤W¡A±zªº ª©«Øºc¤â½Z·|³Q³Æ¥÷°_¨Ó¤£·|³Q»\±¼¡A³Q«O¦s¤U¨ÓªºÀɮצW ºÙ·|³Q¥[­Ó *.~1~¡B*.~2~ ¤§ÃþªºÀɦW¡C ¦pªG±z¤£ª¾¹D±zªº PCMCIA ±±¨î´¹¤ù¬O¤°»ò¼tµPªº¡A ±z¥i¥H¨Ï¥Î cardmgr/ ¥Ø¿ý ¤Uªº probe ¤½¥Îµ{¦¡¨Ó±´´ú¥¦¡C¥Ø«e³Ì¥D­n ªº´¹¤ù¦³¡GDatabook TCIC-2 ´¹¤ù ¤Î Intel i82365SL ¬Û®e´¹¤ù¡C ¦b¤Ö¼Æ±¡ªp¤U¡Aprobe ©R¥O±NµLªk¦Û°Ê¦a§PÂ_±zªº±±¨î¾¹¤§Ãþ§O¡C ¦p ªG±z¦³­Ó Halikan NBD 486 ¨t²Î¡A ¥¦¦³­Ó©ñ¦b¤£¦P¦a¤èªº TCIC-2 ±±¨î¾¹ ¡G ¦¹®É±z´N»Ý ­n­×§ï rc.pcmcia ¨Ó¸ü¤J tcic ¼Ò²Õ¡A ¨Ã¥B±N PCIC_OPTS °Ñ¼Æ³]©w¦¨ ``tcic_base=0x02c0''¡C ¦³¨Ç¨Ï¥Î Cirrus ±±¨î¾¹ªº¨t²Î¡A ¥]¬A NEC Versa M ¨t²Îªº BIOS ·|¦b¨t ²Î±Ò °Ê®É±N±±¨î¾¹¸m©ó¤@­Ó¯S§OªºÄa¸mª¬ºA¤U¡C¦b³oÃþ¨t²Î¤W¡Aprobe ©R¥O¨ÃµLªk§ä ¨ì¥ô¦ó¤wª¾ªº PCMCIA ±±¨î¾¹¡C ¦pªGµo¥Í³oºØ¨Æ¡A ½Ð­×§ï rc.pcmcia ±N PCIC ³]¬° i82365¡A PCIC_OPTS ¬° ``wakeup=1''¡C 2.3 ¦w¸Ë§¹«á¡]¨Ï¥ÎBSD ±Ò°Ê¤â½Zªº¨t²Î¡^ ¦³¨Ç Linux ¨ÑÀ³°Ó¡A¥]¬A Slackware¡A¨Ï¥Î BSD ªº¦w±Æ¤è¦¡°µ¬°¨t²Î±Ò°Ê ¤â½Z ªº¤è±Æ¡C ¦pªG¦³ /etc/rc.d/rc.M ³o­ÓÀɪº¨t²Î´NÄݳoÃþ«¬ ªº¡C¦w¸Ë¦b /etc/rc.d ¤ºªº rc.pcmcia ¤â½Z·|±±¨î±Ò°Ê©M Ãö³¬ PCMCIA ¨t²Î¡C ¦b ``make install'' ®É·|¥Î probe ©R¥O ¨Ó¨M©w±zªº±±¨î¾¹ºØÃþ¨Ã¾A·í­×§ï rc.pcmcia ªº ¤º®e¡C±z¥i¦b¨t²Î±Ò °ÊÀÉ /etc/rc.d/rc.M ¤º¥[¤W¤@¦æ¦p¤U­±ªº«ü¥O¨Ó°õ¦æ PCMCIA ±Ò°Ê¤â½Z¡C /etc/rc.d/rc.pcmcia start ±N³o¦æ´¡±Æ¦b­þ¦æ«e­±³£¥i¥H¡A¥u­n PCMCIA ÅX°Êµ{¦¡¦b syslogd «á ±Ò°Ê§Y¥i ¡C 2.4 ¦w¸Ë§¹«á¡]¨Ï¥ÎSystem V ±Ò°Ê¤â½Zªº¨t²Î¡^ 2.5 ¦w¸Ë§¹«á¡]¨Ï¥Î System V °_©l¤â½Zªº¨t²Î¡^ Red Hat¡B Caldera ¤Î Debian µ¥¨ÑÀ³°Óªº Linux ¨Ï¥Î System V «¬ªº¦w±Æ¨t²Î ±Ò°Ê ÀɮסC ¦pªG¦³­Ó /etc/init.d ©Î /etc/rc.d/init.d ¥Ø¿ýªº¨t²Î´N¬O³oÃþ «¬¡C rc.pcmcia ¤â½Z·|³Q¦w¸Ë¨ì /etc/rc.d/init.d/pcmcia ©Î¬O /etc/init.d/pcmcia ¤U¡C¥¦·|¦Û°Ê±Ò°Ê PCMCIA ¥\¯à¡A¤£¥²¥h­×§ï¥ô¦óªº±Ò°Ê¤â ½Z¤F¡C ¦pªG /etc/sysconfig ¥Ø¿ý¦b¨t²Î¤º¡A ¨º»ò¦³¥t¤@­Ó«ØºcÀÉ /etc/sysconfig/pcmcia ·|³Q«Ø¥ß°_¨Ó°µ¬°±Ò°Ê¿ï¶µ¡C ¦pªG±z»Ý ­n§ó§ï¥ô¦óªº ¼Ò²Õ¿ï¶µ (¦p PCIC= ©Î PCIC_OPTS= ³]©w )¡A ¥u »Ý½s¿è³o­Ó«ØºcÀɦӤ£¥²­×§ï ¯u¥¿ªº PCMCIA ±Ò°Ê¤â½Z¡C¦¹Àɮפ]¤£·|³Q©¹ «áªº¦w¸Ë¦ÓÂл\±¼¡C ¦³¨Ç¥H«eªºª©¥»¨Ï¥Î /etc/sysconfig/pcmcia-scripts ¥Ø¿ý¦Ó¤£ ¬O²{¦bªº /etc/pcmcia ¥Ø¿ý¡C²{¦b©Ò¦³ªº¨t²Îªºª©¥»³£¤w©Î±N§ï ¥Î /etc/pcmcia ¥Ø¿ý¤F ¡A¡C 2.6 ´¡¼ÑÅX°Êµ{¦¡¿ï¶µ ¦³¨Ç PCMCIA ±±¨î¾¹¾Ö¦³¨ä¥Lªº¥\¯à¥i¯à·|¤]¥i¯à¤£·|³Q¯S§Oªº¨t²Î©Ò±Ä¥Î ¡C¦Ó ´¡¼ÑÅX°Êµ{¦¡¤]¨S¦³¿ìªk°»´ú¨ì¬O§_³o¨Ç¥\¯à³Q±Ä¥Î»P§_¡C½ÐÀˬd±zªº ´¡¼ÑÅX°Ê µ{¦¡ªº man »¡©ú­¶¬Ý¬Ý±zªº±±¨î¾¹¦³­þ¨Ç¨ä¥Lªº¥\¯à¡C §C¶¥ªº´¡¼ÑÅX°Êµ{¦¡ tcic ¤Î i82365 ¦³³\¦h¶×¬y±Æ¤À®É°Ñ¼Æ¯S §O¬O¦b±Ä¥Î°ª³t ³B²z¾¹ªº¨t²Î¤W®É»Ý°µ¨Ç­×§ï¡C¤À®Éµo¥Í°ÝÃDªº¯gª¬¹³¥d¤ù ¿ë»{°ÝÃD¡B¦b­«­t¸ü ¤Uªº³¬Âê¡B¿ù»~¤ñ²v°ª¡A©Î¬O³y¦¨³]³Æ©Ê¯àÅÜ®t¡C¸Ô±¡ ½Ð°Ñ¾\¬ÛÃöªº man ­¶·| ¦³§ó¦hªº²Ó¸`¡A¦b¦¹Â²­z¦p¤U¡G * Cirrus ±±¨î¾¹¦³³\¦h¥i«Øºcªº¤À®É°Ñ¼Æ¡C ³Ì­«­nªºÀ³¸Ó¬O cmd_time ºX¼Ð ¡A ¥¦¥Î¨Ó¨M©w PCMCIA ¶×¬y±Æ¶g´Áªºªø«×¡C ³t«×§Öªº 486 ¨t²Î¡]¦p DX4-100 ¡^¤U±N¥¦±q 6 (¤º©w­È ) ¥[¤j¦¨¬° 12 ©Î 16 ®É¥i¬Ý¨ì¥¦®ÄªG¡C * Cirrus PD6729 PCI ±±¨î¾¹¦³ fast_pci ºX¼Ð¡A¦pªG PCI ¶×¬y±Æªº³t «×¤ñ 25 MHz §Ö®ÉÀ³¸Ó³]©w¥¦¡C * Vadem VG-468 ±±¨î¾¹¤Î Databook TCIC-2 ±±¨î¾¹¤ºªº async_clock ºX¼Ð¥² ¶·§ó§ï¬°»P PCMCIA ¶×¬y±Æ©M¥D¶×¬y±Æ¬Û¹ïªº¶g´Á³t«×¡C§ó§ï³o­ÓºX ¼Ð·|¨Ï ¬Y¨Ç¾Þ§@¤W¼W¥[µ¥«Ýªº®É¶¡¡CµM¦Ó¡A§Ú¦n¹³ÁÙ¨SÅ¥»¡¦³­þ­Óµ§°O«¬¹q ¸£»Ý­n ³o»ò°µªº¡C * pcmcia_core ¼Ò²Õ¦³­Ó cis_speed °Ñ¼Æ¡A ¥¦¬O¥Î¨Ó§ó§ï¨ú¦s¥d ¤ùªº¥d¤ù¸ê °Tµ²ºc Card Information Structure (CIS) ¤§°O¾ÐÅé³t«×¡C¦³ ¨Ç³t«×§Öªº ¶×¬y±Æ®É§Çªº¨t²Î¤W¡A¼W¥[³o­Ó°Ñ¼Æ¡]¨Ò¦p¡A´îºC¥d¤ùªº¦s¨ú¡^ ¥i¥H¸Ñ¨M¥d ¤ù¿ëÃѪº°ÝÃD¡C * ³oùاڭ̨ëD°Q½×¤À®ÉªºÄ³ÃD¡A¦ý¦pªG±zªº¨t²Î¤W¦³¤@­Ó¥H¤Wªº ISA-to-PCMCIA ±±¨î¾¹©Î¦bÂX¥R¶õ¤W¦³¨ä¥Lªº´¡¼Ñ®É¡Ai82365 ¼Ò²ÕÀ³ ¸Ó©M °Ñ¼Æ³]¬° 1 ªº extra_sockets ¤@°_³Q¸ü¤J¡A ¦ý¹ï©ó PCI-to-PCMCIA ©Î PCI-to-CardBus ¾ô±µ¾¹ªÌ´N¤£¥²³o»ò°µ¡C ©Ò¦³ªº³o¨Ç¿ï¶µÀ³­×§ï /etc/rc.d/rc.pcmcia¨Ó«Øºc¡A¨Ò¦p¡G # Should be either i82365 or tcic PCIC=i82365 # Put socket driver timing parameters here PCIC_OPTS="cmd_time=12" # Put pcmcia_core options here CORE_OPTS="cis_speed=500" ³oùئ³¤@¨Ç¯S®í¨t²Îªº¤À®É³]©w¡G * ¦b ARM Pentium-90 ©Î Midwest Micro Soundbook Plus ¤W¡A ¨Ï¥Î ``freq_bypass=1 cmd_time=8''¡C * ¦b Midwest Micro Soundbook Elite¡A¨Ï¥Î ``cmd_time=12'' ¡C * ¦b Gateway Liberty ¤W¡A¸Õ¸Õ ``cmd_time=16''¡C 2.7 ¨t²Î¸ê·½³]©w ¥d¤ùªA°È¨t²ÎÀ³¸Ó¦Û°Ê¦a¥hÁקK¤À°t¨ì¤w³Q¨ä¥L¼Ð·Ç³]³Æ¨Ï¥Î¤Fªº IO °ð©M´¡Â_ ¡C¥¦¤]·|¸ÕµÛ°»´ú¥»¨­»P¤£ª¾¦W³]³Æ¶¡ªº½Ä¬ð¡A¥u¤£¹LÁÙ¤£¬O«Ü§¹ ¥þ¥i¾a¡C ¦p ªG¹J¨ì³oºØ±¡§Î¡A ±z»Ý­n±N /etc/pcmcia/config.opts ¤ºªº¸ê·½µ¹±Æ°£±¼¡C ¥H¤U¬O¬Y¨Ç¯S©wªºµ§°O«¬¹q¸£¤§¸ê·½³]©w¡G * ¦b AMS SoundPro, ±Æ°£ irq 10. * ¦b¦³¨Ç AMS TravelPro 5300 models, use memory 0xc8000-0xcffff. * ¦b BMX 486DX2-66, ±Æ°£ irq 5, irq 9. * ¦b Chicony NB5, use memory 0xda000-0xdffff. * ¦b Compaq Presario 1020, ±Æ°£ port 0x2f8-0x2ff, irq 3, irq 5. * ¦b HP Omnibook 4000C, ±Æ°£ port 0x300-0x30f. * ¦b Micron Millenia Transport, ±Æ°£ irq 5, irq 9. * ¦b NEC Versa M, ±Æ°£ irq 9, port 0x2e0-2ff. * ¦b NEC Versa P/75, ±Æ°£ irq 5, irq 9. * ¦b NEC Versa S, ±Æ°£ irq 9, irq 12. * ¦b NEC Versa 6000 ¨t¦C, ±Æ°£ port 0x300-0x33f, irq 9, irq 10. * ¦b ProStar 9200, Altima Virage, ¤Î Acquiline Hurricane DX4-100, ±Æ °£ irq 5, port 0x330-0x35f. ¥i¥H¨Ï¥Î memory 0xd8000-0xdffff. * ¦b Siemens Nixdorf SIMATIC PG 720C, ¨Ï¥Îmemory 0xc0000-0xcffff, port 0x300-0x3bf. * ¦b TI TravelMate 5000,¨Ï¥Î memory 0xd4000-0xdffff. * ¦b Toshiba T4900 CT, ±Æ°£ irq 5, port 0x2e0-0x2e8, port 0x330-0x338. * ¦b Twinhead 5100, HP 4000, Sharp PC-8700 ©M PC-8900, ±Æ°£ irq 9 ( ­µ®Ä ), irq 12. * ¦b MPC 800 ¨t¦C¡A±Æ°£ irq 5, port 0x300-0x30f ¬Oµ¹ CD-ROM ¥Îªº¡C 3. ¸Ñ¨M¦w¸Ë»P«Øºcªº°ÝÃD ¦b¥»³¹¸`ùØ·|«ü¥X¤@¨Ç±`¨£ªº PCMCIA ¤l¨t²Îªº¥¢±Ñ¼Ò¦¡¡C½Ð±z¸ÕµÛ¦b ³o¨Ç¨Ò¤l ¤¤§ä¥X±z©Ò¹J¨ìªº°ÝÃD¤§¯gª¬¡C¥»³¹¥u´y­z¡¨¤@¯ëªº¿ù»~¡¨°ÝÃD¡A ¦]¦¹¨Ã¤£°w¹ï ¯S©wªº¥d¤ù©ÎÅX°Êµ{¦¡¡C ·Q­n°£¿ù¦b§Ú­Ì¸ÕµÛ¸g¥Ñ PCMCIA ¸Ë¸m¨Ó¦w¸Ë Linux ®É¹J¨ìªº PCMCIA ÅX °Êµ{ ¦¡°ÝÃD´Xªñ¥G¤£¥i¯à¡C¬Æ¦Ü±z¯à±q¯gª¬¤¤ª¾¹D¬O­þ¤è­±ªº°ÝÃD¡A·Q­n­× §ï¦w¸ËºÏ ¤ù¤S«ÜÃø¡A¤×¨ä¬OµLªk¦b Linux ¨t²Î¤U¦s¨ú®É¡C ­n¦Û­q¦w¸ËºÏ¤ù §¹¥þ­n¥õ¿à Linux ¨ÑÀ³ªÌªºªº¿ï¾Ü¤F¡A³o¤]¤£¦b¥»¤å¥óªº½d³ò¤º¡C ¦ý¤@¯ë ¨Ó»¡¡A ³Ì¨Îªº¨B ÆJ¬O¥ý¨Ï¥Î¨ä¥Lªº¤èªk¨Ó¦w¸Ë¦n Linux¡A µM«á®³¨ì³Ì·sªº PCMCIA ÅX°Êµ{¦¡«á¡A ¦A¨Ó°£¿ù¨º¨Ç¤´¦s¦bªº°ÝÃD¡C 3.1 °ò¥» PCMCIA ®Ö¤ß¼Ò²Õ¨Ã¨S¸ü¤J ¯gª¬: * ¡¨®Ö¤ßª©¥»¤£²Å¦X¡¨¤§¿ù»~°T®§¦b PCMCIA ±Ò°Ê¤â½Z°õ¦æ®É¥X²{¡C * ¦b±Ò°Ê«á¡A lsmod ¨Ã¨S¨q¥X¥ô¦óªº PCMCIA ¼Ò²Õ¡C * cardmgr °õ¦æ³ø§i ``no pcmcia driver in /proc/devices'' ¦b¨t²Î¤é»x¤¤ ¡C ®Ö¤ß¼Ò²Õ¤¤¥]¬A¥¦ªºª©¥»¸ê°T·|¦b¼Ò²Õ³Q¸ü¤J®É»P²{¦bªº®Ö¤ß¬Û®Ö¹ï¡CÀˬd ªº¤è ¦¡µø CONFIG_MODVERSIONS ³o¶µ®Ö¤ß¿ï¶µ¨Ó¬Ý¡C ¦pªG³o¶µ¥Ø¬O§_ ©wªº¡A ®Ö¤ßª© ¥»¸¹½X´N·|³Q½sĶ¨ì¨C¤@­Ó¼Ò²Õ¤º¡A¦Ó insmod ·|Àˬd ³o¶µ¬O§_»P°õ¦æ¤¤ªº®Ö¤ß ¬O¬Û²Å¦Xªº¡C ¦pªG CONFIG_MODVERSIONS ¬O yes¡A®Ö¤ß©Ò´£³øªº¨C­Ó²Å¸¹·|³Q°µ ¦¨¤@¥÷ÀˬdÁ`Äý (Checksum)¡C³o¨Çµ{¦¡ ½X³£·|³Q»P¬Û¹ïÀ³ªºµ{¦¡½X¬Û¤ñ¹ï«á½s Ķ¦¨¼Ò²Õ¡C³o»ò°µ¦®¦bÅý¼Ò²Õ­Ì´î¤Ö ª©¥»¨Ì¿à«×¡A ¦]¬°ÀˬdÁ`Äý¥u·|¦b®Ö¤ß¤¶ ­±§ó°Ê®É¤~·|¸òµÛÅÜ°Ê¡A ¥B¹ï©ó ¤p¤pªº®Ö¤ß§ó·s¤É¯Å´X¥Gºû«ù»P­ì¨Ó¬Û¦P¡C¦b ¹ê°È¤W¡AÀˬdÁ`Äý¤wÅܦ¨§ó¥[ ªºÄY®æ¡A¦]¬°¦³³\¦hªº®Ö¤ß¤¶­±³£¨Ì¿à¬O¦b½sĶ®É ´Á®É®Ö¤ß¿ï¶µªº³]©w¡C¦Ó ¥B¡AÀˬdÁ`Äý¤vÅܦ¨¤@­Ó§PÂ_¬Û®e«×ªº·¥ºÝ´dÆ[ªº¤u¨ã ¤F¡C ¦³¨Ç PCMCIA ¼Ò²Õ»Ý­n®Ö¤ßªA°Èµ{¦¡¡A¦ý³o¨ÇªA°Èµ{¦¡¥i¯à¦s¦b©Î¤£¦s¦b¡A ³o§¹ ¥þ­n¬Ý®Ö¤ßªº«Øºc¡C ¨Ò¦p¡ASCSI ±±¨î¥dÅX°Êµ{¦¡´N»Ý­n®Ö¤ß¤w³Q«Øºc ¤ä´©¤F SCSI ¤F¡Cºô¸ôÅX°Êµ{¦¡´N»Ý­n¤ä´©ºô¸ôªº®Ö¤ß¡C¦pªG®Ö¤ß¯Ê¤Ö¤F¤@ »Ý­nªº¥\¯à ¡Ainsmod ¥i¯à·|³ø§i¥X¦³¥¼©w¸qªº²Å¸¹¦Ó¤£¥h¸ü¤J¸Ó¼Ò²Õ ¡C ³o¼ËÄ~Äòªºµ²ªG¬O¡A®Ö¤ß¼Ò²Õºò±K¦a»P®Ö¤ßª©¥»¥H¤Î³\¦hªº®Ö¤ß«Øºc¿ï¶µªº ³]©w ¬Ûµ²¦X¡C¤@¯ë¨Ó»¡¡Aµ²®Ö¤ß 2.0.31 ª©ªº¤@²Õ³Q½sĶ¦nªº¼Ò²Õ¨ÃµLªk³Q ¨ä¥Lªº®Ö ¤ß 2.0.31 ª©¥»¤W¨Ï¥Î¡C°£«D¦³¯S§O¦aª`·N¨ì±N¨â­Ó«Øºc¦¨¬Û¦Pªº ³]©w¡C³o­Ó°Ý ÃD¡A´NÅý¨º¨Ç¨ÑÀ³¤w½sĶ¦nªº®Ö¤ß¼Ò²Õªº¤u§@Åܱo¦³ÂI©_©Ç¤F ¡C ±z¦³´XºØ¿ï¶µ¡G * ¦pªG±z¾Ö¦³ªº¬O Linux ¨ÑÀ³ª©¤º¤§¥¼¸g½sĶªºÅX°Êµ{¦¡¡A ½ÐÀˬd±z©Ò¨Ï¥Î ªº®Ö¤ß¬O©M¸Ó¨ÑÀ³ª©¤@°_ªº¥¼¸g½sĶªº®Ö¤ß¡C¦pªG±z·Q¨Ï¥Î¥¼¸g½sĶªº¼Ò²Õ ¡A¤@¯ë¨Ó»¡§A±o¨Ï¥Î»P¥¦·Q¦ñªº®Ö¤ß¡C * ¦pªG§A­«·s«Øºc©Î¤É¯Å§Aªº®Ö¤ß¤F¡A§A¥i¯à»Ý­n½sĶ©M¦w¸Ë·sªº PCMCIA ®M ¥ó¡C ¦pªG§A¤w¸g¦³¦w¸Ë¤F®Ö¤ß­ì©l¾ðªº¸Ü¡A°µ³o¥ó¨Æ´N±o®e©ö¤F¡C ½Ð°Ñ¦Ò PCMCIA-HOWTO ¦³§ó¸Ô²Óªº«ü¥Ü¡C * ¦b¬Y¨Ç±¡§Î¤U¡A»P¨ä¥L¨t²Î¤¸¥óªº¤£¬Û®e¥i¯à·|¾É­PµLªk¥¿½T¸ü¤J®Ö¤ß¼Ò²Õ ¤¸¥ó¡C ¦pªG±z¦Û¤v¤É¯Å®Ö¤ß¡A ½Ðª`·N¸Ô¦C¼Ò²Õ­ì©lÀɮ׾𤺤§ Documentation/Changes Àɮפº°w¹ï¼Ò²Õ¤½¥Îµ{¦¡¤Î¤G¶i¦ì¤½¨ã µ{¦¡¤¤¦C©ú ªº³Ì¤p»Ý¨D (``minimal requirements'')¡C 3.2 ´¡Â_±½´y¥¢±Ñ ¯gª¬: * ·í PCMCIA ÅX°Êµ{¦¡³Q¸ü¤J®É¨t²Î«o°Ê¤]¤£°Ê¡A´Nºâ¨Ã¨S¦³¥d¤ù´¡µÛ®É¤]¤@ ¼Ë¡C * ¨t²Î¤é»x¦b¨t²Î·í¾÷Âꦺ«eÅã¥Ü¦¨¥\¦a°»´ú¨ì PCMCIA ±±¨î¾¹¡A¦ýÁÙ¨SÅã¥Ü ´¡Â_°»´úªºµ²ªG®É¡C ¦b¿ëµø PCMCIA ±±¨î¾¹¤§«á¡A´¡¼ÑÅX°Êµ{¦¡·|°»´úªÅµÛªº´¡Â_¸¹½X¡C³o­Ó°Ê §@·| ¬°¨C­ÓÅãµM¬OªÅµÛªº´¡Â_°µµ{¦¡¤Æ, µM«á²£¥Í¤@­Ó `` ³nªº '' ´¡Â_¡A ¨Ó¬Ý¬Ý¬O §_³o­Ó´¡Â_¥i¥H³Q¥¿½T¦a³Q°»´ú¨ì¡C¦³¨Ç®É­Ô¡A°»´ú¨ì¤@¨Ç¯S®íªº ´¡Â_®É·|¼vÅT ¨ì¨ä¥Lªº¨t²Î³]³Æ¡C ³o»ò°»´úªº²z¥Ñ¬O¡A§Ú­Ì­n¿ëµø¥X¯u¥¿ªÅµÛ¥i¥Îªº´¡Â_¡C (¨Ò¦p¡A¨º¨Ç¤£¬O ³Q¥ô ¦ó¨ä¥L Linux ³]³ÆÅX°Êµ{¦¡©Ò¹w¯dµÛªº¡A ¤]¨Ã«D¹êÅé¤W¤w³s±µµÛ PCMCIA ±±¨î ¾¹ªº¡A©Î¬O¤w³s±µµÛ¨ä¥Lªº³]³Æ¦ý¨Ã¨S¦³ÅX°Êµ{¦¡ªº¡C) ¦³¤GºØÄ~Äòªº¤èªk: * ´¡Â_±´´ú¤u§@¥i¥H¨Ï¥Î´¡¼ÑÅX°Êµ{¦¡¤ºªº irq_list °Ñ¼Æ³]©w¨Ó­­¨î ¥u¹ï¬Y ¨Ç´¡¼Ñ¹ê¬I¦Ó¤w¡C¨Ò¦p ``irq_list=5, 9, 10'' ·|­­¨î¥u¹ï³o ¤T­Ó´¡Â_°µ ±½´y±´´ú¦Ó¤w¡C©Ò¦³ªº PCMCIA ³]³Æ·|³Q­­¨î¥u¯à¨Ï¥Î³o´X­Ó´¡ Â_¦Ó¤w (°² ¦p¥¦­Ì²¤¹L¤F°»´ú°Ê§@ )¡C§A¥i¯à»Ý­nÀ|¸Õ´X¦¸¥¢±Ñ¨Ã¦A±µ¦A¼F ¦a¤~¯à§ä¨ì ­þ¨Ç´¡Â_¥i¥H³Q¦w¥þ¦a°»´ú¨Ï¥Îªº¡C * ´¡Â_±´´ú¤u§@¥i¥H³Q§¹¥þ¦aÃö³¬±¼¡A¦b¸ü¤J´¡¼ÑÅX°Êµ{¦¡®É¨Ï¥Î¤F ``do_scan=0'' ¿ï¶µ¡C³o»ò°µ¡A·|Åý­ì©wªº´¡Â_²M³æ³Q¨Ï¥ÎµÛ¡A¥¦­Ì¤w¸gÁ× §K¨Ï¥Î¨º¨Ç¤w¸g ³Q¨ä¥L³]³Æ©Ò¦û¥Î¤Fªº´¡Â_¡C ¥t¤@­Ó¤èªk¡A§Ú­Ì¥i¥H¨Ï¥Î¦b PCMCIA ±Ò°Ê¤â½Z¤¤«ü©w PCIC_OPTS ªº ³]©w¡A¨Ò ¦p: PCIC_OPTS="irq_list=5,9,10" 3.3 °O¾ÐÅé°»´ú¥¢±Ñ ¯gª¬: * ¥DÅX°Êµ{¦¡¦b¥d¤ù¨Ã¤£¦sµÛ®É³Q¥¿½T¦a¸ü¤J¡A¦Ó¥B¦b¨t²Î¤é»x¤º¤]¨S¦³¥ô¦ó ¿ù»~¡C * ¨t²Î·í¾÷°Ê¤£¤F©M¡þ©Î¥ô¦ó¥d¤ù´¡¤J¦ý¦b¥ô¦ó¹ÍÁnÅT°_«e´N­«·s¶}¾÷¡C ©Î¬O¡G * ¥ô¦ó¥d¤ù´¡¤J®É·|²£¥Í¤@­Ó°ª­µªº¹ÍÁn¡A±µµÛ§C¨Hªº¹ÍÁn¡C * ¥ô¦ó¥d¤ù³£³Q»~»{ ``anonymous memory cards''¡C * ¨t²Î¤é»x³ø§i»¡¦³«Ü¦hªº°O¾ÐÅé½d³ò¤w³Q±Æ°£¦b¥~¤F¡C ¥D¼Ò²Õµ{¦¡¦b²Ä¤@¦¸´¡¤J¥d¤ù¨Ï°µ¤@©w°O¾ÐÅé±½´y¡C³o­Ó°Ê§@¦³¼ç¦b¥i¯à¦a ¤z¯A ¨ì¨ä¥L°O¾ÐÅé¬M®gªº³]³Æ¡C¥t¥~¡Apre-3.0.0 ª©¥»«eªºÅX°Êµ{¦¡®M¥óÁÙ ·|°µ¤ñ²{ ¤µªºÅX°Êµ{¦¡ª©¥»§ó¶i¤@¨Bªº±½´y¡C°O¾ÐÅ鵡¬O³Q©w¸q¦b /etc/pcmcia/config.opts ¤º¡C ¹w³]ªºµ¡¤f«Ü¤j¡A©Ò¥H¥¦¥i¯à·| À°§U¨Ó­­¨î±½ ´y¨ì¸û¯¶ªº½d³ò¡C¤ñ¸û¦X²zªº½d³ò¥i¸Õ¬Ý¬Ý¥]§t¶i¥H¤Uªº¦ì§} ¡G0xd0000-0xdffff, 0xc0000-0xcffff, 0xc8000-0xcffff, ©Î 0xd8000-0xdffff¡C ¦pªG§A¦³ DOS ©Î Windows ª©ªº PCMCIA ÅX°Êµ{¦¡¡A §A´N¥i¥H you may be able to deduce what memory region those drivers use. ½Ð°O±o DOS ªº °O¾Ð Åé¦ì§}³q±`³£¨Ï¥Î `` ¬q '' ¦ì§}§Î¦¡¡A¤]´N¬O¥¦·|±N§À¤Úªº¤Q¤»¦ì¤¸ ¼Æ¦r¬Ù²¤ ±¼¡]©Ò¥H 0xd0000 ªºµ´¹ï¦ì§}´N¬O 0xd000 ¡^¡C °O±o¦b§ï /etc/pcmcia/config.opts ®É­n½T»{³o¶µ¡C 3.4 ¿ù»~¦a°»´ú¥d¤ùªº´¡¤J»P©â¥X ¯gª¬¡G * ¦b¶}¾÷¨Ï¥d¤ù¦³´¡µÛ¨Ã³Q°»´ú¨ì¥B¥¿½T¦a³Q«Øºc¤F¡C * ÅX°Êµ{¦¡¤£·|¤ÏÀ³¥X¥dª©³Q´¡¤J©Î²¾¥X¡A©Î¬O°O¿ý¦b¨t²Î¤é»x¡B©Î®É¹ÍÁnÅT ¡C ¤@¯ë¨Ó»¡¡A¥d¼ÑÅX°Êµ{¦¡ (i82365 ©Î tcic) ·|¦Û°Ê¦a°»´ú¨Ã¿ï ¾Ü¤@­Ó¾A¦Xªº´¡ Â_¨Ó¶Ç°e¥d¤ùª¬ºAªº§ó°Ê¡C ¬Y¨Ç Intel ¬Û®e±±¨î¾¹ªº¦Û°Ê ´¡Â_°»´ú¤£¯à¤u§@¡C ¥]§t Cirrus ´¹¤ù©M¸Ë¦b IBM ThinkPads ¤Wªº´¹¤ù¡C ¦pªG¦b°»´ú®É³]³ÆµLªk°_ °Ê¡A¥¦ªº´¡Â_¤]·|¬O¶¢¸mªº¡C³oºØª¬ºA¤U¡A¥d¼ÑÅX °Êµ{¦¡¤]³\·|¬D¨ì¤@­Ó¤w³Q¨ä ¥L¸Ë¸m¨Ï¥Î¤¤ªº´¡Â_¨Ó¨Ï¥Î¡C ¦b i82365 ©M tcic ªºÅX°Êµ{¦¡ùتº irq_list ¿ï¶µ¥i¥H ¥Î¨Ó­­¨î­þ¨Ç´¡Â_¥i¥H ³Q´ú¸Õªº¡C³o­Ó´¡Â_¦Cªí¥i³Q­­¨î¦¨¥u³Q PCMCIA ¥d ©Ò¨Ï¥Î©Î¥Î¨ÓºÊ±±¥d¤ùª¬ºA ªº§ïÅÜ¡C ¥t¥~ cs_irq ¿ï¶µ¥i©ú¥Õ¦a³]©w ­þ­Ó´¡Â_­n³Q¥Î¨ÓºÊ±±¥d¤ùª¬ºAªº§ï Åܪº¡C ¦pªG±zµLªk§ä¨ì¥i¥¿±`¤u§@ªº´¡Â_¸¹½X¡AÁÙ¦³¤@­Ó²¼¿ïª¬ºA¼Ò¦¡¥i¥Î¡G¤£½× ¬O i82365 ©Î tcic ³£±µ¨ü poll_interval=100 ³o¿ï¶µ¡A ¥Î¨Ó²¼¿ï¥d¤ùªº¨C¬íªº§ï Åܪ¬ºA¡C¦pªG±zªº¨t²Î¤wµu¯Ê¥i³Q PCMCIA ¥d¨Ï¥Î ªº´¡Â_®É³o­Ó¿ï¶µ¤]¥i¥H³Q¨Ï ¥Î¡C¯S§O¬O¦b¨t²Î¤º¦³¤@ºØ¥H¤Wªº PCMCIA ±± ¨î¾¹®É´N¥²¶·ª`·N³oÂI¤F¡C ©Ò¦³ªº³o¨Ç¿ï¶µ¥²¶·¦b PCIC_OPTS= ³o¦æ¨Ó³]©w¡A ¬Ý±zªº¨t²Î¬O³]¦b /etc/rc.d/rc.pcmcia ùةάO /etc/sysconfig/pcmcia ¡C 3.5 ¨â±i¥d¤§¶¡ªº¸ê·½¬Û½Ä¬ð Symptoms: * ¨â±i¥d¤ù¦b¦U¦Û¿W¦Û¨Ï¥Î®É¥i¥H¤u§@¡A * ¦ý·í¨â±i¥d¤@°_³Q´¡µÛ®É¡A«o¥u¦³¤@­Ó¥i¥H¥¿±`¤u§@¡C ³q±`³o´Nªí¥Ü¤w¸g©M¬Y­Ó Linux ¤£ª¾¹Dªº¨t²Î³]³Æ¬Û½Ä¬ð¤F¡CPCMCIA ³]³Æ ¬O³Q °ÊºA«Øºcªº¡A©Ò¥H¡A¨Ò¦p¡A´¡Â_¬O¦b³Q»Ý­n®É³Q¤À°tªº¡A¦Ó¤£¬O¯S§O³Q «ü©w¨ì¯S §Oªº¥d¤ù©Î¬O´¡¼Ñªº¡C²{¦b¦³¤@­Ó¥i¥Î¸ê·½ªº²M³æ¡A¥d¤ù·|¦b¥L­Ì ³Q«Øºc®É¨Ì§Ç ¦a³Q«ü¬£µ¹¸ê·½ªº¡C¦b³oºØª¬ªp¤U¡A³Ì«á³Q«Øºcªº¥d¤ù·|³Q«ü ¬£¨ì¤@­Ó¨Ã«D¬OªÅ ¶¢µÛªº¸ê·½¤W¤F¡C ±z¥iÀˬd¨t²Î¤é»x¦³­þ¨Ç¸ê·½³Q«D¥¿¦b¤u§@ªº¥d¤ù©Ò¦û¥ÎµÛ¡C¦b /etc/pcmcia/config.opts ùاâ³o¨Ç±Æ°£¦b¥~¡A ¦A­«·s±Ò°Ê cardmgr ºëÆF¨Ó¦A ¸ü¤J¸ê·½¸ê®Æ®w¡C 3.6 ³]³Æ«Øºc¨Ã¨S¦³§¹¦¨ ¯gª¬¡G * ·í¤@­Ó¥d¤ù³Q´¡¤J®É¡A½T¹ê¥iÅ¥¨ì¤@­Ó°ª­µªº¹ÍÁnÅT¡C * ±µ¤U¨Óªº¥d¤ù¤£ºÞ¬O´¡¤J©Î²¾¥X³£¤£³Q²z¸B¡C ³oªí¥Ü¥d¤ù¤w³Q¦¨¥\¦a¿ëµø¤F¡C¦ý¬O cardmgr ¦]¬Y¨Ç­ì¦]¤wµLªk§¹¦¨ «Øºcµ{§Ç ¡C³Ì¦³¥i¯àªº­ì¦]¬O¦b¥d¤ù³]©w¤â½Zªº¬Y¤@¨BÆJ³Q§x¦í¤F¡C·í¤@­Ó ºô¸ô¥d³Q´¡¤J ®É¨Ã¨S¦³±µ¤W¤@­Ó¥¿¬¡°Ê¤¤ªººô¸ô¤W®É¡Aºô¸ô¤â½Z³Q§x¦í¤F¡A ³o´N¬O³Ì¦nªº¨Ò¤l ¡C ­n§ä¥X°ÝÃD¥X¦b­þùØ¡A§A¥i¥H¤â°Ê°õ¦æ¤@­Ó³]©w¤â½Z¨Ó¬Ý¬Ý¥¦¬O³Q§x¦b­þ¨à ªº¡C ³o­Ó¤â½Z´N©ñ¦b /etc/pcmcia ¥Ø¿ý¤º¡C¥L­Ì·|¨Ï¥Î¤G­Ó°Ñ¼Æ ¡G³]³Æ¦WºÙ¤Î°Ê¥ó ¡C cardmgr ºë·|§â°O¿ý«Øºcªº©R¥O°O¿ý¦b¨t²Î¤é»x ¤º¡C ¨Ò¦p¡A ¦b¨t²Î¤é»x¤¤ Åã¥Ü¥X `./network ©R¥O¶}©l¤F eth0'' ¬O³Q cardmgr ³Ì«á¤@­Ó°õ¦æªº©R¥O¡A¥H ¤Uªº©R¥O·|°lÂܳo­Ó¤â½Z¡G cd /etc/pcmcia sh -x ./network start eth0 4. ¨Ï¥Î¤èªk¥H¤Î¯S¦â 4.1 ¥Î¨Ó«Øºc¥H¤ÎºÊ±± PCMCIA ³]³Æªº¤u¨ã ¦pªG©Ò¦³ªº¼Ò²Õ³£³Q¥¿½T¦a¸ü¤J¤F¡A¦b¨S¦³¥d¤ù³Q´¡¤Jªºª¬ºA¤U¡A lsmod ©R¥Oªº ¿é¥X·|¬Ý°_¨Ó¹³¥H¦Cªº¼Ë¤l¡C Module Size Used by ds 5640 2 i82365 15452 2 pcmcia_core 30012 3 [ds i82365] ¨t²Î¤é»x¤]À³¸Ó¥]§t´¡¼ÑÅX°Êµ{¦¡¹ï©ó­þ¨Ç¥D±±¨î¾¹³Qµo²{¤F¡B¦³´X­Ó´¡¼Ñ ³Q°» ´ú¨ì¤Fªº¿é¥X¡C cardmgr«ØºcºëÆF cardmgr ºëÆF­t³dºÊ±± PCMCIA ´¡¼Ñ¡A¦³»Ý­n®É¸ü¤J ¨ä¥LªºÅX°Êµ{¦¡¡A¨Ã¥B°õ¦æ ¨Ï¥ÎªÌ¶¥¼hªº¤â½Z¨Ó¤ÏÀ³¥d¤ùªº´¡¤J»P²¾¥X¡C¥¦ ·|§â¥¦ªº°Ê§@°O¿ý¦b¨t²Î¤é»x¤º ¨Ã¥Î¹ÍÁn¨Ó¦^À³¥d¤ùª¬ºAªº§ïÅÜ¡C¹ÍÁnªº­µ ½Õªí¥Ü«Øºc¨BÆJ¬O¦¨¥\ÁÙ¬O¥¢±Ñ¡C¨â ­Ó°ª­µÁnÅTªí¥Ü¨B¤ù¤w³Q¦¨¥\¦a¿ëµø»P «Øºc¤F¡C¤@°ª­µ¤@§C­µÁnÅTªí¥Ü¥d¤ù³Q¿ë µø¡A¦ý¦]¬Y¨Ç­ì¦]µLªk³Q«Øºc¡C¤@ §C­µ¹ÍÁnªí¥Ü¥d¤ùµLªk³Q¿ëµø¡C Cardmgr ·|§â¨C¤@­Ó´¡¼Ñªº³]³Æ¸ê°T°O¿ý¦b /var/run/stab ùØ¡C¥H¤U¬O /var/run/stab ªº¦Cªí¨Ò¤l¡G Socket 0: Adaptec APA-1460 SlimSCSI 0 scsi aha152x_cs 0 sda 8 0 0 scsi aha152x_cs 1 scd0 11 0 Socket 1: Serial or Modem Card 1 serial serial_cs 0 ttyS1 5 65 ¦b³o´X¦æ©Ò´y­zªº³]³Æ¤¤¡A²Ä¤@­ÓÄæ¦ìªí¥Ü´¡¼Ñ¡B²Ä¤G¬°³]³ÆÃþ§O¡B²Ä¤T¬° ÅX°Ê µ{¦¡¦WºÙ¡B²Ä¥|³Q¥Î¨Ó«ü©w¦b¦P¤@ÅX°Êµ{¦¡¤U¨Ï¥Îªº¨C­Ó³]³Æ¨ú¸¹½X¡B ²Ä¤­­Ó¬O ³]³Æ¦WºÙ¡B³Ì«á¨â­ÓÄæ¦ì¬O³o­Ó³]³Æªº¥D­n¤Î¦¸­n¸¹½X¡C¡]¦pªG¥i §ä¨ìªº¸Ü¡^ cardmgr ºëÆF¨Ì¾Ú³Q¦s¦b /etc/pcmcia/config ¤ºªº¤wª¾¤§ ¥d¤ù¸ê®Æ®w¨Ó«Øºc³o ¨Ç¥d¤ù¡C³o­ÓÀÉ®×´y­z¤F³\¦h­Ó§OªºÅX°Êµ{¦¡¡A¥H¤Î¦p ¦ó¿ëµø³\¦hªº¥d¤ù¡AÁÙ¦³ ­þ­ÓÅX°Êµ{¦¡ÄÝ©ó­þ­Ó¥d¤ùªº¡C³o­ÓÀɮתº®æ¦¡¦b pcmcia(5) ªº man ­¶ùئ³¸Ô ²Óªº¸ê®Æ¡C cardctl ¤Î cardinfo ¤½¥Îµ{¦¡ cardctl ©R¥O¥i¥H¥Î¨ÓÀˬd´¡¼Ñªºª¬ºA¡A ©Î¬Ý¥¦­Ì¬O¦p¦ó³Q«Øºcªº¡C ¥¦¤]¥i¥H ³Q¥Î¨Óĵ¥Ü¤@­Ó¥d¤ùªº«Øºcª¬ºA¡C ³o¨à¦³­Ó ``cardctl config'' ©R¥Oªº¿é¥X¨Ò ¤l¡G Socket 0: Socket 1: Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0 Card type is memory and I/O IRQ 3 is dynamic shared, level mode, enabled Speaker output is enabled Function 0: Config register base = 0x0800 Option = 0x63, status = 0x08 I/O window 1: 0x0280 to 0x02bf, auto sized I/O window 2: 0x02f8 to 0x02ff, 8 bit ``cardctl suspend'' ©M ``cardctl resume'' ¨â­Ó©R¥O¥i¥H¥Î ¨Ó¦b¤£»Ý¨ø¤U¥¦ ªº¬ÛÃöÅX°Êµ{¦¡ªºª¬ªp¤UÃö³¬¥d¤ù¡C``cardctl reset'' ©R¥O·|­«·s³]©w¤Î«Øºc ¥d¤ù¡C ``cardctl insert'' ©M ``cardctl eject'' ºNÀÀ·í¤@­Ó¹êÅ骺¥d¤ù´¡¤J ©Î©â¥X®É©Ò°µªº°Ê§@ ¡A³o¥]§t¸ü¤J©Î¨ø¤UÅX°Êµ{¦¡¥H¤Î«Øºc©ÎÃö³¬³]³Æ¡C ¦pªG±z¥¿°õ¦æ X¡A cardinfo ¤½¥Îµ{¦¡·|²£¥Í¤@­Ó¹Ï ¥Ü¨ÓÅã¥Ü©Ò¦³ªº PCMCIA ´¡ ¼Ñªº²{ªp¡A ¤º®e©M°õ¦æ ``cardctl config'' Ãþ¦ü¡C¥¦ÁÙ´£¨Ñ¨ä¥L cardctl ¥\ ¯àªº¹Ï§Î¤Æ¥\¯à¡C ´¡¤J»P©â¥X¥d¤ù ¦b²z½×¤W¡A§A¥i¥H¦b¥ô¦ó®É¶¡´¡¤J©Î²¾¥X PCMCIA ¥d¤ù¡CµM¦Ó¡A§â¥¿¦b³Q¨ä ¥Lµ{ ¦¡¨Ï¥Î¤¤ªº¥d¤ù²¾¥X¨Ó¨Ã¤£¬O­Ó¦n¥D·N¡C¦b®Ö¤ß 1.1.77 ª©¥H«eªº¨t²Î ±`·|¦b¦ê ¦C¡þ¼Æ¾Ú¾÷¥d¤ù³Q²¾¥X®É³y¦¨·í¾÷¡A¦ý²{¦b¤w¦³­×¥¿¤èªk¤F¡C ¥d¤ùªA°Èµ{¦¡»P¶i¶¥¯à·½ºÞ²z ¥d¤ùªA°Èµ{¦¡¥i¥H½sĶ¦¨¤ä´© APM ( ¶i¶¥¯à·½ºÞ²z) ¡A ¦pªG§A¤w¦w¸Ë¤F³o­Ó®M ¥ó¨ì§Aªº¨t²Î¤ºªº¸Ü¡C APM ¦b®Ö¤ß 1.3.46 ¡]§t¡^¥H«á´N³Q¾ã¦X¤F¡C ²{¦b³o®M ¥ó³Q Rick Faith (faith@cs.unc.edu) ©ÒºûÅ@¡A APM ¤u¨ã¥i¥H¥Ñ [6]ftp://ftp.cs.unc.edu/pub/users/faith/linux ®³¨ì¡C¦pªG§Aªº¨t ²Î³Q°»´ú ¥X¦³­Ó¬Û®eªºª©¥»¦bªº¸Ü¡A PCMCIA ¼Ò²Õ·|³Q¦Û°Ê¦a«Øºc¦¨¤ä´© APMM ¥\¯à¡C ¦pªG¨S¦³ÂÇµÛ APM¡A §A¥i¥H¦bÄa¸m§Aªºµ§°O¹q¸£«e°õ¦æ ``cardctl suspend''¡A ¥H¤Î¦b¦^ÂЫá°õ¦æ ``cardctl resume''¡A¤~¯à¾A·í¦aÃö ¤W©Î­«±Ò§Aªº PCMCIA ¥d¡C ³o¹ï¥¿¦b¨Ï¥Î¤¤ªº¼Æ¾Ú¾÷¨Ã¤£¾A¥Î¡A ¥Ð¦]§Ç ¦CÅX°Êµ{¦¡¨ÃµLªkÀx¦s»P¦^À³ ¼Æ¾Ú¾÷ªº¹B§@°Ñ¼Æ¡C APM ¦b¦³¨Ç¨t²Î¤W¦ü¥G¦³ÂI¤£¤Óí©w¡C ¦pªG§A¹J¨ì APM ©M PCMCIA ¦@¥Î®É ¦³¥ô ¦ó°ÝÃD¡A½Ð±z¦b´£¥Xµ{¦¡¤p¦ä³ø§i«e¥ý¸ÕµÛ§â°ÝÃD²¤Æ¡C ¦³¨ÇÅX°Êµ{¦¡¡A ¤ñ¦p»¡ PCMCIA SCSI ÅX°Êµ{¦¡¡AµLªk±qÄa¸m¡þ­«·s°Ê§@¶g ´Á¤U ¦^ÂйL¨Ó¡C ¦b¨Ï¥Î PCMCIA SCSI ¥d®É¡A ¦bÄa¸m¨t²Î«e¥ý°õ¦æ ``cardctl eject''¡C Ãö³¬ PCMCIA ¨t²Î ­n¨ø¤U¾ã­Óªº PCMCIA ®M¥ó¡A invoke rc.pcmcia with: /etc/rc.d/rc.pcmcia stop ³o­Ó¤â½Z·|ªá´X¬íÄÁ¨Ó°õ¦æ¡Aµ¹¥þ³¡ªº«È¤á¦Û­qÅX°Êµ{¦¡¨Ó§¹¬ü¦aÃö³¬ ¡C¦pªG¦³ ­Ó PCMCIA ³]³Æ¥¿³Q¨Ï¥Î¤¤¡A³o¼ËÃö¥i¯à¤£·|«Ü§¹¾ã¦aÃö³¬¡A¦³¨Ç ®Ö¤ß¼Ò²Õ¥i¯à ¤£·|³Q¨ø¤U¡C ­n¨¾¤îµo¥Í³oºØª¬ªp¡A ½Ð¦b°õ¦æ rc.pcmcia ¤§«e¨Ï¥Î ``cardctl eject'' ¨ÓÃö³¬©Ò¦³ªº´¡¼Ñ¡C cardctl ©R¥OªºÂ÷¶}ª¬ºA·|Åã¥Ü¦pªG¦³ ¥ô¦óªº´¡¼Ñ¤£¯à³QÃö³¬ªº¡C 4.2 PCMCIA«Øºc¤â½Zªº·§­n ¨C¤@­Ó PCMCIA ³]³Æ³£·|¦³­Ó¬Û¹ïÀ³ªº `` Ãþ§O '' ¨Ó´y­z¥¦À³¸Ó¦p¦ó³Q«Ø ºc»P ºÞ²zªº¡C³o¨ÇÃþ§O»P³]³ÆÅX°Êµ{¦¡³£³Q²Õ´¦b /etc/pcmcia/config ¤º¡C¥Ø«e¦@ ¦³¤­ºØ¿é¥X¿é¤J³]³ÆªºÃþ§O (ºô ¸ô¡B SCSI¡B cdrom¡BµwºÐ¥H¤Î¦ê¦C ) ¥H¤Î¤GºØ °O¾ÐÅé³]³ÆÃþ§O (°O¾ÐÅé»P FTL)¡C¦b¨C¤@­ÓÃþ§O¤¤¡A³£¦³¤G­Ó¤â½Z©ñ¦b /etc/pcmcia/config ¤º¡G¤@­Ó¥D­n«Øºc¤â½Z (¨Ò¦p¡A /etc/pcmcia/scsi ¬O SCSI ³] ³Æªº )¡A¥H¤Î¤@­Ó¿ï¶µ¤â½Z (¨Ò¦p¡A /etc/pcmcia/scsi.opts)¡C ¥D¤â ½Z¦b¥d¤ù³Q´¡¤J®É·|³Q±Ò¥Î¨Ó«Øºc¸Ó³]³Æ¡A·í¥d¤ù³Q©â¥X®ÉÃö±¼¸Ó³]³Æ ¡C¹ï©ó¤ä ´©¦hºØ³]³Æªº¥d¤ù¡A°w¹ï¦U§O¤£¦Pªº³]³Æªº¤â½Z³£·|³Q±Ò¥Î¡C ³o config ¤â½Z·|±q /var/run/stab ùظѥX¤@¨Ç¦³Ãö©ó³]³Æ¤Wªº ¸ê®Æ¶}©l¡C ¨C ¤@­Ó¤â½Z·|ºc¿v¤@­Ó `` ³]³Æ¦ì§} ''¡A¥¦¬O¿W¤@µL¤Gªº¦ì§} ¥Î¨Ó´y­z¸Ó³]³Æ¦b ADDRESS shell ÅܼƤº³Q­n¨D³Q«Øºcªº¤è¦¡¡C¥¦·| ³Q¶Ç»¼¨ì *.opts ¤â½Z¤W¡A ¸Ó¤â½Z¦A¦^À³¦³Ãö©ó¦b³o¦ì§}¤Wªº³]³ÆÀ³ ¸Ó­n«ç¼Ë¦a«Øºc¤~¥i¥Hªº¸ê°T¡C ¦³¨Ç ³]³Æ¡A ¥¦ªº³]³Æ¦ì§}´N¬O´¡¼Ñ¸¹½X¡C ÁÙ¦³¨ä¥Lªº³]³Æ¡A¥¦·|¥]§t¥t¥~ªº¦³¥Î¸ê °T¥i¥H¥Î¨Ó¨M©w¦p¦ó¨Ó«Øºc¸Ó³]³Æ ¡C¨Ò¦p¡Aºô¸ô³]³Æ·|¶Ç»¼¥L­ÌªºµwºÐ¤A¤Óºô¸ô ¦ì§}°µ¬°³]³Æ¦ì§}ªº¤@³¡¥÷¡A ¨ÓÅý network.opts ¤â½Z¯à°÷¨Ï¥Î³o¶µ¸ê°T¨Ó±q³\ ¦h¤£¦Pªº«Øºc¤¤°µ ¥¿½Tªº¿ï¾Ü¡C ©Ò¦³ªº³]³Æ¦ì§}ªº­º­n³¡¥÷¬O¥Ø«eªº PCMCIA ``scheme''¡C³o­Ó°Ñ¼Æ¬O³Q¥Î ¦b¥u ¦³¤@­Ó¥~³¡¨Ï¥ÎªÌ«ü©wÅܼƮɥΨӹï³]³Æ«Øºc¤§¦hºØ³]©wªº¡C¹ï©ó¥¦ªº À³¥Î¡A ¨Ò¦p§Ú­Ì¥i¥H¦³­Ó ``home'' scheme ¥H¤Î¤@­Ó ``work'' scheme¡A ¥¦­Ì¥]¬A¤F ¤£¦Pªººô¸ô«Øºc°Ñ¼Æªº²Õ¦X¡C ¥Ø«eªº scheme ¥i¥H¨Ï¥Î ``cardctl scheme'' ©R ¥O¨Ó°µ¿ï¾Ü¡C¦pªG¨S¦³ scheme ³Q«ü©wªº¸Ü´N ¥H¤º©w­È¨Ó³]©w¡C ¤@¯ë­ì«h¤W¡A·í­n«Øºc Linux ¦bµ§°O«¬¹q¸£¤W®É¡APCMCIA ªº³]³Æ¥u¯à³Q¸g ¥Ñ PCMCIA ³]³Æ¤â½Z¨Ó«Øºc¡C ½Ð¤£¥H¸ÕµÛ¥H«Øºc©T©w³]³Æªº¤è¦¡¨Ó«Øºc PCMCIA ³] ³Æ¡CµM¦Ó¡A¦³¨Ç Linux ¨ÑÀ³ª©°Ó´£¨Ñ¤w±µ¦b¥L­Ì¦Û¤wªº³]³Æ«Øºc ¤u¨ã¤Wªº PCMCIA ®M¥ó¡C¦b³oºØ±¡ªp¤U¡A¥H¤Uªº´X­Ó¥DÃD¥i¯àµLªk¨Ï¥Î¡A¦Ó ¨ÑÀ³ª©°ÓÀ³¸Ó ·|¦³¥L­Ì¦Û¤vªº³oÃþ¤å¥ó¡C 4.3 PCMCIA ºô¸ô¥d Linux ªº¤A¤Ó«¬ºô¸ô¥d¤¶­±³q±`³QºÙ°µ eth0¡Beth1 µ¥µ¥¡CÀô§Î ¥d¥ç¦P¼Ë¦a³Q¬Ý «Ý¡C µM¦Ó¥¦­Ì³QºÙ°µ tr0¡B tr1 µ¥µ¥¡C ifconfig ©R¥O¬O³Q¥Î¨ÓÆ[¬Ý¤Î­×§ïºô ¸ô¤¶­±ª¬ºAªº¡CLinux ªº¥t¤@¯S ÂI¬Oºô¸ô¤¶­±¨Ã¤£·|¹³¨ä¥L³]³Æ¤@¼Ë¦a³Q¬Ý¦¨¬O ¤@­Ó¦b /dev ùØ ÀYªºÀɮסC©Ò¥H¦pªG±z¦b /dev ¤º§ä¤£¨ì¥¦­Ì®É½Ð¤£­nı±oÅå³Y ¡C ·í¤@­Ó PCMCIA ¤A¤Óºô¸ô¥d³Q°»´ú¨ì®É¡A¥¦·|³Q«ü©w¬°²Ä¤@­Ó¥i¥Îªº¤¶­±¥d ¦W¦r ¡A ³q±`¬° eth0¡C Cardmgr ©R¥O·|°õ¦æ /etc/pcmcia/network ¤â½Z¨Ó«Øºc¥¦ªº ¤¶­±¡C ½Ð¤Å±N±zªº PCMCIA ¤A¤Óºô¸ô¥d«Øºc¦b /etc/rc.d/rc.inet1 ¤º ¡A¦]¬°·í³o­Ó¤â ½Z³Q°õ¦æ®É¤]³\¥d¤ù¨Ã¤£¦b´¡¼ÑùØ¡C ¦b rc.inet1 ¤º °£¤F¦^Âkªº¶µ¥Ø¤§¥~¡A ¨ä ¥¦ªº©R¥O¦C½Ð±N¥L­Ìµù¸Ñ±¼¡C ¦Ó¥t¥~­×§ï /etc/pcmcia/network.opts ¨Ó°t¦X±z ªº¥»¦aºô¸ô³]©w¡C network ©M network.opts ¤â½Z¥u¦³¦b±zªº¤A¤Óºô¸ô¥d¦s¦b®É ¤~ ·|³Q°õ¦æ¡C ¦pªG±zªº¨t²Î¦³¦Û°Êºô¸ô«Øºcµ{¦¡¡A ¥¦¤]³\¬O¤]³\¤£¬O PCMCIA-aware¡C ½Ð±q±zªº Linux ¨ÑÀ³ª©¥»ªº¤å¥ó¤¤¬d¬Ý¬Ý¬O§_ PCMCIA ºô ¸ô³] ³Æ¬O§_»Ý­n¨Ï¥Î¦Û°Ê¤Æ¤u¨ã¨Ó«Øºc©Î¥u»Ý½s¿è network.opts §Y ¥i¡C ¶Ç¨ì network.opts ªº³]³Æ¦ì§}¤¤¥]§t¤F¥|­Ó¥H³r¸¹¨Ó¤À¶}ªºÄæ¦ì¡G scheme¡B´¡ ¼Ñ¸¹½X¡B³]³Æ´£Ä³¤Î¥d¤ùµwÅ骺¤A¤Óºô¸ô¦ì§}¡C³]³Æ´£Ä³¬O¥Î¨Ó µ¹¦³³\¦hºô¸ô¤¶ ­±ªº¥d¤ù¨ú¸¹½X¤§¥Î¡A³q±`¬° 0¡C¦pªG±z¦³³\¦h¤£¦P¨Ï¥Î¥Ø ¦aªº¥d¤ù®É¡A¥t¤@«ö ·Ó´¡¼Ñ¦ì¸m¦Ó«Øºcªº¿ï¶µÀ³¸Ó³Q³]©w¡A¦p¦P¦b¡G case "$ADDRESS" in *,0,*,*) # definitions for network card in socket 0 ;; *,1,*,*) # definitions for network card in socket 1 ;; esac ©Î¬O¡A¥¦­Ì¥i¯à³Q¥H¦Û¤vªºµwÅé¦ì§}³Q«Øºc¡A¦p¤U¡G case "$ADDRESS" in *,*,*,00:80:C8:76:00:B1) # definitions for a D-Link card ;; *,*,*,08:00:5A:44:80:01) # definitions for an IBM card esac ºô¸ô³]³Æ°Ñ¼Æ ¥H¤Uªº°Ñ¼Æ¥i¦b network.opts¤º³Q¨Ï¥Î¡G IF_PORT «ü©w¤A¤Óºô¸ô¦¬µo¾¹Ãþ«¬¡A ³o¬O°w¹ï¨º¨ÇµLªk¦Û°Ê°»´úªº¥d¨Ï¥Î¡C ½Ð¬Ý ``man ifport'' ¤º¦³¦¬µo¾¹¦WºÙ¡C BOOTP ¥¬ªL (y/n) ³]©w¡G ªí¥Ü¬O§_¥D¾÷ªº IP ¦ì§}©M¤À¸ô¸ê°T¬O§_¥i¥H¸g¥Ñ BOOTP ¨ó©w¨ÓÀò¨ú¡C IPADDR «ü©wIP¦ì§}¡C NETMASK, BROADCAST, NETWORK °ò¥»ºô¸ô°Ñ¼Æ¡G ½Ð°Ñ¾\ networking HOWTO GATEWAY µ¹¥D¾÷ªº¤lºô¸ô¨Ï¥Îªº³q°T¹h IP ¦ì§}¡C¥u­n¬O¦b³o­Ó¤lºô¸ô¥H¥~ªº«Ê¥] ³£ ·|³QÂà¨ì³o­Ó¹h¹D¡C DOMAIN µ¹¥D¾÷ªººô¸ô domain name¡A³Q¥Î¨Ó«Ø¥ß /etc/resolv.conf¡C DNS_1, DNS_2, DNS_3 ¥D¾÷¦WºÙ©Î¬O IP ¦ì§}µ¹³o­Ó¤¶­±ªº nameservers¡A ³Q¥[¨ì /etc/resolv.conf¤º¡C MOUNTS A µ¹³o­Ó¤¶­±¨Ï¥Î¨Ó°µ NFS ±¾¤JÂIªº¦Cªí¡C IPX_FRAME, IPX_NETNUM ¹ï IPX ºô¸ô: frame type ¤Îºô¸ô¸¹½X±N³Q¶Ç¿é¨ì ipx_interface ©R¥O ¤W¡C ¨Ò¦p¡G case "$ADDRESS" in *,*,*,*) IF_PORT="10base2" BOOTP="n" IPADDR="10.0.0.1" NETMASK="255.255.255.0" NETWORK="10.0.0.0" BROADCAST="10.0.0.255" GATEWAY="10.0.0.1" DOMAIN="domain.org" DNS_1="dns1.domain.org" ;; esac ­Y·Q¦Û°Ê±¾¤W©Î¨ø¤Uºô¸ôÀɮרt²Î¡A­º¥ý±NÀɮרt²Î¥[¨ì /etc/fstab ¤º¡A¦b±¾ ¤W¿ï¶µ¤W¥[¤W noauto¡C ¦b network.opts ¤º ¨Ï¥Î MOUNTS ÅܼƦC©úÀɮרt²Îªº ±¾¤JÂI¡C ³o¯S§O¬O¦b¨Ï¥Î cardctl ©Î cardinfo ©R¥O¨ÓÃö³¬·íºô¸ôÀɮרt²Î¬O ¥Î³o­Ó¤èªk «Øºc¦Ó±¾¤Wªººô¸ô¥d®É¡C¦pªG¦b¨S¹wĵ¤Uºô¸ô¥d³Q²¾¥X®É¡A¬OµLªk§¹ ¥þ¦a¨ø ¤Uºô¸ôÀɮרt²Îªº¡C °£¤F¤@¯ëªººô¸ô«Øºc°Ñ¼Æ¤§¥~¡Anetwork.opts ¤â½Z¥i¥Î¨Ó¦b¤¶­±¤w¸g ³Q«Øºc°_ «á©Î³QÃö³¬«á°µ¥t¥~ªº°Ê§@®É¨Ï¥Î¡C ¦pªG network.opts ©w ¸q¤F¤@­Ó¥s start_fn ªº©R¥O¼h¥\¯à©I¥s¡A ·í¤¶­±³Q«Øºc«á¥¦·|³Qºô ¸ô¤â½Z©Ò±Ò¥Î¡A¦Ó¤¶­± ¦WºÙ±N·|³Q¶Ç°e¨ì³o­Ó¥\¯à¨ç¼Æ°µ¬°²Ä¤@­Ó°Ñ¼Æ¡]¤] ¥u¦³³o­Ó¡^¡C¬Û¦P¦a¡A¦pªG stop_fn ³Q©w¸q¤F¡A¨º»ò¥¦·|¦bÃö³¬¤@­Ó ¤¶­±«e³Q±Ò¥Î¡C ¦¬µo¾¹Ãþ«¬¥i¥H¥Î IF_PORT ¨Ó³]©w¡C¥¦¥i¥H¬O PCMCIA ¤§«eª©¥»ªº¼Æ ­Èªí¥Ü©Î ¬OÃѧO¦¬µo¾¹ªºÃöÁä¦r¡C©Ò¦³ªººô¸ôÅX°Êµ{¦¡¾¨¥i¯à±N¥¦³]©w¬°¦Û °Ê°»´ú¡]¦pªG ¥i¯àªº¸Ü¡^¤¶­±©Î¬O 10baseT ªº¡C ifport ©R¥O¥i¥Î¨Ó Àˬd©Î³]©w¥Ø«eªº¦¬µo ¾¹Ãþ«¬¡A¨Ò¦p¡G # ifport eth0 10base2 # # ifport eth0 eth0 2 (10base2) ¥Ø«eªº 3c589 ÅX°Êµ{¦¡ª©¥»·|¦Û°Ê°»´úºô¸ôªº³sµ²¡A ¦ýÁÙµLªk§¹¥þµo´§¥¦ ªº¥\ ¯à¡C­Y·Q¥H¦Û°Ê°»´ú¨Ó¤u§@¡A¦bºô¸ô¥d³Q«Øºc«eºô¸ô½uÀ³¸Ó¬O¤w³s±µµÛ ºô¸ô¥d¤W ªº¡C­n¤£µM¡Aµ¥ºô¸ô±µ¦n«á¡A±z¥i¥H¤U¦C©R¥O­¢¨ÏÅX°Êµ{¦¡Àˬd³s µ²¡G ifconfig eth0 down up ¯S©w¥d¤ùªºµû»y * ¨Ï¥Î IBM CCAE ©M Socket EA ¥d¦bºô¸ô³]³Æ³Q«Øºc®É¡A ±z»Ý¬D­Ó±µ¦¬¾¹Ãþ «¬ (10base2¡B10baseT¡BAUI)¡A¨Ã½T»{¦b±zªº¨t²Î¤é»x¤W©Ò°O¿ýªº±µ¦¬¾¹»P ±z©Ò³sµ²ªº¬Û¦P¡C * µ¹ SMC¡BMegahertz¡B Ositech ¤Î 3Com ¥d¤ùªºÅX°Êµ{¦¡À³¸Ó·|¦Û°Ê°»´ú³s ±µµÛªººô¸ôÃþ«¬ (10base2 ©Î 10baseT) ¡C ·íÅX°Êµ{¦¡³Q¸ü¤J®É·|³] ©w¦¬ µo¾¹Ãþ«¬¨Ó­q©w¸q¥d¤ùªº ``²Ä¤@¦¸²q·Q''¡C * Farallon EtherWave ¨Æ¹ê¤W¬O©M 3Com 3c589 ¬Û¦Pªº¡A ¦ý¦³­Ó¯S®íªº¦¬µo ¾¹¡C ÁöµM EtherWave ¨Ï¥Î 10baseT Ãþªº³s±µ¤è¦¡¡A ¦ý¥¦ªº¦¬µo¾¹»Ý­n§â 3c589 «Øºc¦¨ 10base2 ¼Ò¦¡¡C * ¦pªG±z¨Ï¥Î IBM CCAE¡BNE4100¡B Thomas Conrad ©Î Kingston ¤¶­±¥d®É¹J ¨ì°ÝÃD¡A ½Ð¸ÕµÛ¦b pcnet_cs ¼Ò²Õ¤ºªº mem_speed=# ¿ï¶µ ¼W¥[°O¾ÐÅé¦s¨ú ®É¶¡¡C¦b¼Ð·Çªº config.opts Àɮפº¦³­Ó±Ð§A¦p¦ó°µ ªº½d¨Ò¡C½Ð¸Õ¬Ý¬Ý³t «×¦b 1000 ns(©`¬í)¥H¤W¡C * New Media ¤A¤Óºô¸ô¥d¦b±µ¨ì¬Y¨Ç¨t²Î¤W®É¡A¥i¯à»Ý­n¦b pcmcia_core ¼Ò²Õ ³Q¸ü¤J®É¡A ¥H io_speed=# ¿ï¶µ¨Ó¼W¥[ IO °ðªº¦s¨ú®É¶¡¡C ¦b±Ò°Ê¤â½Zªº CORE_OPTS ¿ï¶µ¥i¥H³]©w¥¦¡C * New Media ¤A¤Óºô¸ô¥dÅX°Êµ{¦¡ªº¦h¤u¶Ç¼½¤ä´©¨Ã¤£§¹¾ã¡C³Ì·sªºÅX°Êµ{¦¡ ª©¥»¥i»P¦h¤u¶Ç¼½®Ö¤ß¤@°_¨Ï¥Î¡A¦ý·|²¤¹L¦h¤u¶Ç¼½«Ê¥]¡C¤£³W«h¼Ò¦¡À³¸Ó ¥i¥H¤u§@¥¿±`¤F¡C * µ¹ IBM ¤Î 3Com token ring ¥dªºÅX°Êµ{¦¡¦b¥d¤ù©|¥¼±µ¤W¤@­Ó ring ¤W®É ´N°µªì©l¤Æ¬O·|¦³ÂI°ÝÃD¡C©Ò¥H½Ð¤@©w°O±o¦b¶}¾÷«e¤@©w­n§â³o¨Ç¥d¤ù©M ºô ¸ô³s±µ¦b¤@°_¡C ³o­ÓÅX°Êµ{¦¡¤]»Ý­nªÅ¸mªº IO °ð¦b 0xa20-0xa27 ½d³ò ¤º ¡C¦b¦³¨Ç¨t²Î¤W¡A¦Û°Ê IO °ð½Ä¬ðÀˬd¾¹·|¿ù»~¦a§P©w»¡³o­Ó°ð½d³ò¨Ã¤£ ¬O ªÅ¸mªº¡C ¹J¨ì³oºØ±¡ªp¡A §Ú­Ì¥i¥H§â°ðÀˬd¾¹µ¹Ãö³¬±¼¡C ¥u­n¦b ¸ü¤J pcmcia_core ¼Ò²Õ®É³]©w probe_io=0§Y¥i¡C * Newer Linksys ¤Î D-Link ªº¥d¤ù¦³­Ó¯S®íªº¿ï¾Ü¦¬µo¾¹¤è¦¡¡A¥Ø«eÁÙ¤£³Q Linux ªºÅX°Êµ{¦¡©Ò¯à±±¨î¡C ¥u¦³¤@­ÓÅܳqªº¤èªk¬O¥H DOS ¶}¾÷¨Ã¨Ï¥Î¼t °Ó©Ò¥Iªº¤½¥Îµ{¦¡¨Ó¿ï¾Ü¦¬µo¾¹«á¡A¦A·x¶}¾÷¶i¨ì Linux ùØ¡C §Ú²{¦b¤]¥¿ ¦b´M§ä­º¦¸ªº´ú¸ÕªÌ¨Ï¥Î Linux ªº¤½¥Îµ{¦¡¨Ó°µ¨ì³o¨Ç¥\¯à¡C * ¹ï WaveLAN µL½uºô¸ô¥d¨Ó»¡¡AJean Tourrilhes (jt@hplb.hpl.hp.com) ¼g ¤F¤@½gµL½uªº (³]³Æ ) wireless HOWTO ©ñ¦b [7]http: //www-uk.hpl.hp.com/people/jt/Linux/Wavelan.html ¤º¡C ¶EÂ_ºô¸ô¥dªº°ÝÃD * ±zªº¥d¤ù¦³³Q¿ëµø¦¨¤A¤Óºô¸ô¥d¶Ü? ½Ð¬d¬Ý¨t²Î¤é»x¨Ã½T»{ cardmgr ¤w¥¿½T ¦a¿ëµø¤F³o±i¥d¡A¦Ó¥B¤w±Ò°Ê¤F¤@ºØºô¸ôÅX°Êµ{¦¡¤F¡C¦pªG¨S¦³¡A±z ªº¥d¤ù ¤]¥i¯àÁÙ¬O¥i¥H¨Ï¥Î¡A¥u­n¥¦»P¥ô¤@ºØ³Q¤ä´©ªº¥d¤ù¬Û®eªº¸Ü¡C¥u­n ¬O³o¥d ¤ù¬O»P NE2000 ¬Û®eªº¥d¤ù³£¥i¥H°µ¨ì¡C * ¥d¤ù¦³§´·í¦a³Q«Øºc¤F¶Ü? ¦pªG§A¨Ï¥Îªº¬O³Q¤ä´©ªº¥d¤ù¡A ¦Ó¥B¥¦¤w³Q cardmgr©Ò¿ëµø¤F¡A¦ý¥¦ÁÙ¬OµLªk¤u§@¡A³o¥i¯à¬O¦]¬°¥¦»P¨ä¥Lªº³]³Æ µo¥Í ´¡Â_©Î°ðªº½Ä¬ð¤F¡C½Ð¬d©ú³o±i¥d¤ù¨Ï¥Î¤F¶Ü¨Ç¸ê·½ (±q¨t²Î¤é»xùاä )¡A µM«á¸ÕµÛ¦b /etc/pcmcia/config.opts ¤º§â³o¨Çµ¹±Æ°£±¼¨Ó ­¢¨Ï¥d¤ù¨Ï¥Î ¨ä¥Lªº¸ê·½¡C * ¦pªG§Aªº¥d¤ù¦ü¥G¤w§´·í¦a«Øºc¤F¡A¦ý¦³®É­ÔÁÙ¬O·|Âꦺ¤£¯à°Ê¡A¤×¨ä¬O¦b °ª­t¸ü®É¡A§A¥i¯à»Ý­n¸ÕµÛ§ïÅܧAªº´¡¼ÑÅX°Êµ{¦¡ªº¤À®É°Ñ¼Æ¡C¸Ô²Ó¸ê®Æ½Ð ¬Ý [8]2.3 ³o³¹¡C * ·í§A¦b¦s¨úºô¸ô¨Ï¹J¨ì¹³ ``network unreachable'' ³oÃþªº°T®§¡A ¥i¯à¬O §A¦b /etc/pcmcia/network.opts ¦³³]©w¿ù»~ªº¦a¤è¡C ¥t¥~¡A¿ù »~¦a«Øºc ªº¥d¤ù³q±`·|¦wÀR¦aµo¥Í°ÝÃD¡C * ­n¶E¬d¦b /etc/pcmcia/network.opts ¤ºªº¿ù»~¡A ¶}©l½Ð¥ý¸ÕµÛ ¥H¥¦­Ìªº IP ¦ì§}¨Ó ping ¦P¤@¦¸ºô¸ôªº¨ä¥L¨t²Î¡CµM«á¸ÕµÛ ping §Aªº¹h ¹D¡AµM«á ¨ä¥L¦¸ºô¸ô¤º¾÷¾¹¡C¦b¸Õ§¹³o¨Ç¸û²³æªº´ú¸Õ«á¡A¦A¥H¾÷¾¹ªº¦W¦r ¨Ó Ping ¡C * ½Ð­n½T»{§Aªº°ÝÃD¯uªº­Ó PCMCIA ªº°ÝÃD¡C §A¥i¥H¦b DOS ¤U¥H¼t°Ó¨ÑÀ³ ªº ÅX°Êµ{¦¡¨ÓÅX°Ê¬Ý¬Ý¬O§_¥i¥H¤u§@¡A³o¼Ë±N¦³§U©ó§PÂ_¡C¨Ã¦A¦¸½ÆÀ˧A¹ï /etc/pcmcia/network.opts ¤â½Z¤ºªº¥ô¦ó­×§ï¡C¨Ã½T»{§AªºÆl½u ¡B``T'' ±µÀY¡B²×ºÝ¹qªý¾¹µ¥µ¥ªº¤¸¥ó³£¥i¥¿±`¤u§@¡C 4.4 PCMCIA ¦ê¦C»P¼Æ¾Ú¾÷³]³Æ Linux ªº¦ê¦C³]³Æ³£¬O³Q¸g¥Ñ /dev/cua* ©M /dev/ttyS* ¯S®í³]³ÆÀɮרӰµ¨ú¥Î ¡C ttyS* ªº³]³Æ³Q¨Ï¥Î¦b¶i¨Óªº³s±µ¡A¨Ò¦pª½ ±µ¦a³s±µ²×ºÝ¾÷¡Ccua* ªº³]³Æ³Q ¨Ï¥Î¦b©¹¥~ªº³s±µ¡A¤ñ¦p»¡¼Æ¾Ú¾÷¡C ¦Ó¨C¤@­Ó¹êÅé¦ê¦C°ð³£¦U¦³ ttyS ©M cua ¨â­Ó³]³ÆÀÉ¡G ­n¨Ï¥Î ­þ­Ó¾A·íªº³]³Æ¨ì§AªºÀ³¥Î¤W³£¥Ñ±z¨Ó¨M©w¡C ¹ï©ó¦ê¦C³]³Æªº«Øºc¡A±z¥i¨Ï¥Î setserial ©R¥O¨ÓÀˬd»P­×§ï¡C ·í¤@­Ó PCMCIA ¦ê¦C¥d©Î¼Æ¾Ú¥d³Q°»´ú¨ì®É¡A¥¦·|³Q«ü©w¦¨¬°²Ä¤@­Ó¥i¥Îªº ¦ê¦C ³]³Æ¡C³q±`¬O /dev/ttyS1 (cua1) ©Î /dev/ttyS2 (cua2) ¡A³o§¹¦¨¬Ý­ì¤w¤º«Ø ªº¦ê¦C°ð¼Æ¥Ø¡C ttyS* ³]³Æ·|³Q ³ø§i¦b /var/run/stab ¤º¡C ­ì¤º©wªº¦ê¦C³] ³Æ¿ï¶µ¤â½Z /etc/pcmcia/serial.opts ·|±N¤§³sµ²¨ì¬Û¹ïÀ³ªº cua* ³] ³ÆÀÉ®× ¦¨¬° /dev/modem¡C³o¼Ë´N«Ü«K§Q¤F¡C ½Ð¤Å¨Ï¥Î /etc/rc.d/rc.serial ¨Ó«Øºc PCMCIA ¼Æ¾Ú¾÷¡C³o­Ó¤â ½ZÀ³¸Ó¥u¯à³Q ¥Î¨Ó«Øºc¨º¨Ç«D¥i²¾°Êªº³]³Æ¡C¦pªG§A·Q­n³]©w§Aªº¼Æ¾Ú¾÷¨Ó °µ¥ô¦ó¯S§Oªº°Ê§@ ®É¡A½Ð­×§ï /etc/pcmcia/serial.opts ³o­Ó¤â ½Z¡C ¥t¥~¡A ¤]½Ð¤Å¨Ï¥Î setserial ¨Ó§ïÅÜ PCMCIA ¦ê¦C³]³Æªº³]³Æ IO °ð©M´¡Â_³]©w¡C ³o¼Ë°µ¥u·|§i¶D ¦ê¦CÅX°Êµ{¦¡¨ì¤£¹ïªº¦a¤è´M§ä¦ê¦C³] ³Æ¡A¦ý¤£·|§ïÅÜ¥d¤ùµwÅé¤è­±¯u¥¿³Q«Øºc ªº¨Æ¹ê¡C¦ê¦C«Øºc¤â½Z¤¹³\±z«ü©w ¨ä¥Lªº setserial ¿ï¶µ¡A ¥H¤Î¬O§_±z¸Ó¦b /etc/inittab ¤º¬°³o­Ó°ð¥[¤@¦æ³]©w¡C §Ö¶Ç°e¨ì serial.opts ªº³]³Æ¦ì§}¦@¦³¤T­Ó¥Ñ³rÂI©Ò¤À¶}ªºÄæ¦ì¡G²Ä ¤@¬O scheme¡B ²Ä¤G¬O´¡¼Ñ¸¹½X¥H¤Î²Ä¬O device instance¡C The device instance ·|¬°¤ä´©¦h¦ê¦C°ðªº¥d¿ï¥Î¦h­Ó¼Æ¾Ú¡A¦ý¹ï©ó³æ¤@°ð¥d¨Ó»¡¡A ¥¦ ¥Ã»·³£¬O¹s¡C ¦pªG§A±`¨Ï¥Î¤£¥u¤@­Óªº PCMCIAl ¼Æ¾Ú¾÷¡A§A¥i¯à»Ý­n°w¹ï ¦U§O´¡¼Ñ¤ºªº¼Æ¾Ú ¾÷°µ¤£¦Pªº³]©w¡C¦p¤U¡G case "$ADDRESS" in *,0,*) # Options for modem in socket 0 LINK=/dev/modem0 ;; *,1,*) # Options for modem in socket 1 LINK=/dev/modem1 ;; esac ¦pªG PCMCIA ¼Æ¾Ú¥d¦b Linux ±Ò°Ê®É§Y³Q«Øºc¦n¤F¡A ¨º¥¦¥i¯à¤w³Q¿ù»~¦a ³Q¿ë ÃѦ¨¬°¤@¯ëªº¤º«Ø¦ê¦C°ð¤F¡C³oÁöµMµL®`³B¡A¦ý¬O¡A·í PCMCIA ÅX°Êµ{ ¦¡±µ¤â¨Ó ±±¨î¼Æ¾Ú¾÷®É¡A ¥¦·|³Q«ü¬£¦¨¤£¤@¼Ëªº³]³Æ´¡¤Õ¡C ³Ì¦n¬O parse /var/run/stab ©Î¨Ï¥Î /dev/modem¡A ¦Ó¤£¬O´Á±æ PCMCIA ¼Æ¾Ú¾÷Á`¬O³Q«ü¬£¦¨ ¬Û¦Pªº³]³Æ¡C ¦pªG§A«Øºc§Aªº®Ö¤ß¨Ó¸ü¤J°ò¥»ªº Linux ¦ê¦C°ðÅX°Êµ{¦¡¦¨¬°¤@­Ó¼Ò²Õ¡A §A¥² ¶·½s­× /etc/pcmcia/config ¨Ó«ü¥X¸Ó¼Ò²Õ¥²¶·³Q¸ü¤J¡C ½s ­×¦ê¦C³]³Æ¨º¦C¦p ¤U¡G device "serial_cs" class "serial" module "misc/serial", "serial_cs" ¦ê¦C¸Ë¸m°Ñ¼Æ ¥H¤Uªº°Ñ¼Æ¥i¥HÓ³ serial.opts¤º³Q©w¸q¡G LINK ¬°²Å¸¹³sµ² (symbolic link)«ü©w­Ó­n³Q«Ø¥ßªº¸ô®| ``dialout'' ©Î¬O /dev/cua* ³]³Æ¡C SERIAL_OPTS «ü©w¦³­þ¨Ç¿ï¶µ±N³Q¶Ç°e¨ì setserial ©R¥O¡C INITTAB ¦pªG¦³«ü©wªº¸Ü¡A¥¦±N³Q¥Î¨Ó¦b inittab ¤¤¬°¸Ó³]³Æ«Ø¥ß¤@­Ó±ø¥Ø¡C ¨Ò¦p¡G case "$ADDRESS" in *,*,*,*) LINK="/dev/modem" SERIAL_OPTS="" INITTAB="/sbin/getty" ¶EÂ_¦ê¦C³]³Æªº°ÝÃD * ±zªº¥d³Q»{¬°¬O­Ó¼Æ¾Ú¾÷¶Ü? ½ÐÀˬd¨t²Î¤é»x¨Ã½T»{ cardmgr ¦³¥¿½T ¦a¿ë ÃѤF³o±i¥d¡A¨Ã¥B±Ò°Ê¤F serial_cs ÅX°Êµ{¦¡¡C¦pªG¨S¦³¡A§A¥i ¯à»Ý­n¦b §Aªº /etc/pcmcia/config Àɮפ¤¥[¤J¤@±øÀ³¸Ó³Q¾A·í ¦a¿ëÃѪº±ø¥Ø¡C²Ó¸` ½Ð¬Ý³¹¸` [9]3.6¡C * ¼Æ¾Ú¥d¦¨¥\¦a³Q serial_cs ©Ò«Øºc¤F¶Ü? ¦A¨Ó¤@¦¸¡A ½ÐÀˬd¨t²Î¤é»x¡A¦A ¬Ý¬Ý±q serial_cs ÅX°Êµ{¦¡©Ò¥X¨Óªº°T®§¡C ¦pªG§A¬Ý¨ì ``register_serial() failed''¡A §A¥i¯à¹J¨ì¤F I/O °ð»P¨ä¥L³]³Æ¬Û½Ä¬ð ¤F¡C ¥t¥~¤@­Ó±¡³ø¬O¡A ¦pªG³o­Ó³]³Æ³Q³ø§i»¡¬O­Ó 8250; ¤j³¡¥÷²{¦bªº PCMCIA ¼Æ¾Ú¥dÀ³¸Ó¬O³Q¿ëµø¦¨ 16550A UART Ãþ«¬ªº¡C¦pªG±zı±o¹J¤W¤F¤@ ­Ó°ð½Ä¬ð¤F¡A½Ð½s­× /etc/pcmcia/config.opts §â³Q°t¸mµ¹¼Æ¾Ú ¥dªº°ð½d ³òµ¹±Æ°£¡C * ¹J¤W¤F´¡Â_½Ä¬ð¶Ü? ¦pªG¨t²Î¤é»x¬Ý¦ü«Ü¦n¡A¦ý¼Æ¾Ú¥d´N¬O¦n¹³¤£¯à¤u§@¡A ½Ð¸Õ¸Õ¥Î setserial ¨Ó§â irq §ï¦¨ 0¡A ¦A¬Ý¬Ý¼Æ¾Ú¾÷¬O§_¥i¥H¤u§@ ¤F¡C ³o¼Ë·|Åý¦ê¦CÅX°Êµ{¦¡¨Ï¥Î¤@­ÓºC¤@¨Çªº²¼¿ï¼Ò¦¡¦Ó¤£¨Ï¥Î´¡Â_¨Ó¤u§@ ¡C¦p ªG³o¼Ë¥i¥H­×¥¿³o­Ó°ÝÃD¡A¨º´N¬O¦b§Aªº¨t²Î¤¤¦³¬Y­Ó¨ä¥Lªº³]³Æ¨Ï¥Î ¤F³Q serial_cs ©Ò¿ï¥Îªº´¡Â_¦b¤u§@µÛ¡C§AÀ³¸Ó¦b /etc/pcmcia/config.opts ¤¤ ¥[¤@¦æ©R¥O±N³o­Ó´¡Â_µ¹±Æ°£±¼¡C * ¦pªG¼Æ¾Ú¾÷¦n¹³¥u¯àºCºC¦a¤u§@¡A³o´N«Ü©úÅã¦a¬O­Ó´¡Â_½Ä¬ðªº°ÝÃD¤F¡C * ½Ð½T»{§A©Ò¹J¨ìªº°ÝÃD¯uªº¬O­Ó PCMCIA ªº°ÝÃD¡C¨Ï¥Î­ì¼t°ÓªºÅX°Êµ{¦¡¦b DOS ¤U¬Ý¬Ý¬O§_¥i¥H¥¿±`¤u§@§Y¥iª¾¹D¡C¥t¥~¡A¦b§A¤w½T©w§A¥i¥H°µÂ²³æªº ³s±µ«e¡A½Ð¤£­n¨Ï¥Î§ó½ÆÂøªº¤è¦¡¨Ó´ú¸Õ¡A¤ñ¦p»¡ SLIP ©Î PPP¡C¦pªG²³æ ªº³s±µ¥¿±`¦ý¨Ï¥Î SLIP ®É«o¤£¬O¡A§Aªº°ÝÃDÀ³¸Ó´N¬O¥X¦b SLIP ¤W¡A¦Ó¤£ ¬O PCMCIA¡C * ¦pªG§A±o¨ìµo¦Û®Ö¤ßªº°T®§«ü¥X serial_cs ¼Ò²ÕµLªk³Q¸ü¤J¡C ¨º´Nªí¥Ü§A ªº®Ö¤ß¨Ã¤£¤ä´©¦ê¦C³]³Æ¡C¦pªG§A¤w±N¦ê¦CÅX°Êµ{¦¡½sĶ¦¨¤@­Ó¼Ò²Õ¤F¡A§A ¥²¶·­×§ï /etc/pcmcia/config ¨ÓÅý serial ¼Ò²ÕÀ³¸Ó ¦b¸ü¤J serial_cs «e´N³Q¸ü¤J¤F¡C 4.5 PCMCIA SCSI¥d ¥Ø«e©Ò¦³³Q¤ä´©ªº PCMCIA SCSI ¥d³£¤u§@ªº¹³¤U¦Cªº ISA ¶×¬y±Æ¥dªº¼Ë¤l ¡G Qlogic¡BAdaptec AHA-152X ©Î¬O Future Domain TMC-16x0¡CPCMCIA ÅX °Êµ{¦¡ ³Q«Ø¥ß¦¨»P PCMCIA ¯S§Oµ{¦¡½X¬Û³sµ² (¦p qlogic_cs.c¡B toaster_cs.c ©Î fdomain_cs.c) ¥H¤Î¥¿±`ªº Linux SCSI ÅX°Ê µ{¦¡¡C ·í¤@­Ó·sªº SCSI ¥D¥d³Q°»´ú¨ì®É¡A SCSI ÅX°Êµ{¦¡·|´M§ä³s±µµÛªº³]³Æ¡C ½ÐÀË ¬d¨t²Î¤é»x§Aªº³]³Æ³Q¥¿½T¦a°»´ú¨ì¤F¡C·sªº SCSI ³]³Æ·|³Q«ü©w¬°²Ä ¤@­Ó¥i¥Î ªº SCSI ³]³ÆÀÉ¡C²Ä¤@­Ó SCSI µwºÐ¬O /dev/sda¡A²Ä¤@ ­Ó SCSI ºÏ±a¾÷¬O /dev/st0¡A ÁÙ¦³¡A ²Ä¤@­Ó CD-ROM ·|¬O /dev/scd0¡C ¦b 1.3.X (§t ) ¥H«áªº®Ö¤ßùØ¡APCMCIA ®Ö¤ßÅX°Êµ{¦¡¥i¥H±q¨t²Î®Ö¤ß¤¤§ä ¥X¦³ ­þ¨Ç SCSI ³]³Æ¦³³s±µ¦b¤¶­±¥d¤W¡C¥¦­Ì·|³Q¦Cªí¦b /var/run/stab ¡A ¦Ó SCSI ºc«Ø¤â½Z /etc/pcmcia/scsi ¤]·|³Q¨C¤@­Ó³s±µµÛªº ³]³Æ©Ò©I¥s¨Ó«Øºc©Î Ãö³¬¸Ó³]³Æ¡C¤º©wªº¤â½Z¨Ã¤£·|°µ¥ô¦ó«Øºc SCSI ³]³Æ ªº°Ê§@¡A¦ý¥¦·|§´·í¦a¦b ¤¶­±¥d³Q²¾¨«®É¨ø¤U¦b SCSI ³]³Æ¤WÀɮרt²Î¡C ¦b 1.2.X ®Ö¤ßùØ¡APCMCIA ÅX°Êµ{¦¡µLªk¦Û°Ê¦a±À´ú­þ­Ó³]³Æ³Q¦w¸Ë¦b­þ­Ó ¯S©w ªº SCSI ¤¶­±¥d¤W¡CµM¦Ó¡A¦pªG§A¦³¤@­Ó¥¿±`ªº SCSI ³]³Æ¤§«Øºc¡A§A ¥i¥H±N³o ¨Ç³]³Æ¦C©ú¦b /etc/pcmcia/scsi.opts ¤¤¡C¨Ò¦p¡A¦pªG §A¥¿±`³£¦³­Ó SCSI ºÏ ºÐ¥H¤Î¤@­Ó CD-ROM¡A§A¥i¥H¨Ï¥Î¥H¤U¡G # For 1.2 kernels: list of attached devices SCSI_DEVICES="sda scd0" ³Q¶Ç¨ì /mnt/initrd «Ø¥ß¤@­Ó¥]§t¤U­±¤º®eªº /mnt/etc/lilo.conf ÀÉ®×: boot=/dev/fd0 compact image=/vmlinuz label=linux initrd=/initrd read-only root=/dev/sda1 ³Ì«á¡A°õ¦æ lilo ¦p¤U: lilo -r /mnt ·í lilo ³Q°õ¦æ®É°t¦X¨Ï¥Î -r ¿ï¶µ¡A¥¦·|°µ©Ò¦³»P³Q«ü©wªº®Ú ¥Ø¿ýªº¬ÛÃö°Ê§@ ¡C ¦b /mnt/dev ùثإ߳]³ÆÀɮתº²z¥Ñ¬O¡A ·í¥¦¬O¦b´À¥Nªº®Ú¥Ø¿ý¼Ò¦¡¤U lilo ¨ÃµLªk¨Ï¥Î¦b /dev ¤º ªºÀɮסC ¦w¸Ë initrd ¬M¶HÀɨì«DLinux ºÏºÐ¤º initrd ¥\¯à¤@¯ë³£¨Ï¥Î¦b·í¤º³¡ªºµwºÐ¾÷³Q¤À¬£µ¹¨ä¥Lªº§@·~¨t²Î¨Ï¥Î®É ¡C Linux ®Ö¤ß¥H¤Î initrd ¬M¹³ÀÉ¥i¥H³Q©ñ¦b«D Linux ªººÏ°Ï¤À³Î¤º¡A ¦Ó¥B lilo ©Î¬O LOADLIN ¥i¥H³Q³]©w¥Ñ³o¨Ç¬M¹³ÀɨӶ}±Ò Linux ¨t²Î¡C °²³]§A¦³­Ó¤w³Q«Øºc¦n¦X¾Aªº®Ú³]³Æ¡A¥B initrd ¬M¹³ÀɳQ«Ø¥ß¦b¥t¥~ªº¨t ²Î¤W ¤F¡A±Ò°Ê Linux ¨t²Îªº³Ì®e©ö¤èªk¬O¨Ï¥Î LOADLIN¡A¦p¤U: LOADLIN initrd= ¤@¥¹§A¥i¥H¦b§Aªº¥Ø¼Ð¾÷¾¹¤W±Ò°Ê Linux¡A §A´N¥i¥H¦w¸Ë lilo ¨Ó¤¹ ³\ª½±µ¦a ±Ò°Ê Linux ¤F¡C ¨Ò¦p¡A°²³] /dev/hda1 ¬O­Ó«D Linux ªº¥Ø¼ÐºÏ°Ï¤À³Î¡A¥B /mnt ¥i¥H³Q¥Î°µ¬°±¾¤JÂI¡C ­º¥ý¡A¦b¥Ø¼Ð ºÏ°Ï¤À³Î¤W«Ø¥ß¤@­Ó©ñ Linux ÀÉ®× ªº¤l¥Ø¿ý: mount /dev/hda1 /mnt mkdir /mnt/linux cp [kernel-image] /mnt/linux/vmlinuz cp [initrd-image] /mnt/linux/initrd ¦b³o­Ó¨Ò¤l¤¤¡A °²³] /dev/sda1 ¬O§Ú­Ì­n°µ¬° Linux ®Ú¤À³Îªº ºÏºÐ¡A ¥¦¬O­Ó ¸g¥Ñ PCMCIA SCSI ¥d©Ò±¾¤Wªº SCSI µwºÐ¾÷¡C ­n¦w¸Ë lilo¡A½Ð«Ø¥ß¤@­Ó¦³¥H¤U ¤º®eªº lilo.conf ÀÉ: boot=/dev/hda map=/mnt/linux/map compact image=/mnt/linux/vmlinuz label=linux root=/dev/sda1 initrd=/mnt/linux/initrd read-only other=/dev/hda1 table=/dev/hda label=windows ¦b boot= ³o¦æùØ»¡­n¦b«ü©wªº³]³Æ¤§¥D¶}¾÷°O¿ý MBR( master boot record) ùØ ¦w¸Ë¶}¾÷¸ü¤Jµ{¦¡¡C root= ³o¦æ«ü¥X¦b¸ü¤J initrd ¬M¹³ ÀÉ«á»Ý­n¨Ï¥Îªº®ÚÀÉ ®×¨t²Î¡A¦pªG®Ö¤ß¬M¹³ÀÉùؤw³o»ò«Øºc¤F¨º´N¤£»Ý³o»ò °µ¤F¡C ¦b other= ¨º¦æ ¬O¥Î¨Ó´y­z»¡¦³¨ä¥Lªº§@·~¨t²Î³Q¦w¸Ë¦b /dev/hda1 ùØ¡C ­n¦w¸Ë³o­Ó¨Ò¤lùتº lilo ¡A¨Ï¥Î: lilo -C lilo.conf °O±o¦b³o­Ó®×¤lùØ¡Alilo.conf ÀɮרϥΤF¥]¬A /mnt ¦b¤º ªºµ´¹ï¦ì§}¡C§Ú¥Î³o ­Ó¨Ò¤lªº­ì¦]¬O¥Ø¼ÐÀɮרt²Î¨Ã¤£¤@©w¤ä´©¨Ï¥Î boot= ©M root= ¿ï¶µ¨Ó«Ø¥ß Linux ³]³ÆÀɮתº«Ø¥ß¡C 6. ¨Ï¥Î¥¼³Q¤ä´©ªº¥d¤ù 6.1 «ØºcµLªk³Q¿ëµøªº¥d¤ù ²{¦b§Ú­Ì°²³]§Aªº¥d¤ù¤w³Q²{¦³ªºÅX°Êµ{¦¡©Ò¤ä´©¡A§Ú­Ì©Ò»Ý­n°µªº¬O¦b /etc/pcmcia/config ¤¤¥[¤J¤@­Ó±ø¥Ø¨Ó§i¶D cardmgr ¦p¦ó ¨Ó¿ëµø³o±i¥d¡A­þ¨Ç ÅX°Êµ{¦¡»Ý­n³sµ²¨ì³o±i¥d¤ù¤W¡C«ØºcÀɮתº®æ¦¡²Ó¸` ½Ð¬d¬Ý pcmcia ªº man ­¶¡C ¦pªG§A´¡¤J¤@±i¤£³Q»{±oªº¥d¤ù¡A cardmgr ¥¿±`¨Ó»¡·|°O¿ý¤@¨Ç¿ëµø¸ê°T ¨ì¨t²Î¤é»x¤W¡A §Ú­Ì¥i¥H§Q¥Î ³o¨Ç¸ê°T¨Ó«Ø³y¥¦ªº«Øºc±ø¥Ø¡C ¥H¤U¬O­Ó cardmgr ¦p¦ó±N¥¼¤ä´©¥dªº³ø§i¨ì /usr/adm/messages ¤ºªº¨Ò¤l¡C cardmgr[460]: unsupported card in socket 1 cardmgr[460]: version info: "MEGAHERTZ", "XJ2288", "V.34 PCMCIA MODEM" ¬Û¹ïÀ³¨ì/etc/pcmcia/config ªº±ø¥Ø¥i¥H¬O: card "Megahertz XJ2288 V.34 Fax Modem" version "MEGAHERTZ", "XJ2288", "V.34 PCMCIA MODEM" bind "serial_cs" §A¥i¥H¨Ï¥Î ``*'' ¨Ó¥N´À¤£¾å±oªº¦r¦ê¡A¹³ª©¥»¸¹½X°Õ¡C ·í§A¼g·sªº«Øºc ±ø¥Ø ®É¡A½Ð¤p¤ß¦a§â§¹¾ãªº¦r¦ê«þ¨©¹L¥h¡A«O«ù­ì¦³ªº¤j¤p¼gÅé¥H¤ÎªÅ¥Õ¦r ¤¸¡CÁÙ¦³ ¡A½Ð½T»{«Øºc±ø¥Ø»P³Q³ø§i¨ì¤é»xÀÉ®×ùتº¸ê®Æ¦³¦P¼Ë¼Æ¥Øªº¦r¦ê ¡C ½Ð¨c°O±z´X¥G¥i¥H«ü©w¥ô¦óªºÅX°Êµ{¦¡µ¹¤@±i¥d¨Ï¥Î¡A¦ý¦pªG§A¥u¬O­J¶Ã¦a ¶Ã§Ë ¡A¨Ã¤£¬O­Ó«Ü¦³¥Í²£®Ä²vªº§@ªk¡C§A¤]¥i¯à«Ü©¯¹B¦aµo²{²{¦³ªºÅX°Êµ{ ¦¡¤w¤ä´© ¤F§Aªº¥d¤ù¡CµM¦Ó¡A¤j³¡¥÷ªºµ²ªG¬O¨º¨ÇÅX°Êµ{¦¡¨ÃµLªk¤u§@¡A¤] ¦³¥i¯à·|²£¥Í Ãä»Ú®ÄÀ³¹³Âꦺ§Aªº¨t²Î¤F¡C¤£¹³¤@¯ëªº³]³ÆÅX°Êµ{¦¡¥u±´´ú ¾A·íªº¥d¤ù¡A±´´ú PCMCIA ³]³Æªº¤u§@¬O¥Ñ cardmgr ©Ò°õ¦æ¡AÅX°Êµ{ ¦¡¥»¨­¦b¸ÕµÛ»P³]³Æ·¾³q«e¨Ã ¤£·|°µÔ£»ò½T»{°Ê§@ªº¡C ¦b½s­× /etc/pcmcia/config ¤§«á¡A §A¥i¥H·t¥Ü cardmgr ­«·s¸ü¤J¸ÓÀɮסA¨Ï ¥Î: kill -HUP `cat /var/run/cardmgr.pid` ¦pªG§A³]©w¦n¤F¤@±i·sªº¥d¤ù¡A½Ð±H¤@¥÷³]©wµ¹§Ú¡A³o¼Ë¤l§Ú´N¥i¥H§â¥¦¥] §t¶i ¼Ð·Ç«ØºcÀÉ®×ùØ¡C 6.2 ¼W¦C¹ï NE2000¬Û®e¤A¤Óºô¸ô¥dªº¤ä´© ­º¥ý¡A ¥ý¬d¬Ý¬Ý³o±i¥d¬O§_¤w³Q cardmgr ©Ò¿ëÃÑ¡C ¦³¨Ç¨S¦³³Q¦C¦b SUPPORTED.CARDS ¤ºªº¥d¤ù¨Æ¹ê¤W¬O¦³¨Ç³Q¤ä´©ªº¥dªº OEM ª©¥»¡C¦p ªG§Aµo²{ ¤F¹³³o¼Ëªº¥d¤ù¡A½ÐÅý§Úª¾¹D¡A³o¼Ë¤~¯à§â¥¦¥[¨ì¦Cªí¤º¡C ¦pªG§Aªº¥d¤ù¨S³Q¿ë§O¨ì¡A ½Ð¨Ì·Ó [10]3.6 ¤º ªº¨BÆJ¬°§Aªº¥d¤ù«Ø¥ß¤@­Ó«Øºc ±ø¥Ø¡A¨Ã§â³o±i¥d¤ù³sô¤W pcnet_cs ÅX°Êµ{¦¡¡C ­«·s°õ¦æ cardmgr §Y¥i¨Ï¥Î ³Q§ó·sªº«ØºcÀɮפF¡C ¦pªG pcnet_cs ÅX°Êµ{¦¡»¡¥¦µLªk¨M©w§Aªº¥d¤ù¤§µwÅé¤A¤Óºô¸ô¦ì§} ¡A¨º»ò½Ð½s ­×§Aªº·s«Øºc±ø¥Ø±N³o±i¥d¤ù³sô¤W°O¾ÐÅé¥d¤ùÅX°Êµ{¦¡ memory_cs ¤W¡C ­«·s °õ¦æ cardmgr §Y¥i¨Ï¥Î³Q§ó·sªº«ØºcÀÉ®× ¤F¡C§A»Ý­nª¾¹D§Aªº¥d¤ùªºµwÅé¤A¤Ó ºô¸ô¦ì§}ªº­È¡C³o­Ó¦ì§}¬O­Ó¥H¤G­Ó¤Q ¤»¦ì¤¸¦r¤¸¸¹½X©Ò±Æ¦¨ªº¤»­Ó¼Æ¦r¡A³q±` ¥¦·|³Q¦L¦b¥d¤ù¤W¡C¦pªG¥¦¨S¦³¦L ¦b¥d¤ù¤W¡A§A¥i¥H¨Ï¥Î DOS ªºÅX°Êµ{¦¡¨ÓÅ㠥ܳo­Ó¦ì§}¡C ¥u­n§A¤@ª¾¹D³o ­Ó­È¡A½Ð°õ¦æ: dd if=/dev/mem0a count=20 | od -Ax -t x1 µM«á´M§ä§Aªº¦ì§}¤§¿é¥X¡C¥u¦³°¸¼Æ¦ì¤¸²Õ³Q©w¸q¤F¡A¦]¦¹¥i¥H©¿²¤¶É¦L¸ê ®Æ¤º ªº©_¼Æ¦ì¤¸²Õ¡C°O¤U¦ì§}ªº²Ä¤@­Ó¦ì¤¸²Õªº¤Q¤»¦ì¤¸¦ì²¾¡C²{¦b¡A½s­× modules/pcnet_cs.c ¨Ã´M§ä hw_info ºc³y¡C§A»Ý­n¬°§Aªº ¥d¤ù«Ø¥ß¤@­Ó·sªº±ø ¥Ø¡C²Ä¤@­ÓÄæ¦ì´N¬O°O¾ÐÅé¦ì²¾¡C±µµÛªº¤T­ÓÄæ¦ì´N²Ä µwÅé¦ì§}ªº«e¤T­Ó¦ì¤¸²Õ ¡C³Ì«á¤@Äæ¦ì§t¦³¥d¤ùªº¯S§O¥\¯àªººX¼Ð; ¶}©l®É ½Ð¸ÕµÛ±N¥¦³]¬° 0¡C ½s­×§¹ pcnet_cs.c «á¡A ½sĶ»P¦w¸Ë·sªº¼Ò²Õ¡C ¦A¦¸­×§ï /etc/pcmcia/config¡A µM«á§ïÅÜ¥d¤ùªº³sô±q memory_cs ´«¦¨ pcnet_cs¡C¶¶µÛ «ü¥Ü­«·s¸ü¤J«ØºcÀɮ׫á´N§¹¦¨¤F¡C½Ð±z±Hµ¹§Ú ¤@¥÷§Aªº·shw_info ÀÉ®×¥H¤Î«Ø ºcªº±ø¥Ø¤º®e¡C ¦pªG§A¨S¦³¦b¤Q¤»¶i¦ì¶É¦L¤º§ä¨ì§Aªº¥d¤ùªºµwÅé¦ì§}¡C³Ì«áªº¤@­Ó¤èªk¡A ·í pcnet_cs ¼Ò²Õªì©l¤Æ®É·Q­n ``hard-wire( µwÅé±µ¦X )'' ¬O¦³¥i ¯àªº¡C½Ð½s­× /etc/pcmcia/config.opts ¨Ã¥[¤J hw_addr= ¿ï¶µ¡A¹³³o¼Ë: module "pcnet_cs" opts "hw_addr=0x00,0x80,0xc8,0x01,0x02,0x03" ¦b¾A©yªº¦a¤è¥N´«±¼§A¦Û¤vªº¥d¤ù¤§µwÅé¦ì§}¡C·íµM¡A½Ð¤p¤ß¦pªG§A¤w¸g°µ ¤F¨º »ò¦h¤F¡A¨º§Aªº¥d¤ù´N¤£¤Ó¹³¬O­Ó NE2000 ¬Û®e¥d¤F¡C¨Æ¹ê¤W¡A§Ú¨Ã¤£ ½T©w¬O§_ ¦³ ¥ô¦ó ¥d¤ù¦b¸g¹L¤F«e­±¨âºØ¤èªk¤§¤@«áÁÙ¤£¯à¥Îªº¤F ¡C 6.3 PCMCIA ³nºÐ¾÷¤¶­±¥d ¦b Compaq Aero ¤Î¤Ö¼Æ¤@¨Çµ§°O«¬¹q¸£©Ò¨Ï¥Îªº PCMCIA ³nºÐ¾÷¤¶­±¥d¥Ø «e©| ¥¼³Q¤ä´©¡C ¥D­n»Ùê¦b©ó Aero ¦ü¥G¨Ï¥Î¦Û­qªº PCMCIA ±±¨î¾¹¨Ó¨Ï DMA ¤ä´© ³nºÐ¾÷¡C¦b¤£¾å±o³o¬O¦p¦ó¿ì¨ìªº±¡ªp¤U¡A§Ú­Ì´NµLªk§ä¥X¸Ñ¨Mªº ¤èªk¡C ¦pªG¦b Aero ³Q¶}±Ò®É³nºÐ¾÷¤¶­±¥d¬O´¡µÛªº¡A Aero ªº BIOS ´N·|«Øºc¸Ó ¥d¡A ¦¹®É Linux ·|§â¥¦µø¬°¤@¯ëªº³nºÐ¾÷¡C·í Linux ªº PCMCIA ÅX°Êµ{¦¡ ³Q¸ü¤J®É ¡A ¥¦­Ì·|¬d¹î¨ì³o¥d¤w³Q«Øºc¨Ã¤wªþµÛ¦b Linux ªºÅX°Êµ{¦¡¤W¡A ¦Ó³o´¡¼Ñ¤]·| ³Q©¿²¤¤£ºÞ¤F¡C©Ò¥H¡A¦pªG¦b¶}¾÷®É¥d¤ù§Y´¡µÛ¤F¨º´N¥i¥H¨Ï ¥Î¡A¦ý¥¦¤£¨ã³Æ¼ö ¾÷¥æ´«ªº¥\¯à¡C 6.4 ¤ä´© Xircom ¥d¨ì©³«ç»ò¤F¡H ¦b¥Ø«eªº PCMCIA ®M¥ó¤¤¦³§t¤F¤@­Ó¥j´© Xircom ¤A¤Óºô¸ô¤Î¤A¤Óºô¸ô / ¼Æ¾Ú¾÷ ªºÅX°Êµ{¦¡¡C ³o­n·PÁ Werner Koch ¥ý¥Í¡C§Ú¦³³]¥ß¤@­Ó±Mªù°Q½× Xircom ÅX °Êµ{¦¡½×ôΪº¶W´CÅé·s»D¡A¦b [11]http://hyper.stanford.edu/hypernews/get/pcmcia/xircom.html¡C ¥H«e Xircom ¥d¨Ã¨S³Q¤ä´©¬O¦]¬° Xircom ¤½¥q¦³¤£¯à¬ªÅS¥L­Ìªº¥d¤ù¤§§Þ ³N¸ê °T¡C«á¨Ó¡A¥L­Ì©ñÃP³o¨Ç³W©w¡A²{¦b¥D°Ê´£¨ÑÅX°Êµ{¦¡ªº¸ê°T¡C 7. °£¿ù¤p§Þ¥©¤Îµ{¦¡³]­p¸ê°T 7.1 ´£¥X¦³¥Îªº¤p¦ä³ø§i ´£¥X¤p¦ä³ø§iªº³Ì¦nªº¤èªk¬O¨Ï¥Î¦b Linux PCMCIA ¸ê°T¯¸ªº¶W´CÅé·s»D°T ®§¦C ªí¡C³o¼Ë¥iÅý¨ä¥L¤Hª¾¹D³Ì·sªº°ÝÃD¦³­þ¨Ç (¨Ã­×§ï©Î§ïÅܤèªk )¡C³o ¨à¬O¤p¦ä ³ø§i¤ºÀ³Åý¦³ªº¸ê®Æ¡G * ±zªº¨t²ÎÃþ«¬¡A¥H¤Î probe ©R¥Oªº¿é¥X°T®§¡C * ±z¨Ï¥Î­þ¨Ç PCMCIA ¥d¡C * ±zªº Linux ®Ö¤ßµ{¦¡ª©¥»¤Î PCMCIA ÅX°Êµ{¦¡ª©¥»¡C * ±z¹ï /etc/pcmcia ÀÉ©Î PCMCIA ±Ò°Ê¤â½Z©Ò°µªº§ïÅÜ¡C * ¦b¨t²Î¤é»xÀɤº©Ò¦³»P PCMCIA ¦³Ãöªº°T®§¡C ©Ò¦³ªº PCMCIA µ{¦¡¼Ò²Õ©M cardmgr ºëÆF©Ò¶Ç¨ì¨t²Î¤é»xÀɪº°T®§¡C ³q±`¬° /var/log/messages ©Î /usr/adm/messages¡C ·í°lÂܤ@­Ó°ÝÃD®É³oÀ³¸Ó®É²Ä¤@­Ó ­n¹î¬Ýªº¦a¤è¡C·í±z´£¥X¤p¦ä³ø§i®É½Ð³s ¦P¥]¬A³o­ÓÀɮסC ¦pªG±z¦b§ä¨t²Î°T ®§¦³¥ô¦ó°ÝÃD®É¡A ½ÐÀˬd /etc/syslogd.conf ¨Ó¬Ý¦³­þ¨Ç¤£¦Pªº°T®§Ãþ§O³Q³B ²z¤F¡C ¦b´£¥X¤p¦ä³ø§i«e¡A½Ð±zÀˬd¤@¤U½T»{±z¨Ï¥Îªº¬O³Ì·sª©ªºÅX°Êµ{¦¡®M¥ó¡C ¦pªG ¯à¥ý¬Ý¤w³Q§Ú§ï¥¿°£¿ù«áªº³ø§iªº¸Ü·|Åý¤Hµyµy°ª¿³¤@¤U¡A¤£µM´N¦³ÂI ¨S«Ø³]©Ê ¦a¶d­t§Úªº¤ß¦å¤F¡C ¦pªG§Aªº°ÝÃD¬O®Ö¤ßªº³¡¥÷¡A±q¿ù»~ªº¦a¤è¤§¿ù»~¶É¦L¥u¦³§A¯à°÷°lÁa¿ù»~ ¦ì§} ¡Ð EIP ¤~¦³¥Î¡C ¦pªG¿ù»~¬O¦b¥D­n®Ö¤ß¤º¡A¬Ý¬Ý¦b System.map ¤ºªº¦ì§}¡A§ä ¥X¿ù»~ªº¥\¯à¨ç¼Æ¡C¦pªG¥X¿ùªº¦a¤è¬O¦b¥i¸ü¤J¦¡¼Ò²Õ¤º¡A¨º »ò´N«ÜÃø°lÁa¤F¡C ¨Ï¥Î¥Ø«eªº¼Ò²Õ¤u¨ã ``ksyms -m'' ·|´£¥X¤@¥÷¨C ¤@­Ó¥i¸ü¤J¼Ò²Õªº°ò¦ì§}¡C¿ï ¨ú¥]§t¤F EIP ¦ì§}ªº¼Ò²Õ¡AµM«á§â EIP ´î±¼ °ò¦ì§}§Y¥iÀò±o¼Ò²Õ¤ºªº¦ì²¾¡C µM«á¡A °õ¦æ gdb ¦b¸Ó¼Ò²Õ¤W¡A¨Ï¥Î list ©R¥O§ä¨ì¦ì²¾¡C ³o¶µ¥\¯à¥u¦³¦b§A¦³ ¨Ï¥Î -g ¿ï¶µ¦b½sĶ ¸Ó¼Ò²Õ®É¥[¤J¤F°£¿ù¸ê°Tªº¥\¯à¡C ¦pªG§A¨S¦³¨Ï¥Îºô¸ô¡A¤p¦ä³ø§i¤]¥i¥H±H¨ì dhinds@hyper.stanford.edu ¨Óµ¹§Ú ¡A§Ú¸û§Æ±æ§A¯à§â¤p¦ä³ø§i¶K¨ì§Úªººô¯¸¤W¡A³o¼Ë¤l¨ä¥L¤H¤]³£¥i¥H ¬Ý¨ì¡C 7.2 §C¶¥ PCMCIA °£¿ù»²§U PCMCIA ¼Ò²Õ§t¦³³\¦h±ø¥ó½sĶªº°£¿ù½X¡C ¤j³¡¥÷ªº³o¨Ç½X³£¦b«e¸m³B²z¾¹ PCMCIA_DEBUG ©w¸qªº±±¨î¤U¡C¦pªG¥¦¨S³Q©w¸q¡A°£¿ù½X´N¤£·|³Q½sĶ ¡C¦pªG³] ©w¦ì 0¡A±±¨î½X·|³Q½sĶ¶i¤J¦ý¤£·|³Q±Ò¥Î¡C·U¤jªº¼Æ¦r«ü©w·|ÅÜ ±o§ó¤¾ªø¤F¡C ¥H PCMCIA_DEBUG ©w¸q¨Ó«Ø¥ßªº¼Ò²Õ³£·|¦³­Ó¾ã¼Æ°Ñ¼Æ pc_debug¡A¥¦·|±±¨î¥¦ªº ¿é¥X¤§¦h¹è¡C ³o¥i¥H¦b¼Ò²Õ³Q¸ü¤J®É¥[¥H½Õ ¾ã¡A¦b¤£»Ý­«·s½sĶ¤U¨Ï±o¿é¥X¥i ¥H³Q±±¨î¦¨¥H¨C­Ó¼Ò²Õ¬°³æ¦ì¤F¡C ¦b PCMCIA ¨ÑÀ³ª©¤ºªº debug_tools/ ¤l¥Ø¿ý¤º¦³¤@¨Ç°£¿ùªº¤u ¨ã¡C dump_tcic ©M dump_i365 ¨â­Ó¤½¥Îµ{¦¡·|²£¥Í PCMCIA ±± ¨î¾¹ªº§¹¾ã¼È¦s¾¹ªº ¶É¦L¡A¨Ã¥B±N³\¦h¼È¦s¾¹¸ê°Tªº¸Ñ½X¡C¦pªG§A¦³¹ï¬ÛÃö ªº±±¨î´¹¤ù°µ¦s¨úªº¸Ü¡A ³o¨Ç¸ê°T³Ì³Ì¦³¥Îªº¤F¡C dump_tuples ¤½¥Îµ{¦¡¦C¥X¤F¥d¤ùªº CIS (¥d¤ù¸ê°Tµ² ºc )¡A¨Ã±N¤@¨Ç¸û­«­nªº¸ê®Æ¸Ñ½X ¥X¨Ó¡C dump_cisreg ¤½¥Îµ{¦¡Åã¥Ü¥d¤ùªº¥» ¦aºÝ«Øºc¼È¦s¾¹(local configuration registers)¸ê®Æ¡C ¦³®É­Ô memory_cs °O¾ÐÅé¥dÅX°Êµ{¦¡¥Î¨Ó°£¿ù«Ü¦n¥Î¡C¥¦¥i¥H»P¥ô¦ó ªº PCMCIA ¥d¬Û³s±µ¡A¦Ó¥B¤£·|¤zÂZ¨ì¨ä¥LªºÅX°Êµ{¦¡¡C¥¦¥i¥H³Q¥Î¨Ó¹ï¥ô ¦ó¥d¤ù ªºÄÝ©Ê°O¾ÐÅé©Î³q¥Î°O¾ÐÅ骺ª½±µ¦s¨ú¡C 7.3 ¬°·s¥d¤ù¼g¥d¤ùªA°ÈÅX°Êµ{¦¡ Linux PCMCIA µ{¦¡³]­p®v«ü¤Þ¬O Linux PCMCIA ¤¶­±ªº³Ì¦n¤å¥ó¡C ³Ì·sªº ª©¥» §A³£¥i¥H±q hyper.stanford.edu ªº /pub/pcmcia/doc ¥Ø¿ý¤º©Î¬O¦bºô¯¸ [12]http://hyper.stanford.edu/HyperNews/get/pcmcia/home.html ¤º§ä¨ì¡C ¹ï©ó¨º¨Ç±µªñ©ó¤@¯ëªº ISA ¤¶­±³]³Æ¨Ó»¡¡A §A¤]³\¥i¥H¨Ï¥Î¤w¦s¦bªº Linux ÅX °Êµ{¦¡¨ÓÅX°Ê¡C¦³®É­Ô¡A³Ì¤jªº»Ùê¬O­×§ï¤@­Ó¤w¦s¦bªºÅX°Êµ{¦¡ ¨Ï¥¦¥i¥H¦b¶} ¾÷«á³B²z¥[¤J©Î²¾¥X³]³Æ¡C¦b²{¦æªºÅX°Êµ{¦¡¤¤¡A¥u¦³°O¾ÐÅé ¥d¬O°ß¤@ `` ¦Û§Ú ¥]§tªº '' ÅX°Êµ{¦¡¡Ð¨Ã¤£¨Ì¿à Linux ªº®Ö¤ßªº¨ä¥L³¡ ¥÷¨Ó°µ­W¤u¡C ¦b«Ü¦h¨Ò¤l¤¤¡A­n¤ä´©¤@±i·s¥dªº³Ì¤j»Ùê¦b©ó±q¥¦ªº»s³yª©¨º¨à±o¨ì§Þ³N ¸ê°T ¡C ­nª¾¹D°Ý½Ö¤~¹ï©Î¬O¸ÑÄÀ­þ¨Ç¸ê°T¬O¥²»Ýªº¤]«ÜÃø¡C µM¦Ó¡A ¥u¦³¤Ö¼Æ¨Ò¤l¥~ ¡A¦b¨S¦³±q»s³y¼t±o¨ì§Þ³N¸ê°Tªº±¡ªp¤U­n¼g­Ó¸Ó¥dªºÅX°Ê µ{¦¡´X¥G«ÜÃø¡C §Ú¼g¤F¤@­Ó§t¤F³Æµù¨Ó¸Ñ»¡³\¦h¦³Ãö¤@­ÓÅX°Êµ{¦¡¦p¦ó»P Card ªA°Èµ{¦¡¬Û Äé³q ªº¬[ºcÅX°Êµ{¦¡¡C §A¥i¥H¦b PCMCIA ­ì©lÀɮתº modules/skeleton.c ¤º§ä¨ì¡C 7.4 µ¹ PCMCIA «È¤á¦Û©wÅX°Êµ{¦¡ªº§@ªÌªº«ü¤Þ §Ú¨M©w­Y­n¨ÑÀ³©Ò¦³ªº PCMCIA «È¤áºÝÅX°Êµ{¦¡¨Ó¦¨¬° PCMCIA ®M¥óªº¤@³¡ ¥÷ªº ¸Ü¡A³o¼Ë¨Ã¤£¾A¦X§Ú¡C¨C¤@­Ó·sªºÅX°Êµ{¦¡³£·|Åý¥D­n®M¥óº¥º¥¦aÃø¥H ¨ÓºûÅ@¡C ¦Ó¥B¥]§tªº³o¨ÇÅX°Êµ{¦¡¤]·|¤£½Ð¦Û¨Ó¦a±NºûÅ@ªº¤u§@±q§@ªÌ¨º¨à Âಾ¨ì§Úªº¨­ ¤W¡C¦]¦¹¡A§Ú·|°ò©ó¨Ï¥ÎªÌªº»Ý¨D¥H¤Î¥iºûÅ@©Ê¨Ó¥H­Ó®×ªº¤è ¦¡¨M©w¬O§_­n¥]§t ­þ¨Ç¨ÑÀ³ªºÅX°Êµ{¦¡¡C¹ï©ó¨º¨Ç¤£³Q¥]§t¦b®Ö¤ß®M¸ËªºÅX °Êµ{¦¡¡A§Ú«Øij³o¨ÇÅX °Êµ{¦¡ªº§@ªÌ¥i¥H¨Ï¥Î¤U­±ªº¤è®×¨Ó¥´¥]±zªºÅX°Êµ{ ¦¡§@¬°¨ÑÀ³¥Î¡C ÅX°Êµ{¦¡ªºÀÉ®×À³¸Ó³Q¦w±Æ©ñ¦b»P PCMCIA ¨Ó·½¨ÑÀ³ª©°Óªº¬Û¦P¥Ø¿ýµ²ºc¤U ¡A¦p ¦¹¡AÅX°Êµ{¦¡´N¥i³Q¸Ñ¶}¨ì§¹¾ãªº PCMCIA ­ì©lµ{¦¡¾ðªº¤W­±¤F¡C¤@­Ó ÅX°Êµ{¦¡ À³¸Ó¥]§t­ì©lµ{¦¡ÀÉ®× (¦b ./modules/)¡A man ­¶ (¦b ./man/)¡A«ØºcÀÉ®× (¦b ./etc/)¡C ¦b³Ì¤W¼hªº¥Ø¿ý¤º ¤]À³¸Ó¦³­Ó README Ū§ÚÀɮסC ³Ì¤W¼h¥Ø¿ý¤]À³¸Ó¥]§t¤@­Ó makefile¡A¥¦¬O¤@­Ó²Õ¦X¥Î¨Ó°õ¦æ ``make -f ... all'' ¥H¤Î ``make -f... install'' ½sĶÅX°Êµ{¦¡¨Ã¦w¸Ë ¾A·íªºÀɮסC¦pªG³o ­Ó makefile ¦³­Ó .mk ªþ¥[ÀɦW¡A¨º»ò¥¦·|¦Û°Ê ¦a³Q¤W¼hªº Makefile ©R¥O¥[ ¤W all ¥H¤Î install ¥Ø¼Ð ¦a®É¨Ó°õ¦æ¡C ¥H¤U¬O¤@­Ó makefile ¦p¦ó³Q«Ø¥ßªº¨Ò¤l¡G # Sample Makefile for contributed client driver FILES = sample_cs.mk README.sample_cs \ modules/sample_cs.c modules/sample_cs.h \ etc/sample etc/sample.opts man/sample_cs.4 all: $(MAKE) -C modules MODULES=sample_cs.o install: $(MAKE) -C modules install-modules MODULES=sample_cs.o $(MAKE) -C etc install-clients CLIENTS=sample $(MAKE) -C man install-man4 MAN4=sample_cs.4 dist: tar czvf sample_cs.tar.gz $(FILES) ³o­Ó makefile ¨Ï¥Î 2.9.10 ª©¥»¡]§t¡^¥H«áªº PCMCIA ®M¸Ëµ{¦¡©Ò©w¸qªº ¦w¸Ë ¥Ø¼Ð¦a¡C¥¦ÁÙ¥]§t¤F¤@­Ó ``dist'' ¥Ø¼Ð¦a¨Óµ¹ÅX°Êµ{¦¡ªº§@ªÌ¤è«K©Ê ¡C §A¤] ³\·Q­n¥[¤Wª©¥»½s¸¹¨ì³Ì«áªº®M¸ËÀɦW¤W¡C (¨Ò¦p¡A sample_cs-1.5.tar.gz)¡C ¤@­Ó§¹¾ã¨ÑÀ³ª©¥i¥H¦p¤U¡G sample_cs.mk README.sample_cs modules/sample_cs.c modules/sample_cs.h etc/sample etc/sample.opts man/sample_cs.4 ¥H³o¼Ëªº¦w±Æ¡A·í¨ÑÀ³ª©¥»ÅX°Êµ{¦¡³Q¸Ñ¶}®É¡A¥¦·|Åܬ° PCMCIA ­ì©lµ{¦¡ ¾ðªº ¥²­n¦¨­û¡C³o¼Ë¥¦´N¥i¥H¨Ï¥Î PCMCIA ÀÉÀYÀÉ®×¥H¤ÎÀˬd¨Ï¥ÎªÌ¨t²Î«Ø ºcªº¾÷¯à ¡B¦Û°Ê¬ÛÃö©ÊÀˬd¡A´N¹³¬O­Ó `` ¤@¯ëªº '' «È¤áºÝÅX°Êµ{¦¡¤@¼Ë ¡C §Ú±µ¨ü¨º¨Ç¨Ì·Ó³o­Ó³W®æ©Ò·Ç³Æªº«È¤áºÝÅX°Êµ{¦¡±N¥¦­Ì©ñ¦b§Úªº FTP ÀÉ ®×¶Ç ¿é¯¸ hyper.stanford.edu ªº /pub/pcmcia/contrib ¥Ø¿ý¤º¡C¦b³o­Ó¥Ø¿ý¤ºªº README ÀÉ®×·|­z©ú¦p¦ó¸Ñ¶}¨ÑÀ³ªºÅX°Êµ{¦¡¡C PCMCIA «È¤áºÝÅX°Êµ{¦¡¤¶­±¤@ª½¥H¨Ó³£¨S¦³Åܰʫܦh¡A ¨Ã¥BÁÙ³£¦³«O¯d¦V «á¬Û ®eªº¥\¯à¡C¤@«È¤áºÝÅX°Êµ{¦¡¨Ã¤£»Ý¦b¥D­nªº PCMCIA ®M¥ó¤p³¡¥÷ªº§ï ª©®É´N±o ¤É¯Å¤@¦¸¡C§Ú¤]·|¸ÕµÛ³qª¾¨º¨Ç¨ÑÀ³ÅX°Êµ{¦¡ªº§@ªÌ¹ï©ó¥L­ÌªºÅX °Êµ{¦¡»Ý­n§ó °Êªº¦a¤è¡C 7.5 µ¹ Linux ¨ÑÀ³ª©¥»ºûÅ@¤H­ûªº¾É¤Þ ¦pªG±z¨Ï¥Îªº¨ÑÀ³°Óª©¥»´£¨Ñ¨t²Î«Øºc¤u¨ãµ{¦¡¨Ï±z¶·ª`·N PCMCIA ³¡¥÷¡A ½Ð¨Ï ¥Î¦b /etc/pcmcia ¤ºªº *.opts Àɮרӡ¨±¾¤W¡¨ ¨º¨Ç¥\¯à¡C¦pªG¨Ï¥ÎªÌ½sĶ¤Î ¦w¸Ë·sª©ªº PCMCIA ®M¥ó®É¥¦­Ì±N¤£·|³Q§ó°Ê ¡C¦pªG±z­×§ï¤F¥D«Øºc¤â½Z«á¦A¦w ¸Ë­Ó·sªº PCMCIA ®M¥ó®É¡A³o±N·|®¨®¨¦a §â±z¤w¦Û­qªº¤â½Zµ¹Âл\¦Ó¤¤Â_±z¤§«e »P«Øºc¤u¨ã¶¡ªº³s±µ¡C¦pªG±z¤£¾å±o «ç»ò¨Ó¼g­Ó¦X¾Aªº¿ï¶µ¤â½Z¡A±z¥i¥H»P§Ú³s µ¸¡C ¦pªG±z¯à±N±z¨Ï¥Îªº¨ÑÀ³°Óª©¥»¤¤¦³Ãö PCMCIA ®M¥óªº¨Ï¥Î»P¥»¤å¥ó¤§¤£¦P ªº¦a ¤è¼g¦¨¤å¥ó±N¹ï¨ä¥Lªº¨Ï¥ÎªÌ¥H¤Î§Ú¥»¤H¦³§U¯qªº¡C¯S§O¬O¡A½Ð¦b¤å¥ó ¤W¥I¤W±Ò °Ê¤â½Z¤Î«Øºc¤âºcªº¤£¦P³B¡C ¦pªG±z·Q°µ Linux ¨ÑÀ³ª©ªº PCMCIA¡A³Ì¦n¤]§â«D PCMCIA ¥D­nµ{¦¡ªº¨ä¥L ¤À¨É ÅX°Êµ{¦¡¤@°_¥]¬A¶i¥h¡C¬°¤F¤è«KºûÅ@¡A§Ú·|ºÉ¤O¦a±N®Ö¤ß®M¥óªº¤j¤p ­­¨î¦b¤@ ©w½d³ò¤º¡A°£«D¦³§Úı±o·|³Q¤j®a·P¿³½ìªº³¡¥÷¤~·|¦A¥[¶i¥h¡C¦p «e­±©Ò»¡¡A¨ä ¥LªºÅX°Êµ{¦¡·|³Q¤À¶}¦a¨ÑÀ³¡C¹ï©ó³Q¾ã¦X©M¤À¶}©ó®Ö¤ß³¡¥÷ ªºÅX°Êµ{¦¡¤§¬É©w ¬OÀH·N¥B¦³¨Ç¬O¦³¨ä¾ú¥v©Êªº¡A¦]¦¹§Ú­Ì¤£¯à¥H¬°¥¦­Ì¦b «~½è¤W¦³¥ô¦óªº¤£¦P¡C «á°O: ĶªÌ«ö: ¦b½Ķ¥»½g¤å³¹ªº¹Lµ{¤¤¡A¦@¹J¨ì¤G¦¸Â½Ä¶¨ì¤@¥b¦Ó­ì§@ªÌ­×¥¿¤å ¥ó¤Î ­«·s½s±Æªºª¬ªp¡C¦]¦¹¡A¥»Ä¶¤å¥i¯à¦³Â½Ä¶¤£©P©µ©Î¿ù¦r¤§³B¡A·Ð½Ðµo ²{¿ù»~¦a ¤èªºªB¤Í¨Ó«H¨ì [13]linuxer.bbs@cis.nctu.edu.tw µ¹§Ú¡A¥H«K­×¥¿¡AÁÂÁ±z! References 1. mailto:linuxer.bbs@cis.nctu.edu.tw 2. ftp://hyper.stanford.edu/pub/pcmcia/doc 3. http://hyper.stanford.edu/HyperNews/get/pcmcia/home.html 4. ftp://sunsite.unc.edu/pub/Linux/kernel/v2.0 5. ftp://tsx-11.mit.edu/pub/linux/sources/system/v2.0 6. ftp://ftp.cs.unc.edu/pub/users/faith/linux 7. http://www-uk.hpl.hp.com/people/jt/Linux/Wavelan.html 8. file://localhost/tmp/zh-sgmltools.8273/PCMCIA-HOWTO.txt.html#timing 9. file://localhost/tmp/zh-sgmltools.8273/PCMCIA-HOWTO.txt.html#new-card 10. file://localhost/tmp/zh-sgmltools.8273/PCMCIA-HOWTO.txt.html#new-card 11. http://hyper.stanford.edu/hypernews/get/pcmcia/xircom.html 12. http://hyper.stanford.edu/HyperNews/get/pcmcia/home.html 13. mailto:linuxer.bbs@cis.nctu.edu.tw