Re: Workaround for VIA chipset+ATAPI ZIP 100 problem

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 28 Aug 2001 12:07:15 +0100 (BST)


> + if (floppy->via_kludge) {
> + long wait = floppy->via_kludge - jiffies;

that will do strange things when the timer wraps. Use unsigned and
"time_before"

As to the rest perhaps Andre can comment
-
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/