Re: PATCH, IDE corruption, 2.4.18

Mike Fedyk
2002-05-05T00:22:32Z

On Sat, May 04, 2002 at 01:15:20PM +0100, Neil Conway wrote:
> - byte stat;
> + byte stat,unit;

[snip]

> #if defined(CONFIG_BLK_DEV_IDEDMA) && !defined(CONFIG_DMA_NONPCI)
> - byte unit = (drive->select.b.unit & 0x01);
> + unit = (drive->select.b.unit & 0x01);

Why are you moving the init of "unit" out of that ifdef?

Can you see if this problem is still in 2.5 also?