From owner-freebsd-mobile Fri Mar 30 15: 3: 9 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 9EB5F37B71B; Fri, 30 Mar 2001 15:03:04 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2UN1eG78480; Fri, 30 Mar 2001 15:01:40 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103300757.f2U7vFO00975@harmony.village.org> Date: Fri, 30 Mar 2001 15:01:16 -0800 (PST) From: John Baldwin To: Warner Losh Subject: Re: followup to problems with 4.3-RC1 for laptops Cc: qa@FreeBSD.org, mobile@FreeBSD.org, John Reynolds , Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 -- 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