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)
commitc82f91f2663e79b150afd896ec72e798ba4e243d
tree12555e4299cb8cb7e958ff7576b6a5be2b781e0d
parent604f45167824e18ad5766e51ecf1d4d65f15118d
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