AHA1542 detection in 2.1.103 - fix needed.

Dario_Ballabio (Dario_Ballabio@milano.europe.dg.com)
Fri, 22 May 1998 21:07:09 +0200

I just noticed that the aha1542 driver do thing like

i = jiffies + 2;
while (i > jiffies);

Since in 2.1.103 the detect routine is protected by a spinlock
and interrupts are disabled, the above wait strategy is going to fail.

All save_flags/cli/restore_flags should be removed as well and
spinunlock/spinlock added around places where the driver wish to wait
for an interrupt.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu