History

pps: bump PPS device count

Modern systems may have more than 16 PPS sources and current hard-coded limit breaks registration of some devices. Let's bump the limit to 256 in hope it will be enough in foreseen future.

Vadim Fedorenko committed 6 months ago

Commit 9bf93cb1 parent 794cd1c1 file · +1 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/pps.h+1−1
@@ -26,7 +26,7 @@ · 25 unmodified lines
26#include <linux/types.h>26#include <linux/types.h>
27 27
28#define PPS_VERSION "5.3.6"28#define PPS_VERSION "5.3.6"
29#define PPS_MAX_SOURCES 16 /* should be enough... */29#define PPS_MAX_SOURCES 256 /* should be enough... */
30 30
31/* Implementation note: the logical states ``assert'' and ``clear''31/* Implementation note: the logical states ``assert'' and ``clear''
32 * are implemented in terms of the chip register, i.e. ``assert''32 * are implemented in terms of the chip register, i.e. ``assert''