Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: axp-list@redhat.com
Subject: Re: Problems with SX164 IDE in recent 2.3
Date: Tue, 24 Aug 1999 22:25:39 +0400	[thread overview]
Message-ID: <19990824222539.A767@jurassic.park.msu.ru> (raw)
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 */
         


  reply	other threads:[~1999-08-24 18:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-17  7:09 Problems with SX164 IDE in recent 2.3 Mitchell Blank Jr
1999-08-23  5:51 ` Mitchell Blank Jr
1999-08-24 18:25   ` Ivan Kokshaysky [this message]
1999-08-24 18:34     ` bushman
1999-08-24 22:25       ` PCXCV-AC Antonio S. Martins Jr.
1999-08-25  4:33     ` Problems with SX164 IDE in recent 2.3 Mitchell Blank Jr
1999-08-25  6:29     ` Richard Henderson
1999-08-25 11:39       ` Ivan Kokshaysky
1999-08-25 17:59       ` Mitchell Blank Jr
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox