ni / linux

Linux kernel source for NI Linux Real-Time
Other
80 stars 77 forks source link

pps: Use sysfs module parameter to replace PPS_MAX_SOURCES. #118

Closed SparkingSpork closed 1 year ago

SparkingSpork commented 1 year ago

Currently, the PPS_MAX_SOURCES is a hard coded constant. On some systems, the current maximum of 16 is too low. This change converts that logic to use a sysfs parameter instead of a hard-coded value and increases the default value to 32.

Testing:

SparkingSpork commented 1 year ago

V2

bstreiff commented 1 year ago

Closing in favor of the solution in #131