From 67c196ddfe4f7a8aea4f0b4a82a739fe82da620d Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Thu, 7 Sep 2023 13:55:08 -0400 Subject: [PATCH] Update daemon version requirement Bump to 3.1.* --- CHANGELOG | 3 +++ README.md | 2 +- intrepid.c | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 763e9ef..b79a4d0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +v3.0.3 + Update daemon version requirement to 3.1.* + v3.0.2 Bump maximum device count to 64 diff --git a/README.md b/README.md index 7636af7..ffa3957 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/intrepid.c b/intrepid.c index 2a50976..5c824e8 100644 --- a/intrepid.c +++ b/intrepid.c @@ -58,7 +58,7 @@ #define KO_DESC "Netdevice driver for Intrepid CAN/Ethernet devices" #define KO_MAJOR 3 #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_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; break; 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 */ else ret = 1;