Skip to content
Commit 19593ffd authored by Stefan Richter's avatar Stefan Richter
Browse files

firewire: ohci: 0 may be a valid DMA address



I was told that there are obscure architectures with non-coherent DMA
which may DMA-map to bus address 0.  We shall not use 0 as a magic
number of uninitialized bus address variables.

The packet->payload_length > 0 test cannot be used either (except in
at_context_queue_packet) because local requests are not DMA-mapped
regardless of payload_length.  Hence add a state flag to struct
fw_packet.

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 5b189bf3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment