mirror of
				https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
				synced 2025-10-31 08:08:51 +01:00 
			
		
		
		
	Fixed MTP to work with TWRP
This commit is contained in:
		
						commit
						f6dfaef42e
					
				
					 50820 changed files with 20846062 additions and 0 deletions
				
			
		
							
								
								
									
										34
									
								
								arch/mips/include/asm/txx9irq.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								arch/mips/include/asm/txx9irq.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,34 @@ | |||
| /*
 | ||||
|  * include/asm-mips/txx9irq.h | ||||
|  * TX39/TX49 interrupt controller definitions. | ||||
|  * | ||||
|  * This file is subject to the terms and conditions of the GNU General Public | ||||
|  * License.  See the file "COPYING" in the main directory of this archive | ||||
|  * for more details. | ||||
|  */ | ||||
| #ifndef __ASM_TXX9IRQ_H | ||||
| #define __ASM_TXX9IRQ_H | ||||
| 
 | ||||
| #include <irq.h> | ||||
| 
 | ||||
| #ifdef CONFIG_IRQ_CPU | ||||
| #define TXX9_IRQ_BASE	(MIPS_CPU_IRQ_BASE + 8) | ||||
| #else | ||||
| #ifdef CONFIG_I8259 | ||||
| #define TXX9_IRQ_BASE	(I8259A_IRQ_BASE + 16) | ||||
| #else | ||||
| #define TXX9_IRQ_BASE	0 | ||||
| #endif | ||||
| #endif | ||||
| 
 | ||||
| #ifdef CONFIG_CPU_TX39XX | ||||
| #define TXx9_MAX_IR 16 | ||||
| #else | ||||
| #define TXx9_MAX_IR 32 | ||||
| #endif | ||||
| 
 | ||||
| void txx9_irq_init(unsigned long baseaddr); | ||||
| int txx9_irq(void); | ||||
| int txx9_irq_set_pri(int irc_irq, int new_pri); | ||||
| 
 | ||||
| #endif /* __ASM_TXX9IRQ_H */ | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 awab228
						awab228