mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Merge branch 'pxa-all' into devel
Conflicts: arch/arm/mach-pxa/Kconfig arch/arm/mach-pxa/corgi.c arch/arm/mach-pxa/include/mach/hardware.h arch/arm/mach-pxa/spitz.c
This commit is contained in:
commit
3f30a09a61
193 changed files with 15153 additions and 5311 deletions
|
|
@ -572,8 +572,8 @@ static void pxa_irda_startup(struct pxa_irda *si)
|
|||
ICCR2 = ICCR2_TXP | ICCR2_TRIG_32;
|
||||
|
||||
/* configure DMAC */
|
||||
DRCMR17 = si->rxdma | DRCMR_MAPVLD;
|
||||
DRCMR18 = si->txdma | DRCMR_MAPVLD;
|
||||
DRCMR(17) = si->rxdma | DRCMR_MAPVLD;
|
||||
DRCMR(18) = si->txdma | DRCMR_MAPVLD;
|
||||
|
||||
/* force SIR reinitialization */
|
||||
si->speed = 4000000;
|
||||
|
|
@ -602,8 +602,8 @@ static void pxa_irda_shutdown(struct pxa_irda *si)
|
|||
/* disable the STUART or FICP clocks */
|
||||
pxa_irda_disable_clk(si);
|
||||
|
||||
DRCMR17 = 0;
|
||||
DRCMR18 = 0;
|
||||
DRCMR(17) = 0;
|
||||
DRCMR(18) = 0;
|
||||
|
||||
local_irq_restore(flags);
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,8 @@
|
|||
#if defined(CONFIG_ARCH_LUBBOCK) ||\
|
||||
defined(CONFIG_MACH_MAINSTONE) ||\
|
||||
defined(CONFIG_MACH_ZYLONITE) ||\
|
||||
defined(CONFIG_MACH_LITTLETON)
|
||||
defined(CONFIG_MACH_LITTLETON) ||\
|
||||
defined(CONFIG_ARCH_VIPER)
|
||||
|
||||
#include <asm/mach-types.h>
|
||||
|
||||
|
|
@ -778,14 +779,6 @@ smc_pxa_dma_irq(int dma, void *dummy)
|
|||
#define RPC_ANEG 0x0800 // When 1 PHY is in Auto-Negotiate Mode
|
||||
#define RPC_LSXA_SHFT 5 // Bits to shift LS2A,LS1A,LS0A to lsb
|
||||
#define RPC_LSXB_SHFT 2 // Bits to get LS2B,LS1B,LS0B to lsb
|
||||
#define RPC_LED_100_10 (0x00) // LED = 100Mbps OR's with 10Mbps link detect
|
||||
#define RPC_LED_RES (0x01) // LED = Reserved
|
||||
#define RPC_LED_10 (0x02) // LED = 10Mbps link detect
|
||||
#define RPC_LED_FD (0x03) // LED = Full Duplex Mode
|
||||
#define RPC_LED_TX_RX (0x04) // LED = TX or RX packet occurred
|
||||
#define RPC_LED_100 (0x05) // LED = 100Mbps link dectect
|
||||
#define RPC_LED_TX (0x06) // LED = TX packet occurred
|
||||
#define RPC_LED_RX (0x07) // LED = RX packet occurred
|
||||
|
||||
#ifndef RPC_LSA_DEFAULT
|
||||
#define RPC_LSA_DEFAULT RPC_LED_100
|
||||
|
|
|
|||
Loading…
Reference in a new issue