[syslinux] ethersel.c32 issues
H. Peter Anvin
hpa at zytor.com
Sun Feb 27 13:19:55 PST 2005
Alexander Heinz wrote:
>> I have added several printf's to ethersel.c including one after the line
>> did = pci_readl(a);
>>
>> I have added
>> printf("found: DID %08x\n", did);
>>
>> and I get a lot of lines like
>> found: DID ffffffff
>
> I forgot to tell that this applies to VMWARE.
>
0xffffffff means empty slot.
> I have also tested it with a real PC that fails with ethersel and there
> are a lot of "found: DID ffffffff" lines but the output also includes
> some with "found: DID 00000124".
> Everytime the line "found: DID 00000124" shows up, (hdrtype & 0x7f) is
> true.
Interesting. First of all, 0x00000124 is an invalid DID. Second of
all, hdrtype & 0x7f should be zero for most devices (the only exception
is PCI bridges.)
Can you tell what __pci_cfg_type gets set to?
-hpa
More information about the Syslinux
mailing list