Adam Belay wrote:
So it is correct behaviour that the device shows up under /sys/bus/pnp when found using PNP, and /sys/bus/platform when scanned for?Hi Pierre,
The platform bus does not show the actual physical relationship either. For x86, ACPI is typically needed to determine this. It would be easy to bind to spawn pnp devices off of an ISA bridge device, attached to the pci bus, but whether it's the actual physical parent would be very difficult to determine without firmware assistance.
At the moment the pnp bus is only showing a logical bus relationship. If we
were to use ACPI to aid in the generation of the physical device tree, we
could put these devices in the correct physical location.
I'm trying to get it to work well with HAL and it would be nice if it could be found in a consistent way.
Rgds Pierre
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/