public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] SCSI Core cmd->{lun, target, channel} ==> cmd->device->{lun, id, channel} 1/3
@ 2003-01-07  0:49 Luben Tuikov
  0 siblings, 0 replies; only message in thread
From: Luben Tuikov @ 2003-01-07  0:49 UTC (permalink / raw)
  To: linux-scsi

[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]

This patch makes all of SCSI Core and LLDD use cmd->device->{lun, id, channel},
instead of the old cmd->{lun, target, channel}.

The new aic7xxx series driver has been partially converted. The problem is:

drivers/scsi/aic7xxx/aic79xx_osm.c: In function `ahd_linux_dv_fill_cmd':
drivers/scsi/aic7xxx/aic79xx_osm.c:3304: structure has no member named `host'
drivers/scsi/aic7xxx/aic79xx_osm.c:3306: structure has no member named `target'
drivers/scsi/aic7xxx/aic79xx_osm.c:3307: structure has no member named `lun'
drivers/scsi/aic7xxx/aic79xx_osm.c:3308: structure has no member named `channel'

and the same thing in:

drivers/scsi/aic7xxx/aic7xxx_osm.c: In function `ahc_linux_dv_fill_cmd':
drivers/scsi/aic7xxx/aic7xxx_osm.c:3154: structure has no member named `host'
drivers/scsi/aic7xxx/aic7xxx_osm.c:3156: structure has no member named `target'
drivers/scsi/aic7xxx/aic7xxx_osm.c:3157: structure has no member named `lun'
drivers/scsi/aic7xxx/aic7xxx_osm.c:3158: structure has no member named `channel'

cpqfsTSinit.c has a 2 line problem quite similar to the aic7xxx above.

All drivers have been converted, even the ones which do not complie and need
to be converted to the newer DMA API.

-- 
Luben

P.S. This is a resent mail. In the first email, the patch was inserted
in the body of the mail text, all 170 KiB of it and chances are that
you didn't get it -- neither did I. Now it's a gzipped attachment.




[-- Attachment #2: ch_tar_lun_all54.patch.gz --]
[-- Type: application/x-gzip, Size: 40373 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-07  0:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-07  0:49 [PATCH] SCSI Core cmd->{lun, target, channel} ==> cmd->device->{lun, id, channel} 1/3 Luben Tuikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox