[BACK]Return to irqnode.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-m68knommu

File: [Development] / linux-2.6-xfs / include / asm-m68knommu / Attic / irqnode.h (download)

Revision 1.2, Thu Dec 21 14:39:45 2006 UTC (10 years, 10 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.1: +4 -4 lines

Merge up to 2.6.19
Merge of 2.6.x-xfs-melb:linux:27801b by kenmcd.

#ifndef _M68K_IRQNODE_H_
#define _M68K_IRQNODE_H_

#include <linux/interrupt.h>

/*
 * This structure is used to chain together the ISRs for a particular
 * interrupt source (if it supports chaining).
 */
typedef struct irq_node {
	irq_handler_t	handler;
	unsigned long	flags;
	void		*dev_id;
	const char	*devname;
	struct irq_node *next;
} irq_node_t;

/*
 * This structure has only 4 elements for speed reasons
 */
struct irq_entry {
	irq_handler_t	handler;
	unsigned long	flags;
	void		*dev_id;
	const char	*devname;
};

/* count of spurious interrupts */
extern volatile unsigned int num_spurious;

/*
 * This function returns a new irq_node_t
 */
extern irq_node_t *new_irq_node(void);

#endif /* _M68K_IRQNODE_H_ */