All of lore.kernel.org
 help / color / mirror / Atom feed
* /dev/misc/evtchn , /dev/xen/evtchn and the event channel driver : a little question
@ 2005-09-29 13:53 Mark Ryden
  2005-09-29 14:41 ` Anthony Liguori
  2005-09-29 14:52 ` Keir Fraser
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Ryden @ 2005-09-29 13:53 UTC (permalink / raw)
  To: xen-devel

Hello,
   This is something I do not understand : I have a version of
xen-unstable from
a few days ago. (I am using the default "make world"  and make
install, which means 2.6.* versions; and I run it on x386).

 I had looked at the code of evtchn.c (/drivers/xen/evtchn in the sparse tree).

I see there:

err = misc_register(&evtchn_miscdev);
	if (err != 0)
	   {
	   printk(KERN_ALERT "Could not register /dev/misc/evtchn\n");
	  return err;
         }

and also:
static struct miscdevice evtchn_miscdev = {
	.minor        = EVTCHN_MINOR,
	.name         = "evtchn",
	.fops         = &evtchn_fops,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
	.devfs_name   = "misc/evtchn",
#endif
};

I had booted Xen (domain 0).

But I do not have /dev/misc/evtchn !
(as ls /dev/misc/evtchn shows).
On the other hand I *DO* have /dev/xen/evtchn and it seems to me that
other modules in tools use /dev/xen/evtchn and not /dev/misc/evtchn.

What is the truth behind this mystery ?

TIA,
MR

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-29 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-29 13:53 /dev/misc/evtchn , /dev/xen/evtchn and the event channel driver : a little question Mark Ryden
2005-09-29 14:41 ` Anthony Liguori
2005-09-29 14:52 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.