From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: Christoph Hellwig <hch@lst.de>
Cc: James.Bottomley@steeleye.com, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] kill of ->command
Date: Mon, 9 Jun 2003 11:32:47 -0700 [thread overview]
Message-ID: <20030609113247.B5618@one-eyed-alien.net> (raw)
In-Reply-To: <20030609162056.GA1857@lst.de>; from hch@lst.de on Mon, Jun 09, 2003 at 06:20:56PM +0200
[-- Attachment #1: Type: text/plain, Size: 2249 bytes --]
On Mon, Jun 09, 2003 at 06:20:56PM +0200, Christoph Hellwig wrote:
> diff -Nru a/drivers/usb/storage/scsiglue.c b/drivers/usb/storage/scsiglue.c
> --- a/drivers/usb/storage/scsiglue.c Sun Jun 8 20:31:57 2003
> +++ b/drivers/usb/storage/scsiglue.c Sun Jun 8 20:31:57 2003
> @@ -365,24 +365,15 @@
> .name = "usb-storage",
> .proc_name = "usb-storage",
> .proc_info = usb_storage_proc_info,
> - .proc_dir = NULL,
> .info = usb_storage_info,
> - .ioctl = NULL,
> -
> - /* old-style detect and release */
> - .detect = NULL,
> - .release = NULL,
>
> /* command interface -- queued only */
> - .command = NULL,
> .queuecommand = usb_storage_queuecommand,
>
> /* error and abort handlers */
> .eh_abort_handler = usb_storage_command_abort,
> .eh_device_reset_handler = usb_storage_device_reset,
> .eh_bus_reset_handler = usb_storage_bus_reset,
> - .eh_host_reset_handler = NULL,
> - .eh_strategy_handler = NULL,
>
> /* queue commands only, only one command per LUN */
> .can_queue = 1,
> @@ -391,21 +382,9 @@
> /* unknown initiator id */
> .this_id = -1,
>
> - /* no limit on commands */
> - .max_sectors = 0,
> -
> - /* pre- and post- device scan functions */
> - .slave_alloc = NULL,
> - .slave_configure = NULL,
> - .slave_destroy = NULL,
> -
> /* lots of sg segments can be handled */
> .sg_tablesize = SG_ALL,
>
> - /* use 32-bit address space for DMA */
> - .unchecked_isa_dma = FALSE,
> - .highmem_io = FALSE,
> -
> /* merge commands... this seems to help performance, but
> * periodically someone should test to see which setting is more
> * optimal.
> @@ -414,9 +393,6 @@
>
> /* emulated HBA */
> .emulated = TRUE,
> -
> - /* sorry, no BIOS to help us */
> - .bios_param = NULL,
>
> /* module management */
> .module = THIS_MODULE
Could you please not kill all these fields? If you want to remove command,
go ahead, but leave the others.
Matt
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
I'm a pink gumdrop! How can anything be worse?!!
-- Erwin
User Friendly, 10/4/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2003-06-09 18:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-09 16:20 [PATCH] kill of ->command Christoph Hellwig
2003-06-09 16:41 ` Patrick Mansfield
2003-06-09 16:51 ` Christoph Hellwig
2003-06-09 18:04 ` Patrick Mansfield
2003-06-09 18:11 ` Christoph Hellwig
2003-06-09 18:15 ` Russell King
2003-06-09 18:19 ` James Bottomley
2003-06-09 18:22 ` Russell King
2003-06-09 18:32 ` Matthew Dharm [this message]
2003-06-09 18:34 ` Christoph Hellwig
2003-06-09 18:37 ` Jeff Garzik
2003-06-09 18:45 ` Matthew Dharm
2003-06-09 19:05 ` Jeff Garzik
2003-06-09 19:19 ` Tony Battersby
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=20030609113247.B5618@one-eyed-alien.net \
--to=mdharm-scsi@one-eyed-alien.net \
--cc=James.Bottomley@steeleye.com \
--cc=hch@lst.de \
--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