Bump maximum device count to 64

pull/16/head
Kyle Schwarz 2023-07-11 22:37:06 -04:00
parent cd073b2019
commit f67b4b3620
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
v3.0.2
Bump maximum device count to 64
v3.0.1 v3.0.1
Update copyright Update copyright

View File

@ -1,4 +1,4 @@
Version 3.0.1 Version 3.0.2
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 1 #define KO_PATCH 2
#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
@ -74,7 +74,7 @@ MODULE_VERSION(KO_VERSION);
#define INTREPID_DEVICE_NAME "intrepid_netdevice" #define INTREPID_DEVICE_NAME "intrepid_netdevice"
#define INTREPID_CLASS_NAME "intrepid" #define INTREPID_CLASS_NAME "intrepid"
#define MAX_NET_DEVICES 16 #define MAX_NET_DEVICES 64
#define SHARED_MEM_SIZE 0x400000 #define SHARED_MEM_SIZE 0x400000
#define SIOCSADDCANIF 0x3001 #define SIOCSADDCANIF 0x3001