]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firewire: ohci: use TCODE_LINK_INTERNAL consistently
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 29 Jul 2024 13:46:29 +0000 (22:46 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 29 Jul 2024 13:46:29 +0000 (22:46 +0900)
commit568a8cbb3d4da609a799920c761b2cdb7e583839
treeb3eca3e2bf0e46d9fc0889f257a336198815c06b
parentde9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed
firewire: ohci: use TCODE_LINK_INTERNAL consistently

In IEEE 1394 specification, 0x0e in tcode field is reserved for internal
purpose depending on link layer. In 1394 OHCI specification, it is used to
express phy packet in AT/AR contexts.

Current implementation of 1394 OHCI driver has several macros for the code.
They can be simply replaced with a macro in core code.

This commit obsoletes the macros.

Link: https://lore.kernel.org/r/20240729134631.127189-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/ohci.c
drivers/firewire/ohci.h