Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 15:01:16 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Warner Losh <imp@harmony.village.org>
Cc:        qa@FreeBSD.org, mobile@FreeBSD.org, John Reynolds <jjreynold@home.com>, Mike Smith <msmith@FreeBSD.org>
Subject:   Re: followup to problems with 4.3-RC1 for laptops
Message-ID:  <XFMail.010330150116.jhb@FreeBSD.org>
In-Reply-To: <200103300757.f2U7vFO00975@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 30-Mar-01 Warner Losh wrote:
> In message <200103292231.f2TMVCg01135@mass.dis.org> Mike Smith writes:
>: > > I scanned some of the archives and reworked my kernel's pcic0 device as
>: > > follows:
>: > > 
>: > >   device  pcic0 at isa? irq 10 port 0x3e0 iomem 0xd0000 
>: > > 
>: > > changing "irq 0" to "irq 10". Now the kernel is much happier. The thing
>: > 
>: > Yes, some laptops just don't work in polled mode for pcic0 it seems. 
>: 
>: It looks like newer cardbus systems default to enabling the interrupt, 
>: and it's hardwired rather than routable/programmable like it used to be.  
>: I don't know how long this has been the case, but it's not likely to 
>: change back.
> 
> With the new cardbus code, we use pci routing of interrupts.  This is
> great for everything except fast interrupts for sio.

That is easy enough to work around, just have the cardbus code mask out
INTR_FAST in its bus_setup_intr and bus_teardown_intr and it will work fine. 
This will hurt sio(4) performance some however, but if fast interrupts are a
problem for cardbus you can always turn them off.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.010330150116.jhb>