| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * arch/sh/boards/dreamcast/setup.c | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Hardware support for the Sega Dreamcast. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Copyright (c) 2001, 2002 M. R. Brown <mrbrown@linuxdc.org> | 
					
						
							|  |  |  |  * Copyright (c) 2002, 2003, 2004 Paul Mundt <lethal@linux-sh.org> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This file is part of the LinuxDC project (www.linuxdc.org) | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Released under the terms of the GNU GPL v2.0. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This file originally bore the message (with enclosed-$): | 
					
						
							|  |  |  |  *	Id: setup_dc.c,v 1.5 2001/05/24 05:09:16 mrbrown Exp | 
					
						
							|  |  |  |  *	SEGA Dreamcast support | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <linux/sched.h>
 | 
					
						
							|  |  |  | #include <linux/kernel.h>
 | 
					
						
							|  |  |  | #include <linux/param.h>
 | 
					
						
							|  |  |  | #include <linux/interrupt.h>
 | 
					
						
							|  |  |  | #include <linux/init.h>
 | 
					
						
							|  |  |  | #include <linux/irq.h>
 | 
					
						
							|  |  |  | #include <linux/device.h>
 | 
					
						
							|  |  |  | #include <asm/io.h>
 | 
					
						
							|  |  |  | #include <asm/irq.h>
 | 
					
						
							| 
									
										
										
										
											2006-09-27 12:31:01 +09:00
										 |  |  | #include <asm/rtc.h>
 | 
					
						
							| 
									
										
										
										
											2008-07-29 08:24:50 +09:00
										 |  |  | #include <asm/machvec.h>
 | 
					
						
							| 
									
										
										
										
											2008-07-29 08:09:44 +09:00
										 |  |  | #include <mach/sysasic.h>
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-09-27 18:17:31 +09:00
										 |  |  | static void __init dreamcast_setup(char **cmdline_p) | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | { | 
					
						
							|  |  |  | 	board_time_init = aica_time_init; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2006-09-27 18:17:31 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-05-15 15:19:34 +09:00
										 |  |  | static struct sh_machine_vector mv_dreamcast __initmv = { | 
					
						
							| 
									
										
										
										
											2006-09-27 18:17:31 +09:00
										 |  |  | 	.mv_name		= "Sega Dreamcast", | 
					
						
							|  |  |  | 	.mv_setup		= dreamcast_setup, | 
					
						
							|  |  |  | 	.mv_irq_demux		= systemasic_irq_demux, | 
					
						
							| 
									
										
										
										
											2010-02-02 18:01:55 +09:00
										 |  |  | 	.mv_init_irq		= systemasic_irq_init, | 
					
						
							| 
									
										
										
										
											2006-09-27 18:17:31 +09:00
										 |  |  | }; |