summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/Makefile
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-04-28 09:13:39 +0200
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-05-06 04:06:04 +0200
commit75527d8d9e5ec374b9b0d70c712fec78b4bb693f (patch)
treeb1dbf190244b595df5a60792665c210b094dc1b4 /drivers/firewire/Makefile
parentfirewire: ohci: use pci_irq_vector() to retrieve allocated interrupt line (diff)
downloadlinux-75527d8d9e5ec374b9b0d70c712fec78b4bb693f.tar.xz
linux-75527d8d9e5ec374b9b0d70c712fec78b4bb693f.zip
firewire: core: add common inline functions to serialize/deserialize asynchronous packet header
In both core and 1394 OHCI driver, some hard-coded values and macros are used to serialize/deserialize the header of asynchronous packets. It is inconvenient to reuse them. This commit adds some helper inline functions with their tests for the purpose. Link: https://lore.kernel.org/r/20240428071347.409202-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'drivers/firewire/Makefile')
-rw-r--r--drivers/firewire/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/firewire/Makefile b/drivers/firewire/Makefile
index b24b2879ac34..bbde29a0fba6 100644
--- a/drivers/firewire/Makefile
+++ b/drivers/firewire/Makefile
@@ -17,4 +17,7 @@ obj-$(CONFIG_FIREWIRE_NOSY) += nosy.o
obj-$(CONFIG_PROVIDE_OHCI1394_DMA_INIT) += init_ohci1394_dma.o
firewire-uapi-test-objs += uapi-test.o
+firewire-packet-serdes-test-objs += packet-serdes-test.o
+
obj-$(CONFIG_FIREWIRE_KUNIT_UAPI_TEST) += firewire-uapi-test.o
+obj-$(CONFIG_FIREWIRE_KUNIT_PACKET_SERDES_TEST) += firewire-packet-serdes-test.o