summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-07-28 14:48:45 -0700
committerNick Foster <nick@nerdnetworks.org>2010-07-28 14:48:45 -0700
commitb82b3f7a6ff2302b357397e8b72d43aff5644896 (patch)
treecfbf04d43d6ea13d4ae2e61be7ce0b0b297228d5 /host/lib
parentc348a98c8004e7ac9d28231ae80dadef415440ef (diff)
downloaduhd-b82b3f7a6ff2302b357397e8b72d43aff5644896.tar.gz
uhd-b82b3f7a6ff2302b357397e8b72d43aff5644896.tar.bz2
uhd-b82b3f7a6ff2302b357397e8b72d43aff5644896.zip
Widened SPI slave select bus to 16 bits in host and firmware.
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/usrp2/fw_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp2/fw_common.h b/host/lib/usrp/usrp2/fw_common.h
index c4dabf5bc..389ac9892 100644
--- a/host/lib/usrp/usrp2/fw_common.h
+++ b/host/lib/usrp/usrp2/fw_common.h
@@ -104,12 +104,12 @@ typedef struct{
union{
__stdint(uint32_t) ip_addr;
struct {
- __stdint(uint8_t) dev;
+ __stdint(uint32_t) dev;
+ __stdint(uint32_t) data;
__stdint(uint8_t) miso_edge;
__stdint(uint8_t) mosi_edge;
- __stdint(uint8_t) readback;
- __stdint(uint32_t) data;
__stdint(uint8_t) num_bits;
+ __stdint(uint8_t) readback;
} spi_args;
struct {
__stdint(uint8_t) addr;