#ifndef BFG_DRIVER_BITFURY_H #define BFG_DRIVER_BITFURY_H #include #include #include "miner.h" extern bool bitfury_prepare(struct thr_info *); extern bool bitfury_init_chip(struct cgpu_info *); extern int64_t bitfury_scanHash(struct thr_info *); extern bool bitfury_job_prepare(struct thr_info *, struct work *, uint64_t max_nonce); extern void bitfury_noop_job_start(struct thr_info *); extern void bitfury_do_io(struct thr_info *); extern int64_t bitfury_job_process_results(struct thr_info *, struct work *, bool stopping); extern struct api_data *bitfury_api_device_status(const struct cgpu_info *); extern char *bitfury_set_device(struct cgpu_info *, char *, char *, char *); extern void bitfury_shutdown(struct thr_info *); #endif