diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2014-02-19 10:35:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-28 18:15:57 -0500 |
commit | 9d098192c3d45ab6dd90ae87d649950a9ef70ccb (patch) | |
tree | a0f48fbc9a60e411cd499a22ac013f85fbb0aeeb /drivers/misc/mei/hw-txe.h | |
parent | 6aae48ff18f2fcfb533d2b448ecae16d1de006c1 (diff) |
mei: revamp writing slot counting
Since txe use doorbell and not circular buffer
we have to cheat in write slot counting, txe always consume all the
slots upon write. In order for it to work we need to track
slots using mei_hbuf_empty_slots() instead of tracking it in mei layer
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/hw-txe.h')
-rw-r--r-- | drivers/misc/mei/hw-txe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/mei/hw-txe.h b/drivers/misc/mei/hw-txe.h index fdb665f44d5d..0812d98633a4 100644 --- a/drivers/misc/mei/hw-txe.h +++ b/drivers/misc/mei/hw-txe.h | |||
@@ -46,6 +46,7 @@ struct mei_txe_hw { | |||
46 | void __iomem *mem_addr[NUM_OF_MEM_BARS]; | 46 | void __iomem *mem_addr[NUM_OF_MEM_BARS]; |
47 | u32 aliveness; | 47 | u32 aliveness; |
48 | u32 readiness; | 48 | u32 readiness; |
49 | u32 slots; | ||
49 | 50 | ||
50 | wait_queue_head_t wait_aliveness; | 51 | wait_queue_head_t wait_aliveness; |
51 | bool recvd_aliveness; | 52 | bool recvd_aliveness; |