diff options
author | imp <imp@FreeBSD.org> | 2006-07-14 22:47:07 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-07-14 22:47:07 +0000 |
commit | 514e7fc291e22139df0e31ff59dc547d2b16e5d5 (patch) | |
tree | e12e1547bbd9d90830bf10ea3984258d3ae53ddc /sys/dev/spibus/spi.h | |
parent | 29ab994ef0c5f04e4d6ffe65f87a279d44b39488 (diff) | |
download | FreeBSD-src-514e7fc291e22139df0e31ff59dc547d2b16e5d5.zip FreeBSD-src-514e7fc291e22139df0e31ff59dc547d2b16e5d5.tar.gz |
MFp4:
Initial spibus support. Seems to be OK, but needs some polish.
# someone should write a bit-bang spi parallel port interface :-)
Diffstat (limited to 'sys/dev/spibus/spi.h')
-rw-r--r-- | sys/dev/spibus/spi.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/spibus/spi.h b/sys/dev/spibus/spi.h new file mode 100644 index 0000000..09806cb --- /dev/null +++ b/sys/dev/spibus/spi.h @@ -0,0 +1,12 @@ +/ * $FreeBSD$ */ + +struct spi_command { + void *tx_cmd; + uint32_t tx_cmd_sz; + void *rx_cmd; + uint32_t rx_cmd_sz; + void *tx_data; + uint32_t tx_data_sz; + void *rx_data; + uint32_t rx_data_sz; +}; |