Again PCMCIA problems

Uwe Steinmann steinm at majestix.fernuni-hagen.de
Tue Dec 18 20:24:13 EST 2001


On Tue, Dec 18, 2001 at 04:00:08PM +1100, Paul Mackerras wrote:
> Uwe Steinmann writes:
>
> > Thanks for the help so far, I got finally a bit further, and it looks
> > very promissing but ran into another problem. For some reason the request for
> > irg 58 failled.
> >
> > Dec 17 16:46:50 pb cardmgr[10624]: re-loading config file
> > Dec 17 16:46:52 pb cardmgr[10624]: initializing socket 0
> > Dec 17 16:46:52 pb cardmgr[10624]: socket 0: AVM ISDN-Controller A1
> > Dec 17 16:46:53 pb cardmgr[10624]: executing: 'modprobe isdn'
> > Dec 17 16:46:53 pb cardmgr[10624]: executing: 'modprobe hisax id=hisax1 type=26 protocol=2'
> > Dec 17 16:46:53 pb kernel: avma1_cs: testing i/o 0x140-0x149
> > Dec 17 16:46:53 pb kernel: avma1_cs: checking at i/o 0x140, irq 58
> > Dec 17 16:46:53 pb kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
> > Dec 17 16:46:53 pb kernel: HiSax: AVM A1 PCMCIA driver Rev. 1.1.4.1
> > Dec 17 16:46:53 pb kernel: AVM A1 PCMCIA: io 0x140 irq 58 model 1 version 2
> > Dec 17 16:46:53 pb kernel: AVM A1 PCMCIA: ISAC version (0): 2086/2186 V1.1
> > Dec 17 16:46:53 pb kernel: AVM A1 PCMCIA: HSCX version A: V2.1  B: V2.1
> > Dec 17 16:46:53 pb kernel: AVM A1 (PCMCIA): IRQ 58 count 0
> > Dec 17 16:46:53 pb kernel: HiSax: couldn't get interrupt 58
>
> On powerbooks, the card functional interrupt is shared with the card
> controller interrupt.  That is, your HiSax card will use the same
> interrupt for its operations as the TI cardbus controller.  Thus, if
> the HiSax driver doesn't include SA_SHIRQ in the flags value to the
> request_irq call, the request_irq will fail.  I would say that is what
> you are seeing.
You were quite right. There is a define in hisax.h where I4L_IRQ_FLAGS is
set to 0. If I change this to SA_SHIRQ it works! At least the card can be
configured. I'll check if I can get an internet connection over ISDN as
soon as I'm back home.

I'll send a note to the maintainer of the hisax driver.

Thanks for the help.

  Uwe
--
  MMK GmbH, Hagen
  Uwe.Steinmann at mmk-hagen.de
  Tel: +2331 987 4528    Fax: +2331 987 375

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list