Hello all,

In pci_hose_scan_bus(), there is this check:

    if (vendor == 0xffff || vendor == 0x0000)
        continue;

The test against the special invalid vendor value of 0xffff is
definitely correct.  But is it necessarily wrong for a vendor ID to be
0?  Of course it's not used in the PCI vendor ID database, but AFAIK
it's not an illegal value.  I'm not 100% confident in that knowledge,
so hopefully someone more knowledgeable about PCI can speak up :-).
Would be happy to submit a patch if so.

Thanks and regards,
Gregory
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to