From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 498 invoked from network); 24 Aug 1999 18:26:09 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 Aug 1999 18:26:09 -0000 Received: from jurassic.park.msu.ru (jurassic.park.msu.ru [195.208.223.243]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA27730 for ; Tue, 24 Aug 1999 14:26:07 -0400 Received: (from ink@localhost) by jurassic.park.msu.ru (8.9.3/8.9.3) id WAA00780 for axp-list@redhat.com; Tue, 24 Aug 1999 22:25:39 +0400 Date: Tue, 24 Aug 1999 22:25:39 +0400 From: Ivan Kokshaysky To: axp-list@redhat.com Subject: Re: Problems with SX164 IDE in recent 2.3 Message-ID: <19990824222539.A767@jurassic.park.msu.ru> References: <19990817000925.B46404@sfgoth.com> <19990822225139.A27981@sfgoth.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <19990822225139.A27981@sfgoth.com>; from Mitchell Blank Jr on Sun, Aug 22, 1999 at 10:51:39PM -0700 On Sun, Aug 22, 1999 at 10:51:39PM -0700, Mitchell Blank Jr wrote: > > Also: 2.2.12final3 works fine and 2.3.15pre2 is still broke > > > So the cy82c693 gets detected fine (albeit at a different IO range - I > > assume that's just a change in the PCI code or something), > 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. Ivan. --- linux/drivers/block/cy82c693.c.orig Thu Jun 3 09:21:51 1999 +++ linux/drivers/block/cy82c693.c Tue Aug 24 22:15:46 1999 @@ -383,6 +383,8 @@ /* write info about this verion of the driver */ printk (KERN_INFO CY82_VERSION "\n"); + pci_write_config_dword(dev, 0x10, 0x1f0); + #ifdef CY82C693_SETDMA_CLOCK /* okay let's set the DMA clock speed */