Re: [PATCH] [2/3] PCI sysfs improvements

Jesse Barnes (jbarnes@sgi.com)
Tue, 8 Apr 2003 13:34:10 -0700


On Tue, Apr 08, 2003 at 12:43:34AM +0100, Matthew Wilcox wrote:
>
> [Note: This patch depends on the sysfs-bin patch]
>
> Improve pci-sysfs:
> - Add PCI config space access to sysfs.
> - Prefix values in the PCI space with `0x' cos they're hex values.
> - Reformat the resource file with 64-bit values.
> - Present all resources in the file, don't stop at the first empty one.
>
> Todo:
> - Implement write access.
> - Convert resource file into directories

This looks good. Could you post what the relevant sysfs tree looks
like? I like your idea of adding mmio and portio space as well. And
of course, I'd like legacy I/O space too, but I guess I'll have to do
that myself if I find the time...

Thanks,
Jesse
-
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/