Commit a17a858c0fad00b75936fd5990631a8c0c60300b
1 parent
ccdf684b
Indicates the required Linux version for RS485 functions
Thank you Ivo De Decker.
Showing
3 changed files
with
3 additions
and
3 deletions
configure.ac
| @@ -127,7 +127,7 @@ if test "x$HAVE_WINSOCK2_H" = "xyes"; then | @@ -127,7 +127,7 @@ if test "x$HAVE_WINSOCK2_H" = "xyes"; then | ||
| 127 | AC_SUBST(LIBS) | 127 | AC_SUBST(LIBS) |
| 128 | fi | 128 | fi |
| 129 | 129 | ||
| 130 | -# Check for RS485 support (recent Linux kernels) | 130 | +# Check for RS485 support (Linux kernel version 2.6.28+) |
| 131 | AC_CHECK_DECLS([TIOCSRS485], [], [], [[#include <sys/ioctl.h>]]) | 131 | AC_CHECK_DECLS([TIOCSRS485], [], [], [[#include <sys/ioctl.h>]]) |
| 132 | 132 | ||
| 133 | AC_CONFIG_FILES([ | 133 | AC_CONFIG_FILES([ |
doc/modbus_rtu_get_serial_mode.txt
| @@ -30,7 +30,7 @@ currently used by the libmodbus context: | @@ -30,7 +30,7 @@ currently used by the libmodbus context: | ||
| 30 | automation because it can be used effectively over long distances and in | 30 | automation because it can be used effectively over long distances and in |
| 31 | electrically noisy environments. | 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 | RETURN VALUE | 36 | RETURN VALUE |
doc/modbus_rtu_set_serial_mode.txt
| @@ -30,7 +30,7 @@ mode: | @@ -30,7 +30,7 @@ mode: | ||
| 30 | automation because it can be used effectively over long distances and in | 30 | automation because it can be used effectively over long distances and in |
| 31 | electrically noisy environments. | 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 | RETURN VALUE | 36 | RETURN VALUE |