From: "Konstantin Boyanov" <kkboyanov@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: Leaf drivers on Linux?
Date: Wed, 11 Jul 2007 16:50:32 +0200 [thread overview]
Message-ID: <929bf310707110750r32557735v848d84c626f0b5d9@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]
Hi list,
I'm a little bit confused about an issue I hope you can shed some light on
it.
Right now I'm trying to write a driver for a vustom piece of hardware, which
resides on a VME bus. I'm using 2.6.15 kernel with an VME driver and can
access the device through normal ioctl()'s, read(), writes()'s. My
confiusion comes from the fact that from my driver I have to read some
registers when the custom device generates an interrupt, but since this
happens in kernel space, I'm not sure wheather I can use the normal IO
controls or not. Further confusion brings the fact that there is already a
working device for Solaris/SPARC for this device, and there the device
driver uses some kind of leaf driver. Is the concept of leaf and nexus
drivers, which is present in Solaris, also present in Linux? I tried to find
some information about differences in the two operating systems on that
level but only ended up in the "Writing device drivers" tutorials on
doc.sun.com.
If anybody can give me some clue about this leaf stuff I'll be thankful.
Best regards,
Konstantin
[-- Attachment #2: Type: text/html, Size: 1177 bytes --]
reply other threads:[~2007-07-11 14:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=929bf310707110750r32557735v848d84c626f0b5d9@mail.gmail.com \
--to=kkboyanov@gmail.com \
--cc=linuxppc-embedded@ozlabs.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).