Thread (57 messages) 57 messages, 13 authors, 2010-09-22

Re: [PATCH 1/5] ptp: Added a brand new class driver for ptp clocks.

From: Richard Cochran <hidden>
Date: 2010-08-19 09:22:32
Also in: linux-arm-kernel, linuxppc-dev, lkml, netdev

On Wed, Aug 18, 2010 at 05:02:03PM +0200, Arnd Bergmann wrote:
You might want to use callbacks for these system calls that you
can register to at module load time, like it is done for the
existing syscalls.
Can you point me to a specific example?
The simpler way (e.g. for testing) is using Kconfig dependencies, like

config PTP
	bool "IEEE 1588 Precision Time Protocol"

config PPS
	tristate "Pulse per Second"
	depends on PTP || !PTP

The depends statement is a way of expressing that when PTP is enabled,
PPS cannot be a module, while it may be a module if PTP is disabled.
THis did not work for me.

What I got was, in effect, two independent booleans.


Thanks,

Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help