exporting CARD_INFO_GET to user space

Marco d'Itri md at Linux.IT
Wed Feb 23 05:12:07 EST 2005


On Feb 23, Duncan Sands <baldrick at free.fr> wrote:

> > You will *always* need a driver-specific tool to decode some of the
> > parameters, so access to the raw data would be needed anyway and adding
> > a binary file to sysfs to do it should be almost trivial.
> There is a policy of no binary files in sysfs.  More: only one value per
> file.
So what about the PCI config space files?
But even if you are right it does not mean that single files are the
only solution, if it's a more sensible API then you can also use files
with multiple values like /sys/block/*/stat.

-- 
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.infradead.org/pipermail/usbatm/attachments/20050223/464b16ea/attachment.bin


More information about the Usbatm mailing list