patch-2.4.9 linux/arch/arm/lib/io-pcio.S
Next file: linux/arch/arm/lib/io-readsb.S
Previous file: linux/arch/arm/lib/io-acorn.S
Back to the patch index
Back to the overall index
- Lines: 51
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.4.8/linux/arch/arm/lib/io-pcio.S
- Orig date:
Thu Feb 8 16:32:44 2001
diff -u --recursive --new-file v2.4.8/linux/arch/arm/lib/io-pcio.S linux/arch/arm/lib/io-pcio.S
@@ -1,50 +0,0 @@
-#include <linux/linkage.h>
-#include <asm/assembler.h>
-#include <asm/hardware.h>
-
- .equ pcio_high, PCIO_BASE & 0xff000000
- .equ pcio_low, PCIO_BASE & 0x00ffffff
-
- .macro ioaddr, rd,rn
- add \rd, \rn, #pcio_high
- .if pcio_low
- add \rd, \rd, #pcio_low
- .endif
- .endm
-
-ENTRY(insl)
- ioaddr r0, r0
- teq r2, #0
- bne __arch_readsl
- RETINSTR(mov, pc, lr)
-
-ENTRY(outsl)
- ioaddr r0, r0
- teq r2, #0
- bne __arch_writesl
- RETINSTR(mov, pc, lr)
-
-ENTRY(outsw)
- ioaddr r0, r0
- teq r2, #0
- bne __arch_writesw
- RETINSTR(mov, pc, lr)
-
-ENTRY(insw)
- ioaddr r0, r0
- teq r2, #0
- bne __arch_readsw
- RETINSTR(mov, pc, lr)
-
-ENTRY(insb)
- ioaddr r0, r0
- teq r2, #0
- bne __arch_readsb
- RETINSTR(mov, pc, lr)
-
-ENTRY(outsb)
- ioaddr r0, r0
- teq r2, #0
- bne __arch_writesb
- RETINSTR(mov, pc, lr)
-
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)