patch-1.3.15 linux/drivers/scsi/53c7,8xx.c
Next file: linux/drivers/scsi/NCR5380.c
Previous file: linux/drivers/pci/pci.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Aug 1 10:02:39 1995
- Orig file:
v1.3.14/linux/drivers/scsi/53c7,8xx.c
- Orig date:
Thu Jun 29 19:02:42 1995
diff -u --recursive --new-file v1.3.14/linux/drivers/scsi/53c7,8xx.c linux/drivers/scsi/53c7,8xx.c
@@ -189,7 +189,7 @@
static void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd);
static void print_dsa (struct Scsi_Host *host, u32 *dsa);
static int print_insn (struct Scsi_Host *host, u32 *insn,
- char *prefix, int kernel);
+ const char *prefix, int kernel);
static void NCR53c8xx_dsa_fixup (struct NCR53c7x0_cmd *cmd);
static void NCR53c8x0_init_fixup (struct Scsi_Host *host);
@@ -3344,7 +3344,7 @@
unsigned char dcmd, sbcl;
struct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
host->hostdata;
- char *phase;
+ const char *phase;
NCR53c7x0_local_setup(host);
if (!cmd) {
@@ -3712,7 +3712,7 @@
*/
static int print_insn (struct Scsi_Host *host, u32 *insn,
- char *prefix, int kernel) {
+ const char *prefix, int kernel) {
char buf[80], /* Temporary buffer and pointer */
*tmp;
unsigned char dcmd; /* dcmd register for *insn */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this