From 6539eed842af755d3ffea581e11b86ca8c5be94d Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 4 May 2001 20:43:25 +0000 Subject: Mips32 fixes from Carsten. --- drivers/scsi/sym53c8xx_defs.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'drivers') diff --git a/drivers/scsi/sym53c8xx_defs.h b/drivers/scsi/sym53c8xx_defs.h index 2ad3afd3c..3d38346f9 100644 --- a/drivers/scsi/sym53c8xx_defs.h +++ b/drivers/scsi/sym53c8xx_defs.h @@ -408,11 +408,6 @@ #define readl_l2b(a) le32_to_cpu(readl(a)) #define writew_b2l(v,a) writew(cpu_to_le16(v),a) #define writel_b2l(v,a) writel(cpu_to_le32(v),a) -#else /* Other bid-endian */ -#define readw_l2b readw -#define readl_l2b readl -#define writew_b2l writew -#define writel_b2l writel #elif defined(__mips__) #define readw_l2b readw #define readl_l2b readl @@ -422,6 +417,11 @@ #define inl_l2b inl #define outw_b2l outw #define outl_b2l outl +#else /* Other big-endian */ +#define readw_l2b readw +#define readl_l2b readl +#define writew_b2l writew +#define writel_b2l writel #endif #else /* little endian */ -- cgit v1.2.3