driver-bitfury.h 645 B

1234567891011121314151617181920212223242526272829
  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 nonces;
  20. int total_nonces;
  21. double saved_nonces;
  22. int cycles;
  23. struct timeval tv_start;
  24. };
  25. #endif /* BITFURY_H */