Re: 2.5.7 pre-UDMA PIIX bug

From: Bill Davidsen (davidsen@tmr.com)
Date: Fri Mar 29 2002 - 10:37:53 EST


On Fri, 29 Mar 2002, Martin Dalecki wrote:

> > 333 T = 1000000000 / piix_clock;
> > 334 UT = T / umul;
>
> I think that it should be just sufficient to add the
> following test just in front of the offending calculartion.
>
> if (umul == 0)
> ++umul;

- 334 UT = T / umul;
+ 334 UT = T / (umul || 1);

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- 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 : Sun Mar 31 2002 - 22:00:18 EST