]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: cdev: add ioctls for iso resource management, amendment
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 8 Jan 2009 22:07:40 +0000 (23:07 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 24 Mar 2009 19:56:46 +0000 (20:56 +0100)
commit5cdd16e20b86111e9e2ec077b67fb41cdbc5fe66
tree46fb54d0e462debe4016830ee1fa9f7292fb511b
parent00545dc69bf3d975399df87b57b207f65353a9fb
firewire: cdev: add ioctls for iso resource management, amendment

Some fixes:
  - Remove stale documentation.
  - Fix a != vs. == thinko that got in the way of channel management.
  - Try bandwidth deallocation even if channel deallocation failed.

A simplification:
  - fw_cdev_allocate_iso_resource.channels is now ordered like
    libdc1394's dc1394_iso_allocate_channel() channels_allowed
    argument.

By the way, I looked closer at cards from NEC, TI, and VIA, and noticed
that they all don't implement IEEE 1394a behaviour which is meant to
deviate from IEEE 1212's notion of lock compare-swap.  This means that
we have to do two lock transactions instead of one in many cases where
one transaction would already succeed on a fully 1394a compliant IRM.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-cdev.c
drivers/firewire/fw-iso.c
include/linux/firewire-cdev.h