firewire: make PHY packet header format consistent
authorClemens Ladisch <clemens@ladisch.de>
Tue, 30 Nov 2010 07:24:47 +0000 (08:24 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 13 Dec 2010 19:39:14 +0000 (20:39 +0100)
commit5b06db166c4d38638980283505259fa165d4f369
tree3384d55b420987325ffabf523ded740b1daac2c4
parent8327b37b18addfc6f8cf41a2f1a4490b656377b9
firewire: make PHY packet header format consistent

Change the header of PHY packets to be sent to include a pseudo
transaction code.  This makes the header consistent with that of
received PHY packets, and allows at_context_queue_packet() and
log_ar_at_event() to see the packet type directly instead of having
to deduce it from the header length or even from the header contents.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-cdev.c
drivers/firewire/core-transaction.c
drivers/firewire/core.h
drivers/firewire/ohci.c