From owner-freebsd-mobile Mon Aug 20 2:48:27 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from skinner.codefactory.se (skinner.codefactory.se [212.32.187.2]) by hub.freebsd.org (Postfix) with ESMTP id 5EFDC37B406 for ; Mon, 20 Aug 2001 02:48:24 -0700 (PDT) (envelope-from anders@codefactory.se) Received: from jellyfish.codefactory.se (dhcp-106.gbg.codefactory.se [192.168.20.106]) by skinner.codefactory.se (Postfix) with ESMTP id 3524B19073; Mon, 20 Aug 2001 11:47:12 +0200 (CEST) Received: by jellyfish.codefactory.se (Postfix, from userid 1000) id E78493D4F; Mon, 20 Aug 2001 11:48:13 +0200 (CEST) Date: Mon, 20 Aug 2001 11:48:13 +0200 From: Anders Andersson To: Warner Losh Cc: mobile@freebsd.org Subject: Re: Thinkpad fix + MFC of Ian's eject improvements. Message-ID: <20010820114813.A576@jellyfish.codefactory.se> References: <200108200815.f7K8F7W48853@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200108200815.f7K8F7W48853@harmony.village.org> User-Agent: Mutt/1.3.20i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 20, 2001 at 02:15:07AM -0600, Warner Losh wrote: > > OK. It turns out that you can't mess with the interrupt routing bits > of register 0x92 for thinkpads and have them work. This, despite the > fact that the PIR table says that the chip should be connected > directly to the interrupts.... > > So this patch does two things. First, it doesn't set the INTRTIE bit, > which should help some of the laptops that don't route things to the > same interrupt. Second, it doesn't touch bits 1 and 2 of register > 0x92 which direct how interrupts are routed. This didn't break my > dell and made the thinkpad work again. > > Someone else reported this fix for their machine as well, but I don't > know if it was a thinkpad or not. > > Please test them and let me know what you have to say. > > http://people.freebsd.org/~imp/pcic-44rc1.diff.1 On my ThinkPad A20p: pccard: card inserted, slot 1 Aug 20 11:44:58 jellyfish pccardd[100]: Card "Lucent Technologies"( "WaveLAN/IEEE") [Version 01.01] [] matched "Lucent Technologies" ("WaveLAN/IEEE") [(null)] [(null)] wi0: at port 0x240-0x27f irq 11 slot 1 on pccard1 wi0: Ethernet address: xxxxxxxxxxxx Aug 20 11:45:03 jellyfish pccardd[100]: wi0: Lucent Technologies (WaveLAN/IEEE) inserted. And the card works fine in slot 1, but inserting it in slot 0 hangs the machine solid. -- Anders Andersson anders@codefactory.se CodeFactory AB http://www.codefactory.se/ Office: +46 (0)31 711 99 35 Cell: +46 (0)70 587 53 35 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message