Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2001 18:04:11 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        Warner Losh <imp@harmony.village.org>, Jonathan Chen <jon@spock.org>, freebsd-mobile@FreeBSD.ORG, gibbs@scsiguy.com
Subject:   Re: NEWCARD update 
Message-ID:  <200101080204.f0824B801477@mass.osd.bsdi.com>
In-Reply-To: Your message of "Sun, 07 Jan 2001 02:03:43 PST." <200101071003.f07A3hB01022@mobile.wemm.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Warner Losh wrote:
> 
> > :  - pccard children currently shares irq lines.  It appears to work for my
> > :    laptop, but is this good/correct for pci based pccbb bridges?  What
> > :    about ISA based pcic bridges?
> > 
> > *THIS*IS*BOGUS*  ISA CANNOT SHARE INTERRUPTS.  At least not reliably.
> > But since newcard didn't work for isa cards anyway...  I have a bunch
> > of uncommitted cleanups in this area, and will merge your changes into
> > that work.
> 
> The problem is that we are asking the pccard driver to decide the policy.
> The card has no way of knowing if it is attached to a pcic (cannot share
> interrupts) or pccbb (can share interrupts).

Actually, it's more complicated than that.  Two children of a given 
ISA:pccard bridge *can* share an interrupt.

> Personally, I think the bridge itself should be setting this policy since
> there appears to be a status bit for the bridge to tell if one of its
> cards triggered the interrupt.  The bridge can perform the sharing logic
> itself.

This is the way that we've been discussing things going; RF_SHAREABLE is 
not a driver interrupt attribute, it's a bus attribute and the bus code 
should be handling it.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




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




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