Re: [E1000-devel] e1000e 3.1.0.2 divide error

2015-05-11 Thread Rustad, Mark D
> On May 11, 2015, at 2:03 PM, Keller, Jacob E wrote: > > Hi, > > On Mon, 2015-05-11 at 10:49 +0800, kendo wrote: >> In the e1000e_cyclecounter_read function, if incvalue is 0, causes a divide >> error.Need to add a check? >> >> >>incvalue = er32(TIMINCA) & E1000_TIMINCA_INCV

Re: [E1000-devel] e1000e 3.1.0.2 divide error

2015-05-11 Thread Keller, Jacob E
Hi, On Mon, 2015-05-11 at 10:49 +0800, kendo wrote: > In the e1000e_cyclecounter_read function, if incvalue is 0, causes a divide > error.Need to add a check? > > > incvalue = er32(TIMINCA) & E1000_TIMINCA_INCVALUE_MASK; > //2015-05-11.fix by kendo >

[E1000-devel] e1000e 3.1.0.2 divide error

2015-05-10 Thread kendo
In the e1000e_cyclecounter_read function, if incvalue is 0, causes a divide error.Need to add a check? incvalue = er32(TIMINCA) & E1000_TIMINCA_INCVALUE_MASK; //2015-05-11.fix by kendo if(incvalue){ for (i = 0; i < E1000_MAX