Commit c3963a55 authored by Mika Westerberg's avatar Mika Westerberg

thunderbolt: Add clarifying comments about USB4 terms router and adapter

USB4 spec talks about routers and adapters whereas Thunderbolt 1-3
talked about CIO (Converged I/O) switches and ports. These are the same
thing but might cause confusion so add clarifying comments to struct
tb_switch and struct tb_port about the USB4 terms.
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 5c6b471b
...@@ -138,6 +138,8 @@ struct tb_switch_tmu { ...@@ -138,6 +138,8 @@ struct tb_switch_tmu {
* *
* When the switch is being added or removed to the domain (other * When the switch is being added or removed to the domain (other
* switches) you need to have domain lock held. * switches) you need to have domain lock held.
*
* In USB4 terminology this structure represents a router.
*/ */
struct tb_switch { struct tb_switch {
struct device dev; struct device dev;
...@@ -196,6 +198,9 @@ struct tb_switch { ...@@ -196,6 +198,9 @@ struct tb_switch {
* @in_hopids: Currently allocated input HopIDs * @in_hopids: Currently allocated input HopIDs
* @out_hopids: Currently allocated output HopIDs * @out_hopids: Currently allocated output HopIDs
* @list: Used to link ports to DP resources list * @list: Used to link ports to DP resources list
*
* In USB4 terminology this structure represents an adapter (protocol or
* lane adapter).
*/ */
struct tb_port { struct tb_port {
struct tb_regs_port_header config; struct tb_regs_port_header config;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment