]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: expose extended tcode of incoming lock requests to (userspace) drivers
authorJay Fenlason <fenlason@redhat.com>
Tue, 18 May 2010 14:57:33 +0000 (10:57 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 20 Jun 2010 21:11:56 +0000 (23:11 +0200)
commitaffe5b9792ad073be04b84deca2c0100bdff5896
tree12555e4299cb8cb7e958ff7576b6a5be2b781e0d
parent03b384b9c9ce9768d23c258d8fe50efc27e3fec2
firewire: expose extended tcode of incoming lock requests to (userspace) drivers

When a remote device does a LOCK_REQUEST, the core does not pass
the extended tcode to userspace.  This patch makes it use the
juju-specific tcodes listed in firewire-constants.h for incoming
requests.

Signed-off-by: Jay Fenlason <fenlason@redhat.com>
This matches how tcode in the API for outbound requests is treated.
Affects kernelspace and userspace drivers alike, but at the moment there
are no kernespace drivers that receive lock requests.

Split out from a combo patch, slightly reordered, changelog reworded.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-transaction.c