config.c (42f1d57f055064ed320d7292b95819dd81dda409) | config.c (f9a015391e8908e68bd3147a8a5d8ac5f3ea2126) |
---|---|
1/* 2 * linux/arch/m68k/amiga/config.c 3 * 4 * Copyright (C) 1993 Hamish Macdonald 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. --- 78 unchanged lines hidden (view full) --- 87 [AMI_4000T-AMI_500] = s_a4000t, 88 [AMI_CDTV-AMI_500] = s_cdtv, 89 [AMI_CD32-AMI_500] = s_cd32, 90 [AMI_DRACO-AMI_500] = s_draco, 91}; 92 93static char amiga_model_name[13] = "Amiga "; 94 | 1/* 2 * linux/arch/m68k/amiga/config.c 3 * 4 * Copyright (C) 1993 Hamish Macdonald 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. --- 78 unchanged lines hidden (view full) --- 87 [AMI_4000T-AMI_500] = s_a4000t, 88 [AMI_CDTV-AMI_500] = s_cdtv, 89 [AMI_CD32-AMI_500] = s_cd32, 90 [AMI_DRACO-AMI_500] = s_draco, 91}; 92 93static char amiga_model_name[13] = "Amiga "; 94 |
95static void amiga_sched_init(irq_handler_t handler); | 95static void amiga_sched_init(void); |
96static void amiga_get_model(char *model); 97static void amiga_get_hardware_list(struct seq_file *m); 98extern void amiga_mksound(unsigned int count, unsigned int ticks); 99static void amiga_reset(void); 100extern void amiga_init_sound(void); 101static void amiga_mem_console_write(struct console *co, const char *b, 102 unsigned int count); 103#ifdef CONFIG_HEARTBEAT --- 374 unchanged lines hidden (view full) --- 478 clk_total += jiffy_ticks; 479 clk_offset = 0; 480 legacy_timer_tick(1); 481 timer_heartbeat(); 482 483 return IRQ_HANDLED; 484} 485 | 96static void amiga_get_model(char *model); 97static void amiga_get_hardware_list(struct seq_file *m); 98extern void amiga_mksound(unsigned int count, unsigned int ticks); 99static void amiga_reset(void); 100extern void amiga_init_sound(void); 101static void amiga_mem_console_write(struct console *co, const char *b, 102 unsigned int count); 103#ifdef CONFIG_HEARTBEAT --- 374 unchanged lines hidden (view full) --- 478 clk_total += jiffy_ticks; 479 clk_offset = 0; 480 legacy_timer_tick(1); 481 timer_heartbeat(); 482 483 return IRQ_HANDLED; 484} 485 |
486static void __init amiga_sched_init(irq_handler_t timer_routine) | 486static void __init amiga_sched_init(void) |
487{ 488 static struct resource sched_res = { 489 .name = "timer", .start = 0x00bfd400, .end = 0x00bfd5ff, 490 }; 491 jiffy_ticks = DIV_ROUND_CLOSEST(amiga_eclock, HZ); 492 493 if (request_resource(&mb_resources._ciab, &sched_res)) 494 pr_warn("Cannot allocate ciab.ta{lo,hi}\n"); --- 364 unchanged lines hidden --- | 487{ 488 static struct resource sched_res = { 489 .name = "timer", .start = 0x00bfd400, .end = 0x00bfd5ff, 490 }; 491 jiffy_ticks = DIV_ROUND_CLOSEST(amiga_eclock, HZ); 492 493 if (request_resource(&mb_resources._ciab, &sched_res)) 494 pr_warn("Cannot allocate ciab.ta{lo,hi}\n"); --- 364 unchanged lines hidden --- |