Re: IDE problem [PATCH]

From: Andre Hedrick (andre@linux-ide.org)
Date: Thu May 18 2000 - 04:42:59 EST


On Thu, 18 May 2000, Andrzej Krzysztofowicz wrote:

> > Explain some more please.
>
> At the moment I see minimum three ways of fixing this:
> - memset(&hw, 0, sizeof(hw_regs_t)) in hwinf initialization
> ... as I (maybe unfortunately) suggested

ide.c "static void init_hwif_data (unsigned int index)"

        /* bulk initialize hwif & drive info with zeros */
        memset(hwif, 0, sizeof(ide_hwif_t));
        memset(&hw, 0, sizeof(hw_regs_t));

> - io_ports[IDE_IRQ_OFFSET] = 0 in ide_init_hwif_ports() for architectures
> (i386,alpha,etc.) which do not use it.

OKAY

> - #if defined(CONFIG_AMIGA) || defined(CONFIG_MAC)
> around io_ports[IDE_IRQ_OFFSET] checking/registering/unregistering
> (when calling ide_*_region()).

GOOD

What does this yeild for you?

> But at present IDE in gcc-2.7.2.3 compiled non-PCI kernels just DOESN'T WORK.

VERY BAD sheesh what a goat screw of mine......

> Andrzej

Andre Hedrick
The Linux ATA/IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:15 EST