Broadcom PDC is controller that manages DMA transfers to and from peripherals.
Currently the only known consumer is a cryptographic accelerator called SPU - Secure Processing Unit.
It can be found on BCM5871X SoC.
Details
Details
- Reviewers
mw
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Is there a reasion you're not using the xdma framework?
sys/conf/files.arm64 | ||
---|---|---|
216 | This should be in alphabetical order |
Comment Actions
You can use __FreeBSD_version to toggle the non-xdma case. It looks like 1200020 is the first bump after xdma was added so you'd have:
#if __FreeBSD_version >= 1200020 /* XDMA code */ #else /* Pre-XDMA code */ #endif
Comment Actions
If I understand you correctly you want me to rewrite this driver to make it a XDMA supplier.
I'm not sure if it belongs there. On Linux it is implemented as a part of mailbox framework.
Another problem is that rewriting both drivers (this and spum) to use XDMA would require a lot of work.