From owner-freebsd-mobile Mon Aug 20 9:26:25 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id D748D37B401 for ; Mon, 20 Aug 2001 09:26:20 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA21334; Mon, 20 Aug 2001 10:26:19 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA28886; Mon, 20 Aug 2001 10:26:18 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15233.14890.54362.493927@nomad.yogotech.com> Date: Mon, 20 Aug 2001 10:26:18 -0600 To: Warner Losh Cc: mobile@FreeBSD.ORG Subject: Re: Thinkpad fix + MFC of Ian's eject improvements. In-Reply-To: <200108200815.f7K8F7W48853@harmony.village.org> References: <200108200815.f7K8F7W48853@harmony.village.org> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > 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 Warner. *YOU 'DA MAN!!!!!* Thank you, Thank you, Thank you!!!!! With this patch in place (I had to revert the pcibios patch to get a clean apply), and after merging the pccardd patch from -current, I know have a completely working ThinkPad. Hot-swap, both slots, etc.. all work. The only annoying thing that happens know is I get alot of these kinds of error messages, which I didn't get in 2.2.8. Code 128 not found Code 128 not found code Unknown ignored Code 131 not found Code 131 not found code Unknown ignored However, I can live with it *easily*, since everything else works better than in 2.2. I now in your debt, and owe you at least a beverage of your choice when we meet. Thanks again!!! Nate ps. That patch would be a great addition to FreeBSD 4.4 :) :) :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message