Page MenuHomeFreeBSD

simplebus: add support for reading 'dma-ranges' property
AcceptedPublic

Authored by mmel on Wed, Jul 8, 11:36 AM.

Details

Reviewers
manu
andrew
Group Reviewers
arm64
Summary

Parse the "dma-ranges" device tree property on simplebus nodes
(analogous to the existing "ranges" support).

The parsed DMA ranges will be used for automatic BUSDMA(9) tag
creation in the future.

MFC after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74617
Build 71500: arc lint + arc unit

Event Timeline

mmel requested review of this revision.Wed, Jul 8, 11:36 AM
andrew added a subscriber: andrew.
andrew added inline comments.
sys/dev/fdt/simplebus.c
271

Is this needed? Both callers already set it to NULL

This revision is now accepted and ready to land.Wed, Jul 8, 12:53 PM