neponset.c (710455201f6690841e9a40bedba09ddd0a7e0620) | neponset.c (6ad1b614007c556129989b9f6b020d0d2e058121) |
---|---|
1/* 2 * linux/arch/arm/mach-sa1100/neponset.c 3 * 4 */ 5#include <linux/kernel.h> 6#include <linux/init.h> 7#include <linux/tty.h> 8#include <linux/ioport.h> --- 6 unchanged lines hidden (view full) --- 15#include <asm/mach/map.h> 16#include <asm/mach/irq.h> 17#include <asm/mach/serial_sa1100.h> 18#include <mach/assabet.h> 19#include <mach/neponset.h> 20#include <asm/hardware/sa1111.h> 21#include <asm/sizes.h> 22 | 1/* 2 * linux/arch/arm/mach-sa1100/neponset.c 3 * 4 */ 5#include <linux/kernel.h> 6#include <linux/init.h> 7#include <linux/tty.h> 8#include <linux/ioport.h> --- 6 unchanged lines hidden (view full) --- 15#include <asm/mach/map.h> 16#include <asm/mach/irq.h> 17#include <asm/mach/serial_sa1100.h> 18#include <mach/assabet.h> 19#include <mach/neponset.h> 20#include <asm/hardware/sa1111.h> 21#include <asm/sizes.h> 22 |
23void neponset_ncr_frob(unsigned int mask, unsigned int val) 24{ 25 unsigned long flags; 26 27 local_irq_save(flags); 28 NCR_0 = (NCR_0 & ~mask) | val; 29 local_irq_restore(flags); 30} 31 |
|
23/* 24 * Install handler for Neponset IRQ. Note that we have to loop here 25 * since the ETHERNET and USAR IRQs are level based, and we need to 26 * ensure that the IRQ signal is deasserted before returning. This 27 * is rather unfortunate. 28 */ 29static void 30neponset_irq_handler(unsigned int irq, struct irq_desc *desc) --- 308 unchanged lines hidden --- | 32/* 33 * Install handler for Neponset IRQ. Note that we have to loop here 34 * since the ETHERNET and USAR IRQs are level based, and we need to 35 * ensure that the IRQ signal is deasserted before returning. This 36 * is rather unfortunate. 37 */ 38static void 39neponset_irq_handler(unsigned int irq, struct irq_desc *desc) --- 308 unchanged lines hidden --- |