Re: [Linux-diag-devel] accessing PCI configs
Brought to you by:
hegdevasant,
mananth
|
From: Ananth N M. <an...@in...> - 2004-01-05 05:00:23
|
On Sun, Jan 04, 2004 at 08:43:56PM -0800, Jon Smirl wrote:
> Hotplug events return strings like this:
> /class/dri/card0
>
> None of the APIs take this directly. Since libsysfs will commonly be used with
> hotplug events it would be nice if the lib could open this string directly.
> Maybe we need a sysfs_open_classdev("/class/dri/card0") call.
All hotplug events return strings for the "class"/"block" subsystem _only_
right? So a sysfs_open_hotplug_device() type call for the class subsystem must
suffice?
That should be simple :) I will try and add this call before the next release.
Thanks for the suggestion...
Ananth
--
Ananth Narayan <an...@in...>
Linux Technology Center,
IBM Software Lab, INDIA
|