alistair23-linux/drivers/firewire
Jay Fenlason cf417e5494 firewire: add a client_list_lock
This adds a client_list_lock, which only protects the device's
client_list, so that future versions of the driver can call code that
takes the card->lock while holding the client_list_lock.  Adding this
lock is much simpler than adding __ versions of all the functions that
the future version may need.  The one ordering issue is to make sure
code never takes the client_list_lock with card->lock held.  Since
client_list_lock is only used in three places, that isn't hard.

Signed-off-by: Jay Fenlason <fenlason@redhat.com>

Update fill_bus_reset_event() accordingly.  Include linux/spinlock.h.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2009-03-24 20:56:36 +01:00
..
fw-card.c firewire: core: Remove card from list of cards when enable fails 2009-02-01 11:17:24 +01:00
fw-cdev.c firewire: add a client_list_lock 2009-03-24 20:56:36 +01:00
fw-device.c firewire: add a client_list_lock 2009-03-24 20:56:36 +01:00
fw-device.h firewire: add a client_list_lock 2009-03-24 20:56:36 +01:00
fw-iso.c
fw-ohci.c firewire: Include iso timestamp in headers when header_size > 4 2009-03-24 20:56:35 +01:00
fw-ohci.h
fw-sbp2.c firewire: sbp2: add workarounds for 2nd and 3rd generation iPods 2009-01-29 20:19:48 +01:00
fw-topology.c firewire: unnecessary BM delay after generation rollover 2009-01-20 19:29:51 +01:00
fw-topology.h
fw-transaction.c firewire: fix small memory leak at module removal 2009-01-04 23:50:37 +01:00
fw-transaction.h firewire: unnecessary BM delay after generation rollover 2009-01-20 19:29:51 +01:00
Kconfig
Makefile