From owner-freebsd-mobile@FreeBSD.ORG Wed Aug 6 16:56:55 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 789B137B404 for ; Wed, 6 Aug 2003 16:56:55 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D0D143F85 for ; Wed, 6 Aug 2003 16:56:54 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h76NurFL037996; Wed, 6 Aug 2003 17:56:53 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 06 Aug 2003 17:56:50 -0600 (MDT) Message-Id: <20030806.175650.112354242.imp@bsdimp.com> To: jmknoble+freebsd-mobile@pobox.com From: "M. Warner Losh" In-Reply-To: <20030805160741.GA9268@crawfish.ais.com> References: <20030801184743.GA27280@crawfish.ais.com> <20030805.091653.31255475.imp@bsdimp.com> <20030805160741.GA9268@crawfish.ais.com> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: FBSD-5.1-RELEASE, Sony Vaio PCG-505TR, Linksys Combo (EC2T) PC-Card or Adaptec SlimSCSI 1460D PC-Card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 23:56:55 -0000 In message: <20030805160741.GA9268@crawfish.ais.com> Jim Knoble writes: : The PC-Card and CardBus busses *should* use IRQ 9, and they do. : However, the card itself should not use IRQ 9 ... it needs IRQ 10 : (assigned to disabled IrDA) or 11 (free), because it doesn't work with : a shared interrupt. You *MUST* share the interrupt. NEWCARD only uses PCI interrupt and you have to share it. The card *WILL* work with shared interrupts. The card has *NO*CLUE* it is sharing interrupts. Why must they not have a shared interrupt? I've never seen a card that doesn't work with shared interrupts. : Under 4.8-RELEASE, the installation routine gives me the option to : start pccardd, and i can further request it to start as follows: : : pccardd -i 10 -i 11 : : which will only let inserted cards get IRQ 10 or 11. This works fine. : I need to know how to limit the IRQs assigned to inserted cards under : 5.1, since the device hints don't seem to work. Right. On 4.x you could use ISA interrupts. That option is not available with NEWCARD. : : : | cbb0: at device 10.0 on pci0 : : : | cardbus0: on cbb0 : : : | pccard0: <16-bit PCCard bus> on cbb0 : : : | pci_cfgintr: 0:10 INTA routed to irq 9 : : : : If IRQ 9 is the wrong thing to route here, then you'll need to add a : : hint to route the right thing. : : (See above). (see above). Warner