[lkml]   [2005]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: PNP and bus association
    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.


    On Thu, Jan 27, 2005 at 10:16:50PM +0100, Pierre Ossman wrote:
    > I recently tried out adding PNP support to my driver to remove the
    > hassle of finding the correct parameters for it. This, however, causes
    > it to show up under the pnp bus, where as it previously was located
    > under the platform bus.
    > Is the idea that PNP devices should only reside on the PNP bus or is
    > there some magic available to get the device to appear on several buses?
    > It's a bit of a hassle to search in two different places in sysfs
    > depending on if PNP is used or not.
    > Also, the PNP bus doesn't really say that much about where the device is
    > physically connected. The other bus types usually give a hint about this.

    It's normal for ISA devices to not tell us much about their physical

    > Rgds
    > Pierre
    > -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:09    [W:0.023 / U:1.224 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site