Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2001 11:48:13 +0200
From:      Anders Andersson <anders@codefactory.se>
To:        Warner Losh <imp@harmony.village.org>
Cc:        mobile@freebsd.org
Subject:   Re: Thinkpad fix + MFC of Ian's eject improvements.
Message-ID:  <20010820114813.A576@jellyfish.codefactory.se>
In-Reply-To: <200108200815.f7K8F7W48853@harmony.village.org>
References:  <200108200815.f7K8F7W48853@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <daemon.err> jellyfish pccardd[100]: Card "Lucent
Technologies"(
"WaveLAN/IEEE") [Version 01.01] [] matched "Lucent Technologies"
("WaveLAN/IEEE") [(null)] [(null)]
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 11 slot 1 on pccard1
wi0: Ethernet address: xxxxxxxxxxxx
Aug 20 11:45:03 <daemon.err> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010820114813.A576>