lkml.org 
[lkml]   [2006]   [May]   [13]   [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
On 5/13/06, Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> There are reasons why you may have to read the image at c0000... There's
> a bunch of laptops where it's in fact the only way to get to the video
> BIOS as it doesn't have a ROM attached to the video chip (it's burried
> in the main BIOS which thankfully copied it to c0000 when running it).
> In some cases, the BISO ROM self-modifies it's c0000 and it's that
> modified copy that the X (or fbdev) driver should get. Remeber that
> drivers needs access to the ROM for more than just POSTing the chip...

Whenever klibc gets merged it would probably be good to add a
libemu86. Did you get one put together that you're happy with?

Between the ROM attribute, klibc and libemu86 there will then be
enough support to write a tiny POST program that POSTs secondary and
non-x86 primary cards at boot. It will still need a little support in
sysfs for PCI bus VGA routing but we're almost there.

--
Jon Smirl
jonsmirl@gmail.com
-
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-14 02:58    [W:0.196 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site