Re: i386: pata_cs5520 does not work

From: Alan Cox
Date: Wed Jul 18 2007 - 09:36:45 EST


> > I'll take a look at this next week. Can you send me a dmesg of the
> > working case and an lspci -vvxxx
>
> Thanks. attached 2 dmesgs(2.6.21 with pata_cs5520, 2.6.22 with IDE) and output of lspci.

Nothing obviously wrong. What happens if you find the line

if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4])
return -ENOMEM;

in pata_cs5520.c and change the end from return -ENOMEM to

if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4])
panic("IO MAP");

This should help identify where the problem occurs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/