lkml.org 
[lkml]   [2006]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Add a "enable" sysfs attribute to the pci devices to allow userspace (Xorg) to enable devices without doing foul direct access
Hi!

> >It has everything to do with the 'enable' file. The
> >'enable' file lets
> >you change the state of the hardware without an
> >ownership mechanism.
> >Other device users will not be notified of the state
> >change. Since the
> >other users can't be sure of the state of the hardware
> >when they are
> >activated, they will have to reload their state into
> >the hardware on
> >every activation.
>
> you seem to miss the fact that this can be done now
> without the enable
> flag, setpci can be used to disable the BARs, again the
> enable flag
> doesn't change that....

...well, when you launch setpci, you are firmly in 'unsupported' land.
While 'enable' sounds like something where users expect it to be
supported.



--
Thanks for all the (sleeping) penguins.
-
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/

\
 
 \ /
  Last update: 2006-05-08 09:04    [W:0.134 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site