--- Gnu-Mach/linux/src/drivers/scsi/NCR5380.c 2020/09/02 04:41:39 1.1 +++ Gnu-Mach/linux/src/drivers/scsi/NCR5380.c 2020/09/02 04:48:54 1.1.1.3 @@ -30,52 +30,6 @@ */ /* - * $Log: NCR5380.c,v $ - * Revision 1.1 2020/09/02 04:41:39 root - * Initial revision - * - * Revision 1.1 1999/04/26 05:53:59 tb - * 1998-11-30 OKUJI Yoshinori - * - * Clean up linux emulation code to make it architecture-independent - * as much as possible. - * - * * linux: Renamed from linuxdev. - * * Makefile.in (objfiles): Add linux.o instead of linuxdev.o. - * (MAKE): New variable. Used for the linux.o target. - * * configure.in: Add AC_CHECK_TOOL(MAKE, make). - * * i386/i386/spl.h: Include , for compatibility with - * OSF Mach 3.0. Suggested by Elgin Lee . - * * linux/src: Renamed from linux/linux. - * * linux/dev: Renamed from linux/mach. - * * linux/Drivers.in (AC_INIT): Use dev/include/linux/autoconf.h, - * instead of mach/include/linux/autoconf.h. - * * Makefile.in (all): Target ../linux.o instead of ../linuxdev.o. - * * linux/dev/drivers/block/genhd.c: Include instead - * of . - * * linux/dev/drivers/net/auto_irq.c: Remove unneeded header files, - * and . - * * linux/dev/init/main.c: Many i386-dependent codes moved to ... - * * linux/dev/arch/i386/irq.c: ... here. - * * linux/dev/arch/i386/setup.c: New file. - * * linux/dev/arch/i386/linux_emul.h: Likewise. - * * linux/dev/arch/i386/glue/timer.c: Merged into sched.c. - * * linux/dev/arch/i386/glue/sched.c: Include instead - * of , and moved to ... - * * linux/dev/kernel/sched.c: ... here. - * * linux/dev/arch/i386/glue/block.c: Include and - * , instead of i386-dependent header files, and - * moved to ... - * * linux/dev/glue/blocl.c: ... here. - * * linux/dev/arch/i386/glue/net.c: Include and - * , instead of i386-dependent header files, and - * moved to ... - * * linux/dev/glue/net.c: ... here. - * * linux/dev/arch/i386/glue/misc.c: Remove `x86' and moved to ... - * * linux/dev/glue/misc.c: ... here. - * * linux/dev/arch/i386/glue/kmem.c: Moved to ... - * * linux/dev/glue/kmem.c: ... here. - * * Revision 1.7 1996/3/2 Ray Van Tassle (rayvt@comm.mot.com) * added proc_info * added support needed for DTC 3180/3280 @@ -1995,7 +1949,7 @@ static int do_abort (struct Scsi_Host *h * the target sees, so we just handshake. */ - while (!(tmp = NCR5380_read(STATUS_REG)) & SR_REQ); + while (!((tmp = NCR5380_read(STATUS_REG)) & SR_REQ)); NCR5380_write(TARGET_COMMAND_REG, PHASE_SR_TO_TCR(tmp)); @@ -2946,7 +2900,7 @@ static void NCR5380_reselect (struct Scs NCR5380_transfer_pio(instance, &phase, &len, &data); - if (!msg[0] & 0x80) { + if (!(msg[0] & 0x80)) { printk("scsi%d : expecting IDENTIFY message, got ", instance->host_no); print_msg(msg);