kopia lustrzana https://github.com/pa3gsb/Radioberry-2.x
driver update
rodzic
54fdad96ef
commit
5a08852150
|
@ -62,7 +62,7 @@ static struct mutex spi_mutex;
|
|||
#include "radioberry_gateware.h"
|
||||
#include "radioberry_firmware.h"
|
||||
|
||||
#define VERSION "93"
|
||||
#define VERSION "94"
|
||||
|
||||
static DEFINE_MUTEX(radioberry_mutex);
|
||||
static wait_queue_head_t rx_sample_queue;
|
||||
|
@ -206,7 +206,7 @@ static long radioberry_ioctl(struct file *fp, unsigned int cmd, unsigned long ar
|
|||
rb_info_ret.minor = data[5];
|
||||
|
||||
rb_info_ret.fpga = data[3] & 0x03;
|
||||
rb_info_ret.version = 93;
|
||||
rb_info_ret.version = 94;
|
||||
|
||||
if (copy_to_user((struct rb_info_arg_t *)arg, &rb_info_ret, sizeof(struct rb_info_arg_t))) return -EACCES;
|
||||
|
||||
|
@ -362,6 +362,5 @@ module_exit(radioberry_exit);
|
|||
*/
|
||||
MODULE_AUTHOR("Johan Maas - pa3gsb@gmail.com");
|
||||
MODULE_DESCRIPTION("Radioberry SDR device driver. (rpi-4)");
|
||||
MODULE_SUPPORTED_DEVICE("Radioberry SDR");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_VERSION(VERSION);
|
Ładowanie…
Reference in New Issue