Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2000 23:36:00 +0200
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        Paul Herman <pherman@frenchfries.net>
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: i4b hangs during boot with ELSA Microlink 
Message-ID:  <200006182136.XAA02652@peedub.muc.de>
In-Reply-To: Your message of "Sun, 18 Jun 2000 20:38:33 %2B0200." <Pine.BSF.4.21.0006182023380.317-100000@bagabeedaboo.security.at12.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Herman writes:
>On Sun, 18 Jun 2000, Gary Jennejohn wrote:
>
>> Actually, the Linux driver does quite a bit more. It reads the
>> interrupt register on the card (in FreeBSD parlance iobase1 + 0x4c)
>> and checks whether the card actually interrupted. This is missing
>> from i4b.
>
>I did see this, but I didn't think it would have changed things,
>because the i4b interrupt function keeps getting called over and over
>and all it does is read registers.  I would think some sort of
>solution would somehow intail telling the card politely "shut up
>already" i.e. some sort of write.  Mind you I'm speaking from no
>experience whatsoever, so reality is most likely a very different
>story.
>
>I will hack around tomorrow and move iobase1 into the sc struct, just
>to test to check the card interrupt and see if that gets me anywhere.  
>If that does the trick, then your idea with moving the interrupt
>routine to i4b_elsa_qs1p.c will definately be the way to go.
>
>Thanks for the suggestion Gary.  As always, you da man!  :)
>

There's is a possibility of setting a clrirq (pointer to a) routine
in the attach routine. This would require adding some code to test
whether this pointer is set in isic_intr_sc and then calling it to
tell the card to shutup already :) Unfortunately, I don't know
how to do that for your card :(

There's actually one card which uses the clrirq thingey. Just grep
around in the source and you'll see how it's used.

---
Gary Jennejohn / garyj@muc.de gj@freebsd.org




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006182136.XAA02652>