Return to saaicvar.h CVS log | Up to [local] / funnyos / arch / sam7s64 / dev |
File: [local] / funnyos / arch / sam7s64 / dev / saaicvar.h (download)
Revision 1.2, Sun Dec 16 23:20:31 2007 UTC (16 years, 5 months ago) by nbrk
add saaic_clear_intr() and saaic_ack_intr(); shuffle code a bit; still half functional (and SAAIC_DEBUG is on by default) |
/* * $Id: saaicvar.h,v 1.2 2007/12/16 23:20:31 nbrk Exp $ */ #ifndef _ARCH_SAM7S64_DEV_SAAICVAR_H #define _ARCH_SAM7S64_DEV_SAAICVAR_H #include <sys/bus.h> int saaic_attach(struct device *self, uint32_t loc, uint8_t flags); void saaic_mask_intr(uint8_t intrno); void saaic_clear_intr(uint8_t intrno); void saaic_unmask_intr(uint8_t intrno); uint32_t saaic_intrstatus(void); void saaic_irq(void); struct saaic_dd { struct bus_handle *sa_bhp; }; #endif /* not _ARCH_SAM7S64_DEV_SAAICVAR_H */