PNP and bus association

From: Pierre Ossman
Date: Thu Jan 27 2005 - 16:22:21 EST


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.

Rgds
Pierre
-
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/