lkml.org 
[lkml]   [2002]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.5.7 pre-UDMA PIIX bug
    Bill Davidsen wrote:
    > 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);

    That is ceratily wrong. becouse umul || 1 == 1 independently
    from umul.

    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:0.022 / U:0.028 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site