patch-2.1.91 linux/drivers/scsi/scsi.h
Next file: linux/drivers/scsi/wd33c93.c
Previous file: linux/drivers/scsi/mvme16x.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Thu Mar 26 14:55:42 1998
- Orig file:
v2.1.90/linux/drivers/scsi/scsi.h
- Orig date:
Mon Feb 23 18:12:07 1998
diff -u --recursive --new-file v2.1.90/linux/drivers/scsi/scsi.h linux/drivers/scsi/scsi.h
@@ -312,7 +312,14 @@
#define ASKED_FOR_SENSE 0x20
+#ifdef __mc68000__
+#include <asm/pgtable.h>
+#define CONTIGUOUS_BUFFERS(X,Y) \
+ (virt_to_phys((X)->b_data+(X)->b_size-1)+1==virt_to_phys((Y)->b_data))
+#else
#define CONTIGUOUS_BUFFERS(X,Y) ((X->b_data+X->b_size) == Y->b_data)
+#endif
+
/*
* This is the crap from the old error handling code. We have it in a special
@@ -454,14 +461,6 @@
* because we did a bus reset. */
unsigned device_blocked:1; /* Device returned QUEUE_FULL. */
};
-
-#ifdef __mc68000__
-#include <asm/pgtable.h>
-#define CONTIGUOUS_BUFFERS(X,Y) \
- (virt_to_phys((X)->b_data+(X)->b_size-1)+1==virt_to_phys((Y)->b_data))
-#else
-#define CONTIGUOUS_BUFFERS(X,Y) ((X->b_data+X->b_size) == Y->b_data)
-#endif
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov