Commit a17a858c0fad00b75936fd5990631a8c0c60300b

Authored by Stéphane Raimbault
1 parent ccdf684b

Indicates the required Linux version for RS485 functions

Thank you Ivo De Decker.
configure.ac
... ... @@ -127,7 +127,7 @@ if test "x$HAVE_WINSOCK2_H" = "xyes"; then
127 127 AC_SUBST(LIBS)
128 128 fi
129 129  
130   -# Check for RS485 support (recent Linux kernels)
  130 +# Check for RS485 support (Linux kernel version 2.6.28+)
131 131 AC_CHECK_DECLS([TIOCSRS485], [], [], [[#include <sys/ioctl.h>]])
132 132  
133 133 AC_CONFIG_FILES([
... ...
doc/modbus_rtu_get_serial_mode.txt
... ... @@ -30,7 +30,7 @@ currently used by the libmodbus context:
30 30 automation because it can be used effectively over long distances and in
31 31 electrically noisy environments.
32 32  
33   -This function is only available on recent Linux kernels.
  33 +This function is only available on Linux kernels 2.6.28 onwards.
34 34  
35 35  
36 36 RETURN VALUE
... ...
doc/modbus_rtu_set_serial_mode.txt
... ... @@ -30,7 +30,7 @@ mode:
30 30 automation because it can be used effectively over long distances and in
31 31 electrically noisy environments.
32 32  
33   -This function is only available on recent Linux kernels.
  33 +This function is only available on Linux kernels 2.6.28 onwards.
34 34  
35 35  
36 36 RETURN VALUE
... ...