RE: PCIe endpoint generic driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: linux-pci-owner@xxxxxxxxxxxxxxx [mailto:linux-pci-owner@xxxxxxxxxxxxxxx]
> On Behalf Of Ramon Fried
> Sent: 24 November 2015 15:02
> To: linux-pci@xxxxxxxxxxxxxxx
> Subject: RE: PCIe endpoint generic driver
> 
> > > Hi.
> > > Sorry for the noob question :)
> > > I'm currently developing a PCIe endpoint driver for a board that runs
> > > Linux.
> > > The board will be used as an expansion PCIe card for x86 PC's.
> > > Is there any guidelines, documentation related to PCI endpoint drivers
> > > for Linux kernel ?
> 
> > Hi Ramon
> >
> > Have you looked at
> > http://lxr.free-electrons.com/source/Documentation/PCI/pci.txt
> >?
> >
> > Regards
> >
> > Gab
> 
> Hi Gab, you misunderstood my driver type.
> This is not a host driver, that I'm writing, but the actual endpoint driver.
> Then Linux is on the PCIe board.

Hi Ramon, I understood your driver type.
I think you misunderstood the Documentation.
Host Bridges are under drivers/pci/host and none of them use pci_register_driver() API.

pci_register_driver() is actually for endpoints. Please read the link above again.

> 
> > > I didn't find any, and I guess that I'm left with a platform driver.
> > >
> > > If indeed the platform driver is the way to go, are there any
> > > implementations upstream I can look at ?
> > >
> > > Thanks !
> > > Ramon.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux