Skip to content

Commit

Permalink
[ARM] rpc: acornscsi: remove unused 'ADDR' macro
Browse files Browse the repository at this point in the history
Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Jul 3, 2008
1 parent 36149f0 commit d8f8eb4
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions drivers/scsi/arm/acornscsi-io.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@
#include <asm/assembler.h>
#include <asm/hardware.h>

#if (IO_BASE == (PCIO_BASE & 0xff000000))
#define ADDR(off,reg) \
tst off, $0x80000000 ;\
mov reg, $IO_BASE ;\
orreq reg, reg, $(PCIO_BASE & 0x00ff0000)
#else
#define ADDR(off,reg) \
tst off, $0x80000000 ;\
movne reg, $IO_BASE ;\
moveq reg, $(PCIO_BASE & 0xff000000) ;\
orreq reg, reg, $(PCIO_BASE & 0x00ff0000)
#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
Expand Down

0 comments on commit d8f8eb4

Please sign in to comment.