All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Reif <reif@earthlink.net>
To: linux-newbie@vger.kernel.org
Subject: block driver example needed for 2.4
Date: Sun, 18 Aug 2002 23:48:34 -0400	[thread overview]
Message-ID: <3D606A92.8EDACE75@earthlink.net> (raw)

I'm writing a block device driver for an IPI controller that has an
onboard
command queue.  I have the driver working for one command at a time but
I would like to send it all pending requests in the request queue and
handle
the replies as they come back.  I'm having a hard time figuring out how
to
read multiple requests from the request queue properly and also remove
the
requests properly from the request queue in the interrupt routine.

Linux Device Drivers talks about this type of driver but doesn't give an
example.
Are there any examples or explanations  for a block driver like this?

The DAC960 code looks like it's doing what I want but it's hard to
follow
without hardware documentation.

Thanks,

Bob.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

                 reply	other threads:[~2002-08-19  3:48 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=3D606A92.8EDACE75@earthlink.net \
    --to=reif@earthlink.net \
    --cc=linux-newbie@vger.kernel.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 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.