add mindiff to bitmain driver