Commit a7da75a0 authored by Randy Dunlap's avatar Randy Dunlap Committed by Anton Blanchard

[PATCH] advansys build with ADVANSYS_DEBUG defined

This patch enables the advansys driver to build when
ADVANSYS_DEBUG is #defined.

patch_name:	scsi_advan_260t3.patch
patch_version:	2003-08-10.22:37:15
author:		Randy.Dunlap <rddunlap@osdl.org>
description:	enable compile with ADVANSYS_DEBUG #defined
product:	Linux
product_versions: 260-test3
URL:		_
maintainer:	unknown
diffstat:	=
 drivers/scsi/advansys.c |   13 +++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
parent d72f4eb1
......@@ -6360,8 +6360,8 @@ advansys_slave_configure(Scsi_Device *device)
} else {
scsi_adjust_queue_depth(device, 0, device->host->cmd_per_lun);
}
ASC_DBG3(1, "advansys_slave_configure: shp 0x%lx, id %d, depth %d\n",
(ulong) shp, device->id, device->queue_depth);
ASC_DBG4(1, "advansys_slave_configure: device 0x%lx, boardp 0x%lx, id %d, depth %d\n",
(ulong) device, (ulong) boardp, device->id, device->queue_depth);
return 0;
}
......@@ -9352,8 +9352,8 @@ asc_prt_scsi_host(struct Scsi_Host *s)
printk("Scsi_Host at addr 0x%lx\n", (ulong) s);
printk(
" next 0x%lx, host_busy %u, host_no %d, last_reset %d,\n",
(ulong) s->next, s->host_busy, s->host_no,
" host_busy %u, host_no %d, last_reset %d,\n",
s->host_busy, s->host_no,
(unsigned) s->last_reset);
#if ASC_LINUX_KERNEL24
......@@ -9397,8 +9397,8 @@ asc_prt_scsi_cmnd(Scsi_Cmnd *s)
printk(
" host 0x%lx, device 0x%lx, target %u, lun %u, channel %u,\n",
(ulong) s->host, (ulong) s->device, s->target, s->lun,
s->channel);
(ulong) s->device->host, (ulong) s->device, s->device->id, s->device->lun,
s->device->channel);
asc_prt_hex(" CDB", s->cmnd, s->cmd_len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment