Annotation of funnyos/arch/sam7s64/dev/sapiovar.h, Revision 1.2
1.1 nbrk 1: /*
1.2 ! nbrk 2: * $Id: sapiovar.h,v 1.1 2007/11/15 20:48:27 nbrk Exp $
1.1 nbrk 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: struct bus_handle *pio_bhp; /* bus we sit */
15: struct gpio_controller pio_gc;
16: };
17:
18: #endif /* not _ARCH_SAM7S64_DEV_SAPIOVAR_H */
19:
CVSweb