Page MenuHomeFreeBSD

apple_bce: initiate IN data phase for control transfers
ClosedPublic

Authored by seuros on Sun, Aug 16, 7:50 PM.
Tags
None
Referenced Files
F170968804: D58872.id186013.diff
Mon, Sep 7, 10:22 PM
Unknown Object (File)
Fri, Sep 4, 9:55 PM
Unknown Object (File)
Fri, Sep 4, 6:42 PM
Unknown Object (File)
Thu, Sep 3, 4:44 PM
Unknown Object (File)
Wed, Sep 2, 1:42 PM
Unknown Object (File)
Tue, Sep 1, 4:45 PM
Unknown Object (File)
Mon, Aug 31, 4:47 PM
Unknown Object (File)
Mon, Aug 31, 10:28 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 76595
Build 73478: arc lint + arc unit

Event Timeline

sys/dev/apple_bce/apple_bce_vhci.c
1843

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.Sun, Sep 6, 7:38 PM