📄 dummy_cs.4
字号:
.\" Copyright (C) 1998 David A. Hinds -- dahinds@users.sourceforge.net.\" dummy_cs.4 1.7 2000/06/12 21:24:47.\".TH DUMMY_CS 4 "2000/06/12 21:24:47" "pcmcia-cs".SH NAMEdummy_cs \- PCMCIA dummy device driver.SH SYNOPSIS.B insmod dummy_cs.o.RB [ pc_debug=\c.IR n ].RB [ free_ports=\c.IR n ].RB [ irq_list=\c.IR i,j,... ].SH DESCRIPTIONThe.B dummy_csmodule has two purposes. It is intended as a demonstration of how towrite the PCMCIA interface code for a client driver, and the sourcecode is heavily commented. It is also written to function as a sortof generic ``point enabler'': when bound to any PCMCIA IO card, itwill read the card's Configuration Information Structure, andconfigure the card appropriately. The configuration includes settingup IO and memory windows, configuring the card for interrupts, andinitializing the card's PCMCIA configuration registers..PPIt turns out that many cards report incomplete or inaccurateconfiguration information, due to vendor carelessness and thecomplexity of the data format. A vendor driver can generally takefor granted many configuration details, so there is not much incentivefor vendors to ensure that the on-card information is complete. Thus,the.B dummy_csmodule is limited by its generality: since it makes no assumptionsabout card types, it is forced to rely on the card information, forbetter or worse..SH PARAMETERS.TP.BI pc_debug= nSelects the PCMCIA debugging level. This parameter is only availableif the module is compiled with debugging enabled. A non-zero valueenables debugging..TP.BI free_ports= nA flag indicating if the IO ports allocated for the card should befreed from the kernel resource maps. This is useful if the dummydriver is being used to configure a card in preparation for loading aspecific PCMCIA-unaware driver. The default is 0 (false)..TP.BI irq_list= i,j,...Specifies the set of interrupts that may be allocated by this driver..SH AUTHORDavid Hinds \- dahinds@users.sourceforge.net.SH "SEE ALSO"cardmgr(8), pcmcia(5).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -