From owner-freebsd-mobile Sun Jan 7 8:19:46 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from harmony.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 5028B37B400 for ; Sun, 7 Jan 2001 08:19:29 -0800 (PST) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f07GJCs30019; Sun, 7 Jan 2001 09:19:12 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200101071619.f07GJCs30019@harmony.village.org> To: "Justin T. Gibbs" Subject: Re: NEWCARD update Cc: Peter Wemm , Jonathan Chen , freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 07 Jan 2001 07:32:53 MST." <200101071432.f07EWrs59767@aslan.scsiguy.com> References: <200101071432.f07EWrs59767@aslan.scsiguy.com> Date: Sun, 07 Jan 2001 09:19:12 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200101071432.f07EWrs59767@aslan.scsiguy.com> "Justin T. Gibbs" writes: : At least the 1251 on my Thinkpad has the ability to route legacy : interrupts directly. Instead of the *extremely simple* interrupt : routing that I added in my recent patches, we need to determine if : the card in question is PCCARD or cardbus, and route the interrupt : accordingly. Oh, and we need to do the correct setup for ISA style : DMA too which requires two of the eight ISA IRQ mux entries to : implement. One more thing to note. On laptops, almost all cardbus bridges can directly set which interrupt to use as they are connected to the "south bridge" and can thus use the old ISA mode of operation. On pci cards, you generally[*] don't have this connection, so you have to run in PCI only mode. Since PCI only mode will work on both configurations, we're trying to use it in preference to the direct mapping of interrupts. I don't know if that's what you are talking about being able to directly route the interrupts or not, but it is something to bear in mind. Warner [*] Compaq made a card that connected to the south bridge of an expansion box via a jumper... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message