summaryrefslogtreecommitdiff
path: root/drivers/scsi/arm/acornscsi-io.S
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/arm/acornscsi-io.S')
-rw-r--r--drivers/scsi/arm/acornscsi-io.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/arm/acornscsi-io.S b/drivers/scsi/arm/acornscsi-io.S
index 3c5d4f8485dc..5cebe3105260 100644
--- a/drivers/scsi/arm/acornscsi-io.S
+++ b/drivers/scsi/arm/acornscsi-io.S
@@ -10,6 +10,12 @@
#include <asm/assembler.h>
#include <asm/hardware.h>
+#if defined(__APCS_32__)
+#define LOADREGS(t,r,l...) ldm##t r, l
+#elif defined(__APCS_26__)
+#define LOADREGS(t,r,l...) ldm##t r, l##^
+#endif
+
@ Purpose: transfer a block of data from the acorn scsi card to memory
@ Proto : void acornscsi_in(unsigned int addr_start, char *buffer, int length)
@ Returns: nothing