Annotation of funnyos/arch/sam7s64/dev/saspi.c, Revision 1.1
1.1 ! nbrk 1: /*
! 2: * $Id$
! 3: */
! 4: #include <sys/types.h>
! 5: #include <sys/device.h>
! 6: #include <sys/bus.h>
! 7:
! 8: #include <arch/sa7s64/dev/at91sam7s64.h>
! 9:
! 10: /*
! 11: * SPI driver.
! 12: */
! 13:
! 14: int saspi_attach(struct device *, uint32_t, uint8_t);
! 15:
! 16: struct driver spi_dr = {
! 17: 1,
! 18: spi_attach,
! 19: NULL,
! 20: NULL
! 21: };
! 22:
! 23:
! 24: int
! 25: spi_attach(struct device *self, uint32_t loc, uint8_t flags)
! 26: {
! 27: struct XXX_dd *ddp = self->dv_devdata;
! 28:
! 29:
! 30: return(0);
! 31: }
! 32:
CVSweb