From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24398 invoked from network); 25 Aug 1999 06:29:35 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 25 Aug 1999 06:29:35 -0000 Received: from piglet.twiddle.net (root@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id CAA06705 for ; Wed, 25 Aug 1999 02:29:34 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id XAA21320 for axp-list@redhat.com; Tue, 24 Aug 1999 23:29:32 -0700 Date: Tue, 24 Aug 1999 23:29:32 -0700 From: Richard Henderson To: axp-list@redhat.com Subject: Re: Problems with SX164 IDE in recent 2.3 Message-ID: <19990824232932.A21308@twiddle.net> References: <19990817000925.B46404@sfgoth.com> <19990822225139.A27981@sfgoth.com> <19990824222539.A767@jurassic.park.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <19990824222539.A767@jurassic.park.msu.ru>; from Ivan Kokshaysky on Tue, Aug 24, 1999 at 10:25:39PM +0400 On Tue, Aug 24, 1999 at 10:25:39PM +0400, Ivan Kokshaysky wrote: > Interesting. Recent 2.3.x kernels somehow break settings of the Cypress chip, > so IDE addresses are bogus (something like 0xfff0). As a temporary workaround > try this hack (tested with 2.3.15pre2), it set IDE i/o back to 0x1f0/0x170. That's odd. The code that I changed was intended to leave i/o resources 0 and 1 alone (the 0x1f0/170 bits), but to change the memory region. This because SRM was putting the memory region out at 0x10100 on my ds20, and the recent resource rewrite uses a 64k i/o space. I thought about just widening the i/o space, since technically Alpha can speak to a 32-bit i/o space. But it seems quite likely that there's lots of broken hardware out there that only wires up the low 16 bits, and so as a rule I don't want to be allocating i/o regions outside 64k. The correct place to poke things is in arch/alpha/kernel/bios32.c, in function layout_device. r~