You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*
|
|
|
|
* Copyright 2013 Con Kolivas
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the Free
|
|
|
|
* Software Foundation; either version 3 of the License, or (at your option)
|
|
|
|
* any later version. See COPYING for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BITFURY_H
|
|
|
|
#define BITFURY_H
|
|
|
|
|
|
|
|
#include "miner.h"
|
|
|
|
#include "usbutils.h"
|
|
|
|
|
|
|
|
struct bitfury_info {
|
|
|
|
uint8_t version;
|
|
|
|
char product[8];
|
|
|
|
uint32_t serial;
|
|
|
|
struct work *prevwork1;
|
|
|
|
struct work *prevwork2;
|
|
|
|
char buf[512];
|
|
|
|
int tot;
|
|
|
|
int nonces;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* BITFURY_H */
|