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
2626 #include <linux/types.h>
2727
2828 #define PPS_VERSION "5.3.6"
29−#define PPS_MAX_SOURCES 16 /* should be enough... */
29+#define PPS_MAX_SOURCES 256 /* should be enough... */
3030
3131 /* Implementation note: the logical states ``assert'' and ``clear''
3232 * are implemented in terms of the chip register, i.e. ``assert''