Re: How about use sysfs instead of pcihpfs?

Greg KH (greg@kroah.com)
Mon, 20 Jan 2003 23:18:42 -0800


On Mon, Jan 20, 2003 at 05:21:43PM +0800, stanley.wang@linux.co.intel.com wrote:
> Hi, Greg!
> After reading the pci_hotplug_core.c, I found there are many codes
> that are used to implement the pcihpfs. And how about using sysfs instead
> of pcihpfs ? I think it could make the pci_hotplug_core.c smaller. Another
> pro is that we will nerver be bothered by the pcihpfs' bug.
> How you think about it?

I agree, pcihpfs should go away, and you should use sysfs instead. It's
on my list of things to do, but pretty low on it right now :(

Any patches to do this would be greatly appreciated.

One nice side affect of a conversion to sysfs, would be that different
pci hotplug drivers would be able to create their own files for
different attributes very easily (I know the author of the IBM PCI
Hotplug driver would really like to do this.)

Good luck,

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