Annotation of funnyos/arch/sam7s64/dev/sapiovar.h, Revision 1.1
1.1 ! nbrk 1: /*
! 2: * $Id$
! 3: */
! 4: #ifndef _ARCH_SAM7S64_DEV_SAPIOVAR_H
! 5: #define _ARCH_SAM7S64_DEV_SAPIOVAR_H
! 6:
! 7: #include <sys/types.h>
! 8: #include <sys/bus.h>
! 9: #include <sys/gpio.h>
! 10:
! 11: #define SAPIO_NPINS 32 /* total pins */
! 12:
! 13: struct sapio_dd {
! 14: uint32_t pio_ioaddr; /* PIOc base addr */
! 15: struct bus_handle *pio_bhp; /* bus we sit */
! 16: struct gpio_controller pio_gc;
! 17: };
! 18:
! 19: #endif /* not _ARCH_SAM7S64_DEV_SAPIOVAR_H */
! 20:
CVSweb