Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hpsim_setup.c
Go to the documentation of this file.
1 /*
2  * Platform dependent support for HP simulator.
3  *
4  * Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co
5  * David Mosberger-Tang <[email protected]>
6  * Copyright (C) 1999 Vijay Chander <[email protected]>
7  */
8 #include <linux/console.h>
9 #include <linux/init.h>
10 #include <linux/kdev_t.h>
11 #include <linux/kernel.h>
12 #include <linux/major.h>
13 #include <linux/param.h>
14 #include <linux/root_dev.h>
15 #include <linux/string.h>
16 #include <linux/types.h>
17 
18 #include <asm/delay.h>
19 #include <asm/irq.h>
20 #include <asm/pal.h>
21 #include <asm/machvec.h>
22 #include <asm/pgtable.h>
23 #include <asm/sal.h>
24 #include <asm/hpsim.h>
25 
26 #include "hpsim_ssc.h"
27 
28 void
29 ia64_ctl_trace (long on)
30 {
31  ia64_ssc(on, 0, 0, 0, SSC_CTL_TRACE);
32 }
33 
34 void __init
35 hpsim_setup (char **cmdline_p)
36 {
37  ROOT_DEV = Root_SDA1; /* default to first SCSI drive */
38 
40 }