Re: [PATCH 0/4] Driver for talking to PLX PEX8xxx PCIe switch over I2C

From: Wolfram Sang
Date: Tue Sep 30 2014 - 17:13:15 EST



> > Since this is a driver for a PCIe switch, I currently put it under /driver/pci/.
> > I'm very open to suggestions for moving this around (Does introducing
> > drivers/pci/switch/ seem any better?). Especially I can see that the
> > drivers/pci/Kconfig appears under "Bus Options" in the main menu which does not
> > look like the right place for this driver. I am looking for suggestions here.
>
> Definitely interesting work. I have no idea where to put it. It
> doesn't have anything to do with PCI core services or structures, so
> drivers/pci doesn't seem like the ideal place for it, but I don't have
> any better ideas. If it did end up under drivers/pci, I agree that a
> drivers/pci/switch or something similar would probably be better than
> having it directly in drivers/pci.
>
> Maybe Wolfram or other I2C folks will have an idea.

Hmm, is this a common interface for those switches? Then a directory
like drivers/pci/switch could make sense. Otherwise I'd suggest
drivers/misc?

Attachment: signature.asc
Description: Digital signature