[SCSI] scsi: t128 scsi_cmnd convertion
Changes the obsolete Scsi_Cmnd to struct scsi_cmnd and remove the trailing whitespaces. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
297295ae66
commit
667c667f86
1 changed files with 20 additions and 19 deletions
|
@ -92,12 +92,13 @@
|
|||
#define T_DATA_REG_OFFSET 0x1e00 /* rw 512 bytes long */
|
||||
|
||||
#ifndef ASM
|
||||
static int t128_abort(Scsi_Cmnd *);
|
||||
static int t128_abort(struct scsi_cmnd *);
|
||||
static int t128_biosparam(struct scsi_device *, struct block_device *,
|
||||
sector_t, int*);
|
||||
static int t128_detect(struct scsi_host_template *);
|
||||
static int t128_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
|
||||
static int t128_bus_reset(Scsi_Cmnd *);
|
||||
static int t128_queue_command(struct scsi_cmnd *,
|
||||
void (*done)(struct scsi_cmnd *));
|
||||
static int t128_bus_reset(struct scsi_cmnd *);
|
||||
|
||||
#ifndef CMD_PER_LUN
|
||||
#define CMD_PER_LUN 2
|
||||
|
@ -129,7 +130,7 @@ static int t128_bus_reset(Scsi_Cmnd *);
|
|||
, instance->hostno, (reg), T128_address(reg))), readb(T128_address(reg)))
|
||||
|
||||
#define NCR5380_write(reg, value) { \
|
||||
printk("scsi%d : write %02x to register %d at address %08x\n", \
|
||||
printk("scsi%d : write %02x to register %d at address %08x\n", \
|
||||
instance->hostno, (value), (reg), T128_address(reg)); \
|
||||
writeb((value), (T128_address(reg))); \
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue