From: Christoph Hellwig <hch@lst.de>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] add scsi_driver.h
Date: Thu, 26 Jun 2003 09:16:16 +0200 [thread overview]
Message-ID: <20030626071616.GA27218@lst.de> (raw)
In-Reply-To: <1056601098.1846.47.camel@mulgrave>
On Wed, Jun 25, 2003 at 11:18:16PM -0500, James Bottomley wrote:
> On Tue, 2003-06-24 at 01:49, Christoph Hellwig wrote:
> > include/scsi/scsi_driver.h contains ?verything related to upper
> > level drivers. Unlike the other header moves there's no compatiblity
> > this time as it's easy to fix up the few users.
>
> This patch actually doesn't seem to contain scsi/scsi_driver.h
Looks like I forgot to check it in. Here it is:
#ifndef _SCSI_SCSI_DRIVER_H
#define _SCSI_SCSI_DRIVER_H
#include <linux/device.h>
struct module;
struct scsi_driver {
struct module *owner;
struct device_driver gendrv;
int (*init_command)(struct scsi_cmnd *);
void (*rescan)(struct device *);
};
#define to_scsi_driver(drv) \
container_of((drv), struct scsi_driver, gendrv)
extern int scsi_register_driver(struct device_driver *);
#define scsi_unregister_driver(drv) \
driver_unregister(drv);
extern int scsi_register_interface(struct class_interface *);
#define scsi_unregister_interface(intf) \
class_interface_unregister(intf)
#endif /* _SCSI_SCSI_DRIVER_H */
prev parent reply other threads:[~2003-06-26 7:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-24 6:49 [PATCH] add scsi_driver.h Christoph Hellwig
2003-06-26 4:18 ` James Bottomley
2003-06-26 7:16 ` Christoph Hellwig [this message]
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=20030626071616.GA27218@lst.de \
--to=hch@lst.de \
--cc=James.Bottomley@SteelEye.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox