patch-2.2.19 linux/drivers/scsi/i60uscsi.h
Next file: linux/drivers/scsi/osst.c
Previous file: linux/drivers/scsi/i60uscsi.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Sun Mar 25 11:37:36 2001
- Orig file:
v2.2.18/drivers/scsi/i60uscsi.h
- Orig date:
Sun Mar 25 11:13:03 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/drivers/scsi/i60uscsi.h linux/drivers/scsi/i60uscsi.h
@@ -78,6 +78,14 @@
#define U32 unsigned long
#endif
+#ifndef VIRT_TO_BUS
+#define VIRT_TO_BUS(x) (unsigned long)virt_to_bus((void *) x)
+#endif
+
+#ifndef VIRT_TO_BUS
+#define VIRT_TO_BUS(x) (unsigned int)virt_to_bus((void *) x)
+#endif
+
#ifndef NULL
#define NULL 0 /* zero */
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)