Re: pci_create_legacy_files() and non root bus

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

 



From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Nov 2008 18:46:48 +1100

> On Mon, 2008-11-10 at 22:07 -0800, David Miller wrote:
> > Only the hierarchy under the host-controller exists in the
> > Linux data structures.
> 
> Or do you mean you don't have a pci_dev that represents the host
> controller ? In that case, yes, that's common and not an issue with the
> legacy files, they are under the directory of the bus classdev which is
> tied to the actual struct pci_bus (a slightly strange location tho, took
> me some time to actually find them the first time around).

Ahh, ok, lack of pci_dev representing the root host controller
was indeed the sparc64 case I was talking about.

Thanks for the clarification.
--
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