Skip to contentSkip to conversation

SCSI Core cmd->{lun, target, channel} ==> cmd->device->{lun, id, channel} 1/3

PATCH New Luben Tuikov 1 participant 1 message Jan 7, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SCSI Core cmd->{lun, target, channel} ==> cmd->device->{lun, id, channel} 1/3

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.

Signature · 5 lines
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.