The drvinfo function gets driver information from the low-level module. The prototype for this function is:
int drvinfo( void *hdl,
spi_drvinfo_t *info );
The arguments are:
typedef struct {
uint32_t version;
char name[16]; /* Driver name */
uint32_t feature;
#define SPI_FEATURE_DMA (1 << 31)
#define SPI_FEATURE_DMA_ALIGN 0xFF
} spi_drvinfo_t;
The function must return EOK if it successfully obtained the driver information.