git: fix(firewire): fix tcode switch fallthrough on little-endian
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed May 27 18:23:26 PDT 2026
commit 59b78e44f96799c5f46fb3d6d616c18d838a75d0
Author: Abdelkader Boudih <dragonflybsd at seuros.com>
Date: Mon May 25 21:13:00 2026 +0000
fix(firewire): fix tcode switch fallthrough on little-endian
The break statements in fwohci_arcv_swap() were inside
#if BYTE_ORDER == BIG_ENDIAN guards, causing all cases to fall
through to the default "Unknown tcode" handler on little-endian
(x86) systems. This meant every received packet was dropped,
breaking bus manager election, split transactions, and all
asynchronous communication.
Move break statements outside the #if guards to match FreeBSD.
Summary of changes:
sys/bus/firewire/fwohci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/59b78e44f96799c5f46fb3d6d616c18d838a75d0
--
DragonFly BSD source repository
More information about the Commits
mailing list