diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-04-19 10:13:45 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-03 09:25:56 -0400 |
commit | 324b9337f246e5f00aad10220d8d4bc13f1922ed (patch) | |
tree | 20611de47c59b158533d438297ec0e93bf0a166a /drivers/scsi/arm/acornscsi-io.S | |
parent | d8f8eb43e9d6d5789f37c8a80db99af894944d41 (diff) |
[ARM] rpc: acornscsi: fixup abort/reset methods, fix build errors
Revive the AcornSCSI driver, update it for the replacement command
abort and host reset methods, and fix the build errors in
acornscsi-io.S.
Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/scsi/arm/acornscsi-io.S')
-rw-r--r-- | drivers/scsi/arm/acornscsi-io.S | 6 |
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 @@ | |||
10 | #include <asm/assembler.h> | 10 | #include <asm/assembler.h> |
11 | #include <asm/hardware.h> | 11 | #include <asm/hardware.h> |
12 | 12 | ||
13 | #if defined(__APCS_32__) | ||
14 | #define LOADREGS(t,r,l...) ldm##t r, l | ||
15 | #elif defined(__APCS_26__) | ||
16 | #define LOADREGS(t,r,l...) ldm##t r, l##^ | ||
17 | #endif | ||
18 | |||
13 | @ Purpose: transfer a block of data from the acorn scsi card to memory | 19 | @ Purpose: transfer a block of data from the acorn scsi card to memory |
14 | @ Proto : void acornscsi_in(unsigned int addr_start, char *buffer, int length) | 20 | @ Proto : void acornscsi_in(unsigned int addr_start, char *buffer, int length) |
15 | @ Returns: nothing | 21 | @ Returns: nothing |