Annotation of sys/arch/arm/sa11x0/sa1111_intr.h, Revision 1.1
1.1 ! nbrk 1: /* $Id$ */
! 2: #ifndef SA11X0_SA1111_INTR_H
! 3: #define SA11X0_SA1111_INTR_H
! 4:
! 5: #include <machine/bus.h> /* XXX unneeded here? */
! 6: #include <arm/sa11x0/sa1111_reg.h>
! 7:
! 8: struct sacic_intrhandler {
! 9: int ih_xintr;
! 10: int ih_level; /* IST_EDGE_RISING, IST_EDGE_FALLING but not both */
! 11:
! 12: int (*ih_func)(void *);
! 13: void *ih_arg;
! 14: char *ih_name;
! 15: };
! 16:
! 17: struct sacic_softc {
! 18: struct device sc_dev;
! 19:
! 20: bus_space_tag_t sc_bust;
! 21: bus_space_handle_t sc_bush;
! 22: void *sc_hostih; /* interrupt handler on host INTC */
! 23:
! 24: struct sacic_intrhandler *sc_handlers[SACCIC_LEN];
! 25: };
! 26:
! 27: void *sa11x1_intr_establish(int irq, int level, int (*func)(void *),
! 28: void *arg, char *name);
! 29: void sa11x1_intr_disestablish(void *cookie);
! 30: #ifdef NOTYET
! 31: void sa11x1_init_interrupt_masks(void);
! 32: #endif
! 33:
! 34: #endif /* !SA11X0_SA1111_INTR_H */
! 35:
CVSweb