via.c (42f1d57f055064ed320d7292b95819dd81dda409) | via.c (f9a015391e8908e68bd3147a8a5d8ac5f3ea2126) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * 6522 Versatile Interface Adapter (VIA) 4 * 5 * There are two of these on the Mac II. Some IRQs are vectored 6 * via them as are assorted bits and bobs - eg RTC, ADB. 7 * 8 * CSA: Motorola seems to have removed documentation on the 6522 from --- 595 unchanged lines hidden (view full) --- 604{ 605 clk_total += VIA_TIMER_CYCLES; 606 clk_offset = 0; 607 legacy_timer_tick(1); 608 609 return IRQ_HANDLED; 610} 611 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * 6522 Versatile Interface Adapter (VIA) 4 * 5 * There are two of these on the Mac II. Some IRQs are vectored 6 * via them as are assorted bits and bobs - eg RTC, ADB. 7 * 8 * CSA: Motorola seems to have removed documentation on the 6522 from --- 595 unchanged lines hidden (view full) --- 604{ 605 clk_total += VIA_TIMER_CYCLES; 606 clk_offset = 0; 607 legacy_timer_tick(1); 608 609 return IRQ_HANDLED; 610} 611 |
612void __init via_init_clock(irq_handler_t timer_routine) | 612void __init via_init_clock(void) |
613{ 614 if (request_irq(IRQ_MAC_TIMER_1, via_timer_handler, IRQF_TIMER, "timer", 615 NULL)) { 616 pr_err("Couldn't register %s interrupt\n", "timer"); 617 return; 618 } 619 620 via1[vT1LL] = VIA_TC_LOW; --- 37 unchanged lines hidden --- | 613{ 614 if (request_irq(IRQ_MAC_TIMER_1, via_timer_handler, IRQF_TIMER, "timer", 615 NULL)) { 616 pr_err("Couldn't register %s interrupt\n", "timer"); 617 return; 618 } 619 620 via1[vT1LL] = VIA_TC_LOW; --- 37 unchanged lines hidden --- |