On 11.02.2008 22:26, ron minnich wrote:
> On Feb 11, 2008 5:46 AM, Carl-Daniel Hailfinger
> <[EMAIL PROTECTED]> wrote:
>
>> How do you handle the case where two identical PCI devices need
>> different settings?
>>
>
> That's actually very easy. The patch differentiates each device, while
> the id identifies what kind of device they are.
>
OK.
> I have the patch ready and tested. Here is how the qemu dts now looks.
> This boots linux fine. If this looks OK I will submit the patch.
>
I like the new structure, but there is one thing that irritates me to no
end: "@"
When I first read the dts without the accompanying discussion, I
completely misunderstood the structure because of the "@". I thought the
"@" really meant "at" in the sense that it refers to the address of the
parent entity, e.g "[EMAIL PROTECTED],0" means "the pci device at bus 0,0".
However,
the true meaning/translation of "@" seems to be "device with
address/number", e.g. "[EMAIL PROTECTED],0" means "pci device with address 0,0".
Can we please have another separator like "-" or ":" or "_"? All of
those alternative separators convey the meaning better.
A patch with a changed separator would be really appreciated.
> ron
> /{
> mainboard-vendor = "Emulation";
> mainboard-name = "QEMU x86";
> enabled;
> constructor = "qemuvga_constructors";
> cpus {
> enabled;
> };
> [EMAIL PROTECTED] {
> /config/("northbridge/intel/i440bxemulation/dts");
> enabled;
> [EMAIL PROTECTED] {
> [EMAIL PROTECTED],0 {
> enabled;
> };
> [EMAIL PROTECTED],0 {
> /config/("southbridge/intel/i82371eb/dts");
> enabled;
> };
> };
> };
> };
>
>
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
--
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot