Update daemon version requirement

Bump to 3.1.*
pull/22/head
Kyle Schwarz 2023-09-07 13:55:08 -04:00
parent f67b4b3620
commit 67c196ddfe
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
v3.0.3
Update daemon version requirement to 3.1.*
v3.0.2 v3.0.2
Bump maximum device count to 64 Bump maximum device count to 64

View File

@ -1,4 +1,4 @@
Version 3.0.2 Version 3.0.3
This is the kernel object portion of the Intrepid Control Systems SocketCAN support. For SocketCAN to work with Intrepid devices you will need to have this kernel object loaded on your system. Once the module is built and loaded run [icsscand](https://github.com/intrepidcs/icsscand) to turn on SocketCAN support. This is the kernel object portion of the Intrepid Control Systems SocketCAN support. For SocketCAN to work with Intrepid devices you will need to have this kernel object loaded on your system. Once the module is built and loaded run [icsscand](https://github.com/intrepidcs/icsscand) to turn on SocketCAN support.

View File

@ -58,7 +58,7 @@
#define KO_DESC "Netdevice driver for Intrepid CAN/Ethernet devices" #define KO_DESC "Netdevice driver for Intrepid CAN/Ethernet devices"
#define KO_MAJOR 3 #define KO_MAJOR 3
#define KO_MINOR 0 #define KO_MINOR 0
#define KO_PATCH 2 #define KO_PATCH 3
#define KO_VERSION str(KO_MAJOR) "." str(KO_MINOR) "." str(KO_PATCH) #define KO_VERSION str(KO_MAJOR) "." str(KO_MINOR) "." str(KO_PATCH)
#define KO_VERSION_INT (KO_MAJOR << 16) | (KO_MINOR << 8) | KO_PATCH #define KO_VERSION_INT (KO_MAJOR << 16) | (KO_MINOR << 8) | KO_PATCH
@ -976,7 +976,7 @@ static long intrepid_dev_ioctl(struct file *fp, unsigned int cmd, unsigned long
ret = KO_VERSION_INT; ret = KO_VERSION_INT;
break; break;
case SIOCGCLIENTVEROK: case SIOCGCLIENTVEROK:
if (VER_MAJ_FROM_INT(arg) == 3 && VER_MIN_FROM_INT(arg) == 0 && VER_PATCH_FROM_INT(arg) >= 0) if (VER_MAJ_FROM_INT(arg) == 3 && VER_MIN_FROM_INT(arg) == 1 && VER_PATCH_FROM_INT(arg) >= 0)
ret = 0; /* ok to start */ ret = 0; /* ok to start */
else else
ret = 1; ret = 1;