Page MenuHomeFreeBSD

apple_bce: initiate IN data phase for control transfers
ClosedPublic

Authored by seuros on Aug 16 2026, 7:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 11, 6:41 AM
Unknown Object (File)
Wed, Oct 7, 12:59 PM
Unknown Object (File)
Wed, Oct 7, 8:00 AM
Unknown Object (File)
Wed, Oct 7, 6:19 AM
Unknown Object (File)
Wed, Oct 7, 4:27 AM
Unknown Object (File)
Tue, Oct 6, 8:57 PM
Unknown Object (File)
Mon, Oct 5, 11:23 AM
Unknown Object (File)
Mon, Oct 5, 7:17 AM
Subscribers

Details

Summary

For IN control transfers, the firmware does
not send TRANSFER_REQUEST for the data phase
the host must send BCE_VHCI_CMD_TRANSFER_REQUEST
with an IN DMA buffer once the setup phase completes.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 75627
Build 72510: arc lint + arc unit

Event Timeline

sys/dev/apple_bce/apple_bce_vhci.c
1776

This whole if branch looks big enough to stick in its own private function. Wanna go do that?

refactor spaghetti code into function.

This revision is now accepted and ready to land.Sep 6 2026, 7:38 PM