patch-1.3.5 linux/drivers/scsi/in2000.c
Next file: linux/drivers/scsi/in2000.h
Previous file: linux/drivers/scsi/hosts.h
Back to the patch index
Back to the overall index
-  Lines: 38
-  Date:
Thu Jun 29 11:19:11 1995
-  Orig file: 
v1.3.4/linux/drivers/scsi/in2000.c
-  Orig date: 
Tue May  2 07:34:38 1995
diff -u --recursive --new-file v1.3.4/linux/drivers/scsi/in2000.c linux/drivers/scsi/in2000.c
@@ -54,14 +54,17 @@
  * larger SCSI hard drives (untested).
  */
 
+#ifdef MODULE
+#include <linux/module.h>
+#endif
+
 #include <linux/kernel.h>
 #include <linux/head.h>
 #include <linux/types.h>
 #include <linux/string.h>
-
 #include <linux/sched.h>
+#include <linux/proc_fs.h>
 #include <asm/dma.h>
-
 #include <asm/system.h>
 #include <asm/io.h>
 #include "../block/blk.h"
@@ -235,7 +238,7 @@
 	  else if(fic > 64) count = 512;
 	    else if (fic > 32) count = 256;
 	      else if ( count2 < in2000_datalen ) /* if drive has < what we want */
-	        count = in2000_datalen - count2;	/* FIFO has the rest */
+		count = in2000_datalen - count2;	/* FIFO has the rest */
 	if ( count > in2000_datalen )	/* count2 is lesser of FIFO & rqst */
 	    count2 = in2000_datalen >> 1;	/* converted to word count */
 	else
@@ -544,7 +547,7 @@
     outb(CONTROL,INSTAT);	/* WD BUS Mode */
     outb(0x4C,INDATA);
     if ( in2000_datalen )		/* if data xfer cmd */
-        outb(0,ININTR);		/* Enable FIFO intrpt some boards? */
+	outb(0,ININTR);		/* Enable FIFO intrpt some boards? */
     outb(COMMAND,INSTAT);
     outb(0,INNLED);
     outb(8,INDATA);		/* Select w/ATN & Transfer */
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