driver-bitfury.h 655 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright 2013 Con Kolivas
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms of the GNU General Public License as published by the Free
  6. * Software Foundation; either version 3 of the License, or (at your option)
  7. * any later version. See COPYING for more details.
  8. */
  9. #ifndef BITFURY_H
  10. #define BITFURY_H
  11. #include "miner.h"
  12. #include "usbutils.h"
  13. struct bitfury_info {
  14. struct cgpu_info *base_cgpu;
  15. uint8_t version;
  16. char product[8];
  17. uint32_t serial;
  18. char buf[512];
  19. int tot;
  20. int nonces;
  21. int total_nonces;
  22. double saved_nonces;
  23. int cycles;
  24. struct timeval tv_start;
  25. };
  26. #endif /* BITFURY_H */