Linux Audio

Check our new training course

Loading...
v3.15
 
 1/*
 2 * arch/sh/boards/dreamcast/setup.c
 3 *
 4 * Hardware support for the Sega Dreamcast.
 5 *
 6 * Copyright (c) 2001, 2002 M. R. Brown <mrbrown@linuxdc.org>
 7 * Copyright (c) 2002, 2003, 2004 Paul Mundt <lethal@linux-sh.org>
 8 *
 9 * This file is part of the LinuxDC project (www.linuxdc.org)
10 *
11 * Released under the terms of the GNU GPL v2.0.
12 *
13 * This file originally bore the message (with enclosed-$):
14 *	Id: setup_dc.c,v 1.5 2001/05/24 05:09:16 mrbrown Exp
15 *	SEGA Dreamcast support
16 */
17
18#include <linux/sched.h>
19#include <linux/kernel.h>
20#include <linux/param.h>
21#include <linux/interrupt.h>
22#include <linux/init.h>
23#include <linux/irq.h>
24#include <linux/device.h>
25#include <asm/io.h>
26#include <asm/irq.h>
27#include <asm/rtc.h>
28#include <asm/machvec.h>
29#include <mach/sysasic.h>
30
31static void __init dreamcast_setup(char **cmdline_p)
32{
33	board_time_init = aica_time_init;
34}
35
36static struct sh_machine_vector mv_dreamcast __initmv = {
37	.mv_name		= "Sega Dreamcast",
38	.mv_setup		= dreamcast_setup,
39	.mv_irq_demux		= systemasic_irq_demux,
40	.mv_init_irq		= systemasic_irq_init,
41};
v5.14.15
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * arch/sh/boards/dreamcast/setup.c
 4 *
 5 * Hardware support for the Sega Dreamcast.
 6 *
 7 * Copyright (c) 2001, 2002 M. R. Brown <mrbrown@linuxdc.org>
 8 * Copyright (c) 2002, 2003, 2004 Paul Mundt <lethal@linux-sh.org>
 9 *
10 * This file is part of the LinuxDC project (www.linuxdc.org)
11 *
 
 
12 * This file originally bore the message (with enclosed-$):
13 *	Id: setup_dc.c,v 1.5 2001/05/24 05:09:16 mrbrown Exp
14 *	SEGA Dreamcast support
15 */
16
17#include <linux/sched.h>
18#include <linux/kernel.h>
19#include <linux/param.h>
20#include <linux/interrupt.h>
21#include <linux/init.h>
22#include <linux/irq.h>
23#include <linux/device.h>
24#include <asm/io.h>
25#include <asm/irq.h>
26#include <asm/rtc.h>
27#include <asm/machvec.h>
28#include <mach/sysasic.h>
29
30static void __init dreamcast_setup(char **cmdline_p)
31{
 
32}
33
34static struct sh_machine_vector mv_dreamcast __initmv = {
35	.mv_name		= "Sega Dreamcast",
36	.mv_setup		= dreamcast_setup,
37	.mv_irq_demux		= systemasic_irq_demux,
38	.mv_init_irq		= systemasic_irq_init,
39};