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