aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/firewire/ohci.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-07-03 07:20:33 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-07-04 08:12:48 +0900
commit4a13617ef311cb01160bdecfa338e2148940059c (patch)
tree516e3a43d531cbcfb7807da21c087b55386a91eb /drivers/firewire/ohci.h
parentfirewire: ohci: add static inline functions to deserialize for Self-ID DMA operation (diff)
downloadwireguard-linux-4a13617ef311cb01160bdecfa338e2148940059c.tar.xz
wireguard-linux-4a13617ef311cb01160bdecfa338e2148940059c.zip
firewire: ohci: use inline functions to operate data of self-ID DMA
The code of 1394 OHCI driver includes hard-coded magic number to operate data of Self-ID DMA. This commit replaces them with the inline functions added/tested in the former commit. Link: https://lore.kernel.org/r/20240702222034.1378764-5-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to '')
-rw-r--r--drivers/firewire/ohci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/firewire/ohci.h b/drivers/firewire/ohci.h
index d83fd4731d56..71c2ed84cafb 100644
--- a/drivers/firewire/ohci.h
+++ b/drivers/firewire/ohci.h
@@ -31,7 +31,6 @@
#define OHCI1394_HCControl_softReset 0x00010000
#define OHCI1394_SelfIDBuffer 0x064
#define OHCI1394_SelfIDCount 0x068
-#define OHCI1394_SelfIDCount_selfIDError 0x80000000
#define OHCI1394_IRMultiChanMaskHiSet 0x070
#define OHCI1394_IRMultiChanMaskHiClear 0x074
#define OHCI1394_IRMultiChanMaskLoSet 0x078