Messages in this thread | | | From | Pete Zaitcev <> | Subject | Shared IRQ for RTC | Date | Tue, 9 Nov 1999 13:04:28 -0800 (PST) |
| |
Hello:
I have a computer here that has IRQ line shared between RTC and a PCI slot (which I need to put 3C905 into). Can an kernel wizard out there tell me how difficult it would be to replace request_irq(.. SA_INTERRUPT ... NULL) with request_irq(.. SA_SHIRQ ... &rtc_something); ?
There is a comment in rtc.c which says
/* * A very tiny interrupt handler. It runs with SA_INTERRUPT set, * so that there is no possibility of conflicting with the * set_rtc_mmss() call that happens during some timer interrupts. * (See ./arch/XXXX/kernel/time.c for the set_rtc_mmss() function.) */
Also, the interrupt handler seem to count interrupts in rtc_irq_data. This can later be read from /dev/rtc. Obviously a flood of Ethernet interrupts will screw that. What application does read /dev/rtc? AFAIK hwclock does get/set ioctls only...
--Pete
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |