Re: [2.6.0-test1] yenta_socket.c:yenta_get_status returns bad value compared to 2.4

From: Russell King (rmk@arm.linux.org.uk)
Date: Sat Aug 02 2003 - 12:08:37 EST


On Sat, Jul 26, 2003 at 07:31:59PM +0100, Stefan Jones wrote:
> It seems the the change from 2.4 to 2.6 made the state read from
> yenta_get_status change it's return value. It reads it from hardware.

The get_status function is called multiple times during card
initialisation. I doubt that it is valid to compare the get_status
values from 2.4 and 2.6 kernels, without examining what's going on
in the cs.c code.

It would be helpful if you could apply the patch to cs.c which I've
recently posted to lkml, and report back the full kernel messages,
including the messages you get from your printk in yenta_get_status().

The message id was: <20030802173352.A1895@flint.arm.linux.org.uk>

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

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



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:19 EST