The interrupt used to monitor card status changes is chosen by the low−level socket driver module
(i82365 or tcic) before cardmgr parses /etc/pcmcia/config, so it is not affected by changes to
this file. To set this interrupt, use the cs_irq= option when the socket driver is loaded, by setting the
PCIC_OPTS variable in /etc/rc.d/rc.pcmcia.
All the client card drivers have a parameter called irq_list for specifying which interrupts they may try to
allocate. These driver options should be set in your /etc/pcmcia/config file. For example:
device "serial_cs"
module "serial_cs" opts "irq_list=8,12"
...
would specify that the serial driver should only use irq 8 or irq 12. Regardless of irq_list settings, Card
Services will never allocate an interrupt that is already in use by another device, or an interrupt that is
excluded in the config file.
5.2 How can I have separate device setups for home and
work?
This is fairly easy using ``scheme'' support. Use two configuration schemes, called ``home'' and ``work''. Here
is an example of a network.opts script with scheme−specific settings:
case "$ADDRESS" in
work,*,*,*)
# definitions for network card in work scheme
...
;;
home,*,*,*|default,*,*,*)
# definitions for network card in home scheme
...
;;
esac
The first part of a device address is always the configuration scheme. In this example, the second ``case''
clause will select for both the ``home'' and ``default'' schemes. So, if the scheme is unset for any reason, it
will default to the ``home'' setup.
Now, to select between the two sets of settings, run either:
cardctl scheme home
or
Linux PCMCIA HOWTO
5.2 How can I have separate device setups for home and work? 40
Comentarios a estos manuales