Return to sapiovar.h CVS log | Up to [local] / funnyos / arch / sam7s64 / dev |
File: [local] / funnyos / arch / sam7s64 / dev / sapiovar.h (download)
Revision 1.2, Sat Nov 24 19:07:07 2007 UTC (16 years, 6 months ago) by nbrk
change sapio to use register defined in at91sam7.h; this eliminates ioaddr in sapio_dd |
/* * $Id: sapiovar.h,v 1.2 2007/11/24 19:07:07 nbrk Exp $ */ #ifndef _ARCH_SAM7S64_DEV_SAPIOVAR_H #define _ARCH_SAM7S64_DEV_SAPIOVAR_H #include <sys/types.h> #include <sys/bus.h> #include <sys/gpio.h> #define SAPIO_NPINS 32 /* total pins */ struct sapio_dd { struct bus_handle *pio_bhp; /* bus we sit */ struct gpio_controller pio_gc; }; #endif /* not _ARCH_SAM7S64_DEV_SAPIOVAR_H */