Skip to content

Commit

Permalink
bitfury: Use other nonces for gen1 detection so one bad core can't br…
Browse files Browse the repository at this point in the history
…eak it
  • Loading branch information
luke-jr committed May 20, 2014
1 parent a767d09 commit 119270b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion driver-bitfury.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,12 @@ void bitfury_do_io(struct thr_info * const master_thr)
{
switch (nonce & 0xe03fffff)
{
case 0x40060f87:
case 0x600054e0:
if (++bitfury->chipgen_probe > 4)
case 0x80156423:
case 0x991abced:
case 0xa004b2a0:
if (++bitfury->chipgen_probe > 0x10)
bitfury->chipgen = 1;
break;
case 0xe03081a3:
Expand Down

0 comments on commit 119270b

Please sign in to comment.