MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-m68knommu / machdep.h
blob3e4905f72a53b80357839734748e9a80ad0f4de3
1 #ifndef _M68KNOMMU_MACHDEP_H
2 #define _M68KNOMMU_MACHDEP_H
4 #include <linux/seq_file.h>
5 #include <linux/interrupt.h>
7 struct pt_regs;
8 struct kbd_repeat;
9 struct mktime;
10 struct rtc_time;
11 struct rtc_pll_info;
12 struct gendisk;
13 struct buffer_head;
15 extern void (*mach_sched_init) (irqreturn_t (*handler)(int, void *, struct pt_regs *));
16 /* machine dependent keyboard functions */
17 extern int (*mach_keyb_init) (void);
18 extern int (*mach_kbdrate) (struct kbd_repeat *);
19 extern void (*mach_kbd_leds) (unsigned int);
20 /* machine dependent irq functions */
21 extern void (*mach_init_IRQ) (void);
22 extern irq_handler_t mach_default_handler;
23 extern int (*mach_request_irq) (unsigned int irq, void (*handler)(int, void *, struct pt_regs *),
24 unsigned long flags, const char *devname, void *dev_id);
25 extern void (*mach_free_irq) (unsigned int irq, void *dev_id);
26 extern void (*mach_get_model) (char *model);
27 extern int (*mach_get_hardware_list) (char *buffer);
28 extern int (*mach_get_irq_list) (struct seq_file *p, void *v);
29 extern void (*mach_process_int) (int irq, struct pt_regs *fp);
30 /* machine dependent timer functions */
31 extern unsigned long (*mach_gettimeoffset)(void);
32 extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
33 int *min, int *sec);
34 extern int (*mach_hwclk)(int, struct rtc_time*);
35 extern int (*mach_set_clock_mmss)(unsigned long);
36 extern unsigned int (*mach_get_ss)(void);
37 extern int (*mach_get_rtc_pll)(struct rtc_pll_info *pll);
38 extern int (*mach_set_rtc_pll)(struct rtc_pll_info *pll);
39 extern void (*mach_reset)( void );
40 extern void (*mach_halt)( void );
41 extern void (*mach_power_off)( void );
42 extern unsigned long (*mach_hd_init) (unsigned long, unsigned long);
43 extern void (*mach_hd_setup)(char *, int *);
44 extern long mach_max_dma_address;
45 extern void (*mach_floppy_eject)(void);
46 extern void (*mach_heartbeat) (int);
47 extern void (*mach_l2_flush) (int);
48 extern int mach_sysrq_key;
49 extern int mach_sysrq_shift_state;
50 extern int mach_sysrq_shift_mask;
51 extern char *mach_sysrq_xlate;
53 extern void config_BSP(char *command, int len);
54 extern void (*mach_tick)(void);
55 extern void (*mach_trap_init)(void);
57 #endif /* _M68KNOMMU_MACHDEP_H */