driver-bitfury.h 550 B

123456789101112131415161718192021222324
  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. uint8_t version;
  15. char product[8];
  16. uint32_t serial;
  17. struct work *prevwork;
  18. char readbuf[512];
  19. };
  20. #endif /* BITFURY_H */