[BACK]Return to sapiovar.h CVS log [TXT][DIR] 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, 5 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -2 lines

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 */