From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4D787DB7.2020503@domain.hid> Date: Thu, 10 Mar 2011 08:28:55 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] rtdm_printk List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jeff Weber Cc: xenomai@xenomai.org Jeff Weber wrote: > When writing a RTDM kernel module driver, when must rtdm_printk() be used > instead of printk() ? If RTDM was, one day, ported over something else than a Linux kernel-space based solution (for instance, over a port of Xenomai without Linux, or in Linux user-space), then you would not have to change your driver codeto have it compile over that new port. Until then, printk and rtdm_printk are identical. Note that the first paragraph is something very hypothetical, because in an RTDM driver, you generally have some other Linux kernel-space specific code, such as for instance the registration as a PCI driver, though the necessary parts of the Linux API could be implemented for that hypothetical port. But in that case, so could printk. So... -- Gilles.