HomeFreeBSD

Implement CAM_PERIPH_FOREACH() macro, safely iterating over the list of
rS248868Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Implement CAM_PERIPH_FOREACH() macro, safely iterating over the list of
driver's periphs, acquiring and releaseing periph references while doing it.

Use it to iterate over the lists of ada and da periphs when flushing caches
and putting devices to sleep on shutdown and suspend. Previous code could
panic in theory if some device disappear in the middle of the process.

Details

Provenance
mavAuthored on
Parents
rS248867: For the AR933x UART, the serial clock is not the AHB clock, it's the
Branches
Unknown
Tags
Unknown

Event Timeline