Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1649435

Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and connection manager

From Lukas Wunner <lukas@wunner.de>
Newsgroups linux.kernel
Subject Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and connection manager
Date 2017-05-24 12:30 +0200
Message-ID <tKBIe-15d-25@gated-at.bofh.it> (permalink)
References <tIuKR-3YK-5@gated-at.bofh.it> <tIuUz-44c-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, May 18, 2017 at 05:38:56PM +0300, Mika Westerberg wrote:
> Thunderbolt fabric consists of one or more switches. This fabric is
> called domain and it is controlled by an entity called connection
> manager. The connection manager can be either internal (driven by a
> firmware running on the host controller) or external (software driver).
> This driver currently implements support for the latter.
> 
> In order to manage switches and their properties more easily we model
> this domain structure as a Linux bus. Each host controller adds a domain
> device to this bus, and these devices are named as domainN where N
> stands for index or id of the current domain.

What is the rationale for using a bus?  Do you intend to attach a driver
to each domain and/or switch?  Unless you do, a class might be more
appropriate.

Thanks,

Lukas

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 06/24] thunderbolt: Introduce thunderbolt bus and connection manager Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-05-18 16:50 +0200
  Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and  connection manager Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-18 18:50 +0200
    Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and  connection manager Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-05-19 10:30 +0200
      Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and  connection manager Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-19 15:20 +0200
  Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and  connection manager Lukas Wunner <lukas@wunner.de> - 2017-05-24 12:30 +0200
    Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and  connection manager Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-05-24 12:50 +0200

csiph-web