Re: pci_reset_bus() usage in rc drivers

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

 



On Wed, 2014-02-19 at 07:57 -0700, Bjorn Helgaas wrote:
> On Wed, Feb 19, 2014 at 5:52 AM, Jagan Teki <jagannadh.teki@xxxxxxxxx> wrote:
> > Hi Bjorn,
> >
> > One of the functionality of pci_reset_bus could reset the secondary bus
> > as described in the configuration space - pci_reset_bridge_secondary_bus()
> >
> > Does this reset require in the part of enumeration, what is usage of
> > this in root complex
> > driver perspective.
> 
> Sorry, I don't understand this last sentence.

I don't fully understand either, but pci_reset_bus() will error if you
attempt to use it for the root complex bus.  It only knows how to reset
a bus when there's a parent bridge.  Thanks,

Alex

--
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