--- Gnu-Mach/linux/src/drivers/scsi/gdth.c 2020/09/02 04:41:40 1.1.1.1 +++ Gnu-Mach/linux/src/drivers/scsi/gdth.c 2020/09/02 04:46:30 1.1.1.2 @@ -22,52 +22,6 @@ * * * Tested with Linux 1.2.13, ..., 2.1.103 * * * - * $Log: gdth.c,v $ - * Revision 1.1.1.1 2020/09/02 04:41:40 root - * GNU Mach 1.2 - * - * Revision 1.1 1999/04/26 05:54:35 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.16 1998/09/28 16:08:46 achim * GDT_PCIMPR: DPMEM remapping, if required * mdelay() added @@ -133,7 +87,7 @@ * Initial revision * * - * $Id: gdth.c,v 1.1.1.1 2020/09/02 04:41:40 root Exp $ + * $Id: gdth.c,v 1.1.1.2 2020/09/02 04:46:30 root Exp $ ************************************************************************/ #ifdef MODULE @@ -2897,8 +2851,9 @@ __initfunc (int gdth_detect(Scsi_Host_Te ushort eisa_slot,device_id,index; gdth_pci_str pcistr; int i,j,hanum; +#if LINUX_VERSION_CODE < 0x020000 unchar b; - +#endif #ifdef DEBUG_GDTH printk("GDT: This driver contains debugging information !! Trace level = %d\n", @@ -2924,7 +2879,7 @@ __initfunc (int gdth_detect(Scsi_Host_Te } /* initializations */ - gdth_polling = TRUE; b = 0; + gdth_polling = TRUE; for (i=0; i