Exactly, the SGDMA is used in the SATA and for the DMA access to the Ethernet part. So, they share a function block within the SoC (PLX-NAS7820). That needs a sharing layer and for that, we have to get into both SATA and Ethernet driver code. I would probably go for a preallocated principle but yet the DMA core needs to be understood enough for that.
Following modules are from Synopsis AFAIK:
- 10/100/1G Ethernet (GMAC)
- SATA core (at least partially)
- DMA core (SGDMA)
I checked http://www.synopsys.com. For a corporate mail at least, they seem to give datasheet access. So, we could get probably datasheets for those cores from there.
And there is Pull Request on github.com, so it is simple to get stuff shared.