On Mon, May 25, 2020 at 04:50:28AM +0000, Jianyong Wu wrote: > How about adding an extra argument in struct ptp_clock_info to serve as a flag, then we can control this flag using IOCTL to determine the counter type. no, No, NO! > > From your description, this "flag" really should be a module parameter. > Maybe use flag as a module parameter is a better way. Yes. Thanks, Richard