Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Conflicts: drivers/firmware/iscsi_ibft.c
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <asm/pb1000.h>
|
||||
#elif defined(CONFIG_MIPS_DB1000) || defined(CONFIG_MIPS_DB1100)
|
||||
#include <asm/db1x00.h>
|
||||
#include <asm/mach-db1x00/bcsr.h>
|
||||
#else
|
||||
#error au1k_ir: unsupported board
|
||||
#endif
|
||||
@@ -66,10 +67,6 @@ static char version[] __devinitdata =
|
||||
|
||||
#define RUN_AT(x) (jiffies + (x))
|
||||
|
||||
#if defined(CONFIG_MIPS_DB1000) || defined(CONFIG_MIPS_DB1100)
|
||||
static BCSR * const bcsr = (BCSR *)0xAE000000;
|
||||
#endif
|
||||
|
||||
static DEFINE_SPINLOCK(ir_lock);
|
||||
|
||||
/*
|
||||
@@ -282,9 +279,8 @@ static int au1k_irda_net_init(struct net_device *dev)
|
||||
|
||||
#if defined(CONFIG_MIPS_DB1000) || defined(CONFIG_MIPS_DB1100)
|
||||
/* power on */
|
||||
bcsr->resets &= ~BCSR_RESETS_IRDA_MODE_MASK;
|
||||
bcsr->resets |= BCSR_RESETS_IRDA_MODE_FULL;
|
||||
au_sync();
|
||||
bcsr_mod(BCSR_RESETS, BCSR_RESETS_IRDA_MODE_MASK,
|
||||
BCSR_RESETS_IRDA_MODE_FULL);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
@@ -720,14 +716,14 @@ au1k_irda_set_speed(struct net_device *dev, int speed)
|
||||
|
||||
if (speed == 4000000) {
|
||||
#if defined(CONFIG_MIPS_DB1000) || defined(CONFIG_MIPS_DB1100)
|
||||
bcsr->resets |= BCSR_RESETS_FIR_SEL;
|
||||
bcsr_mod(BCSR_RESETS, 0, BCSR_RESETS_FIR_SEL);
|
||||
#else /* Pb1000 and Pb1100 */
|
||||
writel(1<<13, CPLD_AUX1);
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
#if defined(CONFIG_MIPS_DB1000) || defined(CONFIG_MIPS_DB1100)
|
||||
bcsr->resets &= ~BCSR_RESETS_FIR_SEL;
|
||||
bcsr_mod(BCSR_RESETS, BCSR_RESETS_FIR_SEL, 0);
|
||||
#else /* Pb1000 and Pb1100 */
|
||||
writel(readl(CPLD_AUX1) & ~(1<<13), CPLD_AUX1);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user