All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Ryden <markryde@gmail.com>
To: xen-devel@lists.xensource.com
Subject: /dev/misc/evtchn , /dev/xen/evtchn and the event channel driver : a little question
Date: Thu, 29 Sep 2005 16:53:15 +0300	[thread overview]
Message-ID: <dac4506050929065367bb94f3@mail.gmail.com> (raw)

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

             reply	other threads:[~2005-09-29 13:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-29 13:53 Mark Ryden [this message]
2005-09-29 14:41 ` /dev/misc/evtchn , /dev/xen/evtchn and the event channel driver : a little question Anthony Liguori
2005-09-29 14:52 ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dac4506050929065367bb94f3@mail.gmail.com \
    --to=markryde@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.