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.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include <linux/types.h> |
| 27 | 27 | |
| 28 | 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 | 31 | /* Implementation note: the logical states ``assert'' and ``clear'' |
| 32 | 32 | * are implemented in terms of the chip register, i.e. ``assert'' |