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


Groups > linux.kernel > #1548019

Re: [PATCH] pci: rename *host* directory to *controller*

From Bjorn Helgaas <helgaas@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] pci: rename *host* directory to *controller*
Date 2016-12-28 17:50 +0100
Message-ID <sTpAl-2m0-7@gated-at.bofh.it> (permalink)
References <sThCO-5AF-15@gated-at.bofh.it> <sTiIx-6fP-3@gated-at.bofh.it> <sTmVP-tN-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Dec 28, 2016 at 01:57:13PM +0000, Joao Pinto wrote:
> Às 9:22 AM de 12/28/2016, Christoph Hellwig escreveu:
> > On Wed, Dec 28, 2016 at 01:39:37PM +0530, Kishon Vijay Abraham I wrote:
> >> As discussed during our LPC discussions, I'm posting the rename patch
> >> here. I'll post the rest of EP series before the next merge window.
> >>
> >> There might be hiccups because of this renaming but feel this is
> >> necessary for long-term maintenance.
> > 
> > if we do this rename it would be great to get it to Linus NOW after
> > -rc1 as that minimizes the impact on the 4.11 merge window.
> 
> Rename it to controller is a bit vague I thing since we have the PCI Endpoint IP
> also. Wouldn't be better to name it rc_controller?

I think Kishon's whole goal is to add PCI Endpoint IP, so he wants a
neutral name that can cover both RC and Endpoint.

I'm not a huge fan of "controller" because it feels a little bit long
and while I suppose it technically does include the concept of the PCI
interface of an endpoint, it still suggests more of the host side to
me.

Doesn't USB have a similar situation?  I see there's a
drivers/usb/host/ (probably where we copied from in the first place).
Is a USB gadget the USB analog of what you're doing?  How do they
share code between the master/slave sides?

There's a drivers/ntb/hw/.  I don't know if "hw" is the *best* name,
but it's short and it at least conveys the idea that this code is
hardware-specific, not generic.

> >>  drivers/pci/{host => controller}/Kconfig           |    0
> >>  drivers/pci/{host => controller}/Makefile          |    0
> >>  drivers/pci/{host => controller}/pci-aardvark.c    |    0
> >>  drivers/pci/{host => controller}/pci-dra7xx.c      |    0
> >> ...

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


Thread

[PATCH] pci: rename *host* directory to *controller* Kishon Vijay Abraham I <kishon@ti.com> - 2016-12-28 09:20 +0100
  Re: [PATCH] pci: rename *host* directory to *controller* Christoph Hellwig <hch@infradead.org> - 2016-12-28 10:30 +0100
    Re: [PATCH] pci: rename *host* directory to *controller* Kishon Vijay Abraham I <kishon@ti.com> - 2016-12-28 11:50 +0100
    Re: [PATCH] pci: rename *host* directory to *controller* Joao Pinto <Joao.Pinto@synopsys.com> - 2016-12-28 15:00 +0100
      Re: [PATCH] pci: rename *host* directory to *controller* Bjorn Helgaas <helgaas@kernel.org> - 2016-12-28 17:50 +0100
        Re: [PATCH] pci: rename *host* directory to *controller* Joao Pinto <Joao.Pinto@synopsys.com> - 2016-12-28 18:20 +0100
          Re: [PATCH] pci: rename *host* directory to *controller* Joao Pinto <Joao.Pinto@synopsys.com> - 2016-12-28 18:30 +0100
            Re: [PATCH] pci: rename *host* directory to *controller* Kishon Vijay Abraham I <kishon@ti.com> - 2016-12-29 06:50 +0100
              Re: [PATCH] pci: rename *host* directory to *controller* Joao Pinto <Joao.Pinto@synopsys.com> - 2016-12-29 11:40 +0100
                Re: [PATCH] pci: rename *host* directory to *controller* Joao Pinto <Joao.Pinto@synopsys.com> - 2016-12-29 13:00 +0100
                Re: [PATCH] pci: rename *host* directory to *controller* Kishon Vijay Abraham I <kishon@ti.com> - 2016-12-29 13:10 +0100
                Re: [PATCH] pci: rename *host* directory to *controller* Joao Pinto <Joao.Pinto@synopsys.com> - 2016-12-29 13:10 +0100
                Re: [PATCH] pci: rename *host* directory to *controller* Joao Pinto <Joao.Pinto@synopsys.com> - 2016-12-29 13:30 +0100
                Re: [PATCH] pci: rename *host* directory to *controller* Kishon Vijay Abraham I <kishon@ti.com> - 2016-12-29 13:30 +0100
                Re: [PATCH] pci: rename *host* directory to *controller* Joao Pinto <Joao.Pinto@synopsys.com> - 2016-12-29 14:30 +0100
                Re: [PATCH] pci: rename *host* directory to *controller* Kishon Vijay Abraham I <kishon@ti.com> - 2016-12-30 07:30 +0100
                Re: [PATCH] pci: rename *host* directory to *controller* Kishon Vijay Abraham I <kishon@ti.com> - 2016-12-29 13:10 +0100

csiph-web