From: Jeff Garzik <jgarzik@pobox.com>
To: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: 2.6 api host private area?
Date: Thu, 17 Jul 2003 14:44:26 -0400 [thread overview]
Message-ID: <3F16EE8A.20203@pobox.com> (raw)
Where is the pointer for the scsi_host_alloc private area stored?
In the net driver subsystem, alloc_etherdev() stores this in the
dev->priv pointer.
I see clearly that scsi_host_alloc allocates the correct size (scsi_host
+ privsize), but it forces each LLD to duplicate nasty pointer
arithmetic required to obtain the pointer to the private area.
Jeff
next reply other threads:[~2003-07-17 18:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-17 18:44 Jeff Garzik [this message]
2003-07-17 18:45 ` 2.6 api host private area? Jeff Garzik
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=3F16EE8A.20203@pobox.com \
--to=jgarzik@pobox.com \
--cc=linux-scsi@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.