📄 i82365.4
字号:
.\" Copyright (C) 1998 David A. Hinds -- dahinds@users.sourceforge.net.\" i82365.4 1.38 2002/07/14 00:54:54.\".TH I82365 4 "2002/07/14 00:54:54" "pcmcia-cs".SH NAMEi82365 \- Intel i82365sl PCMCIA controller driver.SH SYNOPSIS.B insmod i82365.o[\fBpc_debug=\fIn\fR][\fBi365_base=\fIn\fR][\fBignore=\fIn\fR][\fBextra_sockets=\fIn\fR][\fBdo_scan=\fIn\fR][\fBirq_list=\fIi,j,...\fR][\fBcs_irq=\fIn\fR][\fBpoll_interval=\fIn\fR][\fBcycle_time=\fIn\fR][\fBasync_clock=\fIn\fR][\fBcable_mode=\fIn\fR][\fBhas_dma=\fIn\fR][\fBhas_led=\fIn\fR][\fBhas_ring=\fIn\fR][\fBfreq_bypass=\fIn\fR][\fBsetup_time=\fIn\fR][\fBcmd_time=\fIn\fR][\fBrecov_time=\fIn\fR][\fBwakeup=\fIn\fR][\fBfast_pci=\fIn\fR][\fBirq_mode=\fIn\fR][\fBdo_pci_probe=\fIn\fR][\fBcb_write_post=\fIn\fR][\fBpci_csc=\fIn\fR][\fBpci_int=\fIn\fR][\fBpci_irq_list=\fIi,j,...\fR][\fBp2cclk=\fIn\fR].SH DESCRIPTIONThis is the low-level driver for the Intel i82365sl PCMCIA hostcontroller, and many derivative controllers. It also implements theIntel "Yenta" register specification for CardBus bridges. Commonclones of the i82365sl include controllers made by Cirrus Logic, IBM, O2Micro, Omega Micro, Ricoh, SMC, Texas Instruments, Toshiba, Vadem,and VLSI. The overwhelming majority of current PCMCIA controllers,and all CardBus bridges, are register compatible with the i82365sl.This driver is used by Card Services for configuring the hostcontroller, and for monitoring card status change events..PPAn ISA i82365-compatible controller normally sits at the IO addresses0x3e0-0x3e1. Two ISA controllers can cooperate to share the same IOports, supporting a total of four sockets. A second pair ofcontrollers can be located at 0x3e2-0x3e3. Probing at this positionis controlled by the \fBextra_sockets\fR parameter. This only affectsISA bridges: the PCI bridge probe handles multiple controllersautomatically. The driver will support a maximum of eight sockets. .PPWhen the \fBi82365\fR module is loaded, it performs a scan of freeISA interrupts to determine which ones appear to be usable for PCMCIAevents. The interrupt scan results are reported in the system log. Asuccessful scan will report a list of interrupts as ``scanned''; if nointerrupts appear to work, then a ``default'' list is reported. Somebridges (Cirrus non-CardBus bridges, some Toshiba bridges) do notsupport the software interrupt test and will always report a``default'' list. In other cases, this may be a sign of an incorrect\fBirq_mode\fR..PPThere is a significant difference between the version of the\fBi82365\fR driver in the pcmcia-cs package, and the version in theLinux kernel tree. The kernel version only supports ISA bus bridges;CardBus bridges are instead supported by the \fByenta_socket\fRdriver..SH CardBus interrupt deliveryCardBus bridges generally support both PCI and ISA interrupt signals,and multiple methods of deliving interrupt events to the host system.The system BIOS is partly responsible for correctly configuring thebridge to match the implemented interrupt hardware at boot time. Thismodule provides several parameters for overriding this defaultinterrupt configuration. The \fBpci_int\fR and \fBpci_csc\fR settingscan be used to control use of PCI interrupts for card interrupts orcard status changes. The \fBirq_mode\fR setting, for bridges thatsupport it, can be used to select an interrupt delivery method..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 i365_base= nSets the base I/O port address of the i82365sl chip. The default is0x3e0. Applies only to ISA-to-PCMCIA bridges..TP.BI ignore= nCauses the driver to ignore a single socket. Sockets are numberedstarting at 0. The socket will be left in whatever state it wasalready in, so it can be used for cards with point enablers that donot cooperate with Card Services..TP.BI extra_sockets= nA flag indicating if the driver should probe at IO base 0x3e2 inaddition to the default 0x3e0 base. The default is 0 (do not probe at0x3e2). Systems with two independent ISA-to-PCMCIA controllers (say,one internal and one in a docking station) may require this flag to beset. If this flag is set, then .BR poll_intervalwill automatically be enabled..TP.BI do_scan= nThis flag specifies that all free ISA interrupts should be tested tosee if they can be triggered by the PCMCIA controller. The default is1 (true)..TP.BI irq_list= i,j,...Specifies the set of interrupts that may be allocated by this driver,if they are otherwise available.The default list is 3, 4, 5, 7, 9, 10, 11, 12, 14, and 15..TP.BI cs_irq= nSets the interrupt line to use for monitoring card status changes.The default is 0, which means pick the highest-numbered legalinterrupt not already in use. Legal values are 15, 14, 12, 11,10, 9, 7, 5, 4, and 3..TP.BI poll_interval= nSets the card status polling delay, in 1/100 second increments. Ifthis parameter is set, card status interrupts will be disabled. Areasonable value is 100. Polling only affects detection of cardinsert and eject events..TP.BI cycle_time= nSets the length of a host bus cycle, in nanoseconds. The default is210 ns, corresponding to a standard 4.77 MHz clock..SH Options specific for Vadem ISA controllers.TP.BI async_clock= nThis flag specifies that PCMCIA bus cycles should be clockedasynchronously from host bus cycles. It effectively adds a wait stateto some operations..TP.BI cable_mode= nFor the VG469, this flag adjusts certain socket signals for driving asocket connected via a cable..SH Options specific for ISA Cirrus controllersWhen the \fBi82365\fR driver is loaded, it will try to determine whatinterrupts can safely be allocated for use by PCMCIA devices. Cirruscontrollers support some optional features that interfere with the useof certain interrupt lines. Cirrus chips also lack the functionalityneeded to detect whether or not an interrupt can be used. The\fBhas_dma\fR, \fBhas_ring\fR, and \fBhas_led\fR options are used tospecify if these features are implemented..TP.BI has_dma= nA flag indicating if the controller has DMA support..TP.BI has_led= nA flag indicating if the controller is wired for a disk status LED.This is set by default..TP.BI has_ring= nA flag indicating if the controller's "ring indicate" signal isimplemented. This is set by default..TP.BI freq_bypass= nA flag indicating that the controller should be set up in "frequencybypass" mode. This disables the normal 7/4 clock multiplier, andslows down all PCMCIA bus access, for systems with fast system clocks..TP.BI setup_time= nSets the bus setup time, in internal clock cycles. The default is 1..TP.BI cmd_time= nSets the bus command time, in internal clock cycles. The default is 6..TP.BI recov_time= nSets the bus recovery time, in internal clock cycles. The default is 0..TP.BI wakeup= nA flag indicating if the probe function should attempt to wake up asuspended controller chip. The default is 0..PPThe following parameters are only supported by the standalone versionof the \fBi82365\fR module from the pcmcia-cs package, not the kernelversion..SH Options specific for Cirrus PCI controllersThe following options apply for Cirrus PD6729 and PD6730 PCI-to-PCMCIAbridge devices..TP.BI fast_pci= nA flag indicating that the PCI bus speed exceeds 25 MHz..TP.BI irq_mode= nSpecifies the interrupt delivery mode. The default (0) is to use ISAbus interrupts; a value of 1 selects PCI interrupts. This must be setfor correct operation of some PCI card readers..SH Options for CardBus controllers.TP.BI do_pci_probe= nThis flag indicates if the PCI bus should be probed for PCI-to-PCMCIAand/or PCI-to-CardBus bridges. The default is 1 (true)..TP.BI cb_write_post= nA flag indicating if write posting (a performance feature) should beenabled. The default is 1 (true), except on certain TI 1130 bridges..TP.BI pci_csc= nSpecifies that card status change interrupts should be routed to PCIinterrupts, for CardBus controllers. The default is 1 (true)..TP.BI pci_int= nSpecifies that functional interrupts for IO cards should be routed toPCI interrupts, for CardBus controllers. The default is 1 (true),except on systems that require use of PCI interrupts..TP.BI pci_irq_list= i,j,...The Linux kernel sometimes cannot deduce the PCI interrupt assignmentsfor CardBus sockets. If this information can be determined some otherway, it can be entered here. The Nth socket will get the Nthinterrupt number from the list. .SH Options specific for Ricoh CardBus controllers.TP.BI irq_mode= nSelects the interrupt routing method. A value of 0 selects only PCIinterrupts; 1 selects ISA interrupt routing, and 2 selects ISAinterrupt routing via an external serial interrupt controller. Thedefault is to use whatever ISA routing method is already enabled..TP.BI setup_time= nSets the bus setup time, in internal clock cycles. The default is 3..TP.BI cmd_time= nSets the bus command time, in internal clock cycles. The default is 6..TP.BI hold_time= nSets the bus hold time, in internal clock cycles. The default is 1..SH Options specific for TI CardBus controllers.TP.BI has_ring= nA flag indicating if the controller is wired for "ring indicate".The default is to read the current setting from the controller..TP.BI irq_mode= nSelects the interrupt routing method. A value of 0 selects only PCIinterrupts; 1 selects ISA interrupt routing; 2 selects ISA interruptrouting via an external serial interrupt controller; and 3 selectsserial routing for both PCI and ISA interrupts. The default is to usewhatever routing method is already active, or ISA routing if nomethod is enabled..TP.BI p2cclk= nA flag, indicating if the P2CCLK pin should be configured as an input(0) or an output (1). This signal is used for communicating with asocket power controller; if set incorrectly, the bridge will be unableto power up cards. The default is to use the BIOS setting..SH AUTHORDavid Hinds \- dahinds@users.sourceforge.net.SH "SEE ALSO"cardmgr(8), pcmcia(5).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -