| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | /*
 | 
					
						
							| 
									
										
										
										
											2006-10-03 23:01:26 +02:00
										 |  |  |  * linux/arch/sh/boards/renesas/systemh/setup.c | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  |  * | 
					
						
							|  |  |  |  * Copyright (C) 2000  Kazumoto Kojima | 
					
						
							|  |  |  |  * Copyright (C) 2003  Paul Mundt | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Hitachi SystemH Support. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Modified for 7751 SystemH by Jonathan Short. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Rewritten for 2.6 by Paul Mundt. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * 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. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | #include <linux/init.h>
 | 
					
						
							|  |  |  | #include <asm/machvec.h>
 | 
					
						
							| 
									
										
										
										
											2006-09-27 15:41:24 +09:00
										 |  |  | #include <asm/systemh7751.h>
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | extern void make_systemh_irq(unsigned int irq); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*
 | 
					
						
							|  |  |  |  * Initialize IRQ setting | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2006-09-27 18:17:31 +09:00
										 |  |  | static void __init sh7751systemh_init_irq(void) | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | { | 
					
						
							|  |  |  | 	make_systemh_irq(0xb);	/* Ethernet interrupt */ | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-05-15 15:19:34 +09:00
										 |  |  | static struct sh_machine_vector mv_7751systemh __initmv = { | 
					
						
							| 
									
										
										
										
											2006-09-27 18:17:31 +09:00
										 |  |  | 	.mv_name		= "7751 SystemH", | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 	.mv_nr_irqs		= 72, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	.mv_inb			= sh7751systemh_inb, | 
					
						
							|  |  |  | 	.mv_inw			= sh7751systemh_inw, | 
					
						
							|  |  |  | 	.mv_inl			= sh7751systemh_inl, | 
					
						
							|  |  |  | 	.mv_outb		= sh7751systemh_outb, | 
					
						
							|  |  |  | 	.mv_outw		= sh7751systemh_outw, | 
					
						
							|  |  |  | 	.mv_outl		= sh7751systemh_outl, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	.mv_inb_p		= sh7751systemh_inb_p, | 
					
						
							|  |  |  | 	.mv_inw_p		= sh7751systemh_inw, | 
					
						
							|  |  |  | 	.mv_inl_p		= sh7751systemh_inl, | 
					
						
							|  |  |  | 	.mv_outb_p		= sh7751systemh_outb_p, | 
					
						
							|  |  |  | 	.mv_outw_p		= sh7751systemh_outw, | 
					
						
							|  |  |  | 	.mv_outl_p		= sh7751systemh_outl, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	.mv_insb		= sh7751systemh_insb, | 
					
						
							|  |  |  | 	.mv_insw		= sh7751systemh_insw, | 
					
						
							|  |  |  | 	.mv_insl		= sh7751systemh_insl, | 
					
						
							|  |  |  | 	.mv_outsb		= sh7751systemh_outsb, | 
					
						
							|  |  |  | 	.mv_outsw		= sh7751systemh_outsw, | 
					
						
							|  |  |  | 	.mv_outsl		= sh7751systemh_outsl, | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-10-03 13:14:04 +09:00
										 |  |  | 	.mv_init_irq		= sh7751systemh_init_irq, | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | }; |