Re: [PATCH v3 06/27] thunderbolt: Rework capability handling

From: Lukas Wunner
Date: Sun Jun 04 2017 - 09:52:00 EST


On Fri, Jun 02, 2017 at 05:05:03PM +0300, Mika Westerberg wrote:
> Organization of the capabilities in switches and ports is not so random
> after all. Rework the capability handling functionality so that it
> follows how capabilities are organized and provide two new functions
> (tb_switch_find_vsec_cap() and tb_port_find_cap()) which can be used to
^^^^^^^^

I assume VSEC is the same acronym as in the PCIe spec, so this naming
scheme results in "vendor specific extended capability capability",
which is maybe a bit odd.

Thanks,

Lukas