aha/drivers/firewire
Stefan Richter ee71c2f9ee firewire: fw-ohci: enforce read order for selfID generation
It seems unlikely, but access to self_id_cpu[0] could at least in theory
be deferred until after the loop over self_id_cpu[1..n] or even after
the subsequent reg_read.  Enforce the desired order by a read barrier.

Also prevent the reg_read from being reordered relative to the for loop.
This isn't necessary if the loop's conditional printk counts as an
implicit barrier, but better make it explicit.

(self_id_cpu[] is a coherent DMA buffer.)

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2007-10-17 00:00:05 +02:00
..
fw-card.c firewire: fix unloading of fw-ohci while devices are attached 2007-08-25 18:00:27 +02:00
fw-cdev.c firewire: fw-core: local variable shadows a global one 2007-10-17 00:00:01 +02:00
fw-device.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
fw-device.h firewire: fw-sbp2: add support for multiple logical units per target 2007-10-17 00:00:03 +02:00
fw-iso.c firewire: Clean up comment style. 2007-05-10 18:24:13 +02:00
fw-ohci.c firewire: fw-ohci: enforce read order for selfID generation 2007-10-17 00:00:05 +02:00
fw-ohci.h firewire: Implement basic isochronous receive functionality. 2007-03-09 22:02:58 +01:00
fw-sbp2.c firewire: fw-sbp2: use an own workqueue (fix system responsiveness) 2007-10-17 00:00:04 +02:00
fw-topology.c firewire: simplify a struct type 2007-07-10 00:07:44 +02:00
fw-topology.h firewire: simplify a struct type 2007-07-10 00:07:44 +02:00
fw-transaction.c firewire: optimize fw_core_add_address_handler 2007-10-17 00:00:00 +02:00
fw-transaction.h firewire: fw-sbp2: set correct maximum payload (fixes CardBus adapters) 2007-08-02 20:34:16 +02:00
Kconfig firewire: point to migration document 2007-10-07 13:48:41 +02:00
Makefile firewire: prefix modules with firewire- instead of fw- 2007-05-27 23:21:01 +02:00