| 
									
										
										
										
											2006-09-27 15:59:17 +09:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * arch/sh/drivers/pci/fixups-r7780rp.c | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Highlander R7780RP-1 PCI fixups | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Copyright (C) 2003  Lineo uSolutions, Inc. | 
					
						
							| 
									
										
										
										
											2006-09-27 16:43:28 +09:00
										 |  |  |  * Copyright (C) 2004 - 2006  Paul Mundt | 
					
						
							| 
									
										
										
										
											2006-09-27 15:59:17 +09:00
										 |  |  |  * | 
					
						
							|  |  |  |  * 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. | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2006-09-27 16:43:28 +09:00
										 |  |  | #include <linux/pci.h>
 | 
					
						
							| 
									
										
										
										
											2009-04-17 20:11:44 +09:00
										 |  |  | #include <linux/io.h>
 | 
					
						
							| 
									
										
										
										
											2012-05-18 17:42:29 +09:00
										 |  |  | #include <linux/sh_intc.h>
 | 
					
						
							| 
									
										
										
										
											2006-09-27 16:43:28 +09:00
										 |  |  | #include "pci-sh4.h"
 | 
					
						
							| 
									
										
										
										
											2006-09-27 15:59:17 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-06-10 15:30:21 +01:00
										 |  |  | int __init pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) | 
					
						
							| 
									
										
										
										
											2009-04-17 20:11:44 +09:00
										 |  |  | { | 
					
						
							| 
									
										
										
										
											2012-05-18 17:42:29 +09:00
										 |  |  | 	return evt2irq(0xa20) + slot; | 
					
						
							| 
									
										
										
										
											2009-04-17 20:11:44 +09:00
										 |  |  | } |