Re: [PATCH] linux-2.4.22 pci-scan-all-functions

From: Paul Mackerras
Date: Thu Sep 04 2003 - 17:55:27 EST


Jake Moilanen writes:

> This patch is a port of some work that Anton Blanchard did for 2.6.
>
> While doing a pci scan there are some architechtures that can have
> multifunction devices that do not respond to function 0. In that case we
> must scan all functions.

I should point out that this is not because we actually have PCI
devices that don't respond to function 0, which would be contrary to
the PCI spec. What is happening here is that with logical
partitioning on ppc64 boxes, we can have function 0 of a PCI-PCI
bridge assigned to one partition and function 2 (for example) assigned
to a different partition. On the second partition it looks like
function 2 exists but function 0 doesn't (since we can't access it).

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/