Re: [SLUG] IRQ and IO Address conflicts for PCMCIA slots

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Nov 03 2004 - 13:37:23 EST


On Tue, 2 Nov 2004, Doug Koobs wrote:

> I'm currently trying to set up an old laptop as a firewall using
> VectorLinux (a Slack derevative). I have one 3Com PCMCIA NIC that uses the
> 3c574_cs module, and a DLINK PCMCIA NIC that uses the pcnet_cs module.
>
> I can get both of these to work seperately, but not at the same time.
> Whichever card is in socket 0 always works, and the other doesn't. Using
> the "cardctl config" command reveals that both cards are trying to use
> IRQ3 and IO address of 0x0300-0x031f.
>
> Is there a way to configure which IRQ and IO address a PCMCIA card uses?

Sometimes, there are options to modules, something like

modprobe foo irq=7 io=0x300
modprobe bar irq=5 io=0x600

(but it's easier to list the options in modprobe.conf)

You may be able to find out what options are available (and their syntax)
my checking 'modinfo /lib/modules/`uname -r`/.../{3c574,pcnet}_cs.*', the
kernel source's help, or 3c574_cs.c/pcnet_cs.c

> I have both IRQ 5 and 7 free. Also, how would I go about figuring out
> which IO addresses are free?

cat /proc/ioports

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
              
      He who will not reason is a bigot; he who cannot is a fool;
        and he who dares not is a slave.  -Sir William Drummond

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:26:08 EDT