Peter Brett wrote:
> On Wednesday 26 July 2006 10:08, Raphaël Jacquot wrote:
>> Daniel Rozsnyó wrote:
>>>   Maybe it would be better to store a hardware description in form of
>>> XML into the flash, which could be downloaded by the driver. This
>>> "document" will contain something like `lspci` - but inside the
>>> openhardware board. I prefer to use of XML, because it can store easily
>>> the hierarchical structure of the hardware (functional/logical blocks)
>>> and store whatever parameters it might require. Plus it's extensible in
>>> a way that you don't need a whole new "driver", to understand the new
>>> structure.
>>
>> yeah, right... then you need an XML parser in the driver... somehow I
>> don't think the kernel people will think it's a good idea...
> 
> I agree. KISS.
> 
> Peter

Why in the kernel? A perfect driver can be created from the XML
description in userland, compile & insmod. Well optimized for the given
hw and no overhead implementing support for something what is not in HW
(fpga).

The driver must be a module (if handles some system level functionality
- e.g. IDE card), but i'll rather want to see it as a library on the top
of some general OGA-PCI driver (for application level - e.g. hw
compression on fpga - that does not need a kernel driver and such things
should not go into kernel).

I don't think, that the kernel is ready for runtime-reconfigurable hw
(fpga boards), so be open to new ideas ;)

Daniel

_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to