On Thu, Sep 15, 2016 at 12:58:22PM -0700, John Stultz wrote: > This doesn't look too bad.
Actually, it is worse than ugly. It is a disaster. With this change, registration will succeed and MAC drivers will happily report the PTP devices in 'ethtool -T', but there won't be anything behind them. IMHO, it would be better in this case to stub out the whole subsystem. That would save you ptp_clock.o, ptp_chardev.o, and ptp_sysfs.o. Thanks, Richard