[U-Boot] [PATCH] pci: don't skip vendor ID 0

Leon Woestenberg leon at sidebranch.com
Thu Jan 26 14:57:32 CET 2017


On Thu, Jan 26, 2017 at 2:19 PM, Gregory Fong <gregory.0xf0 at gmail.com>
wrote:

>  It looks like the main problem is that
> struct pci_device_id with vendor and device both 0 is being used to
> indicate the end of an array.  Not that complicated to change, but it
> isn't trivial either, so figure it's best to leave for a future
> changeset.
>
> Hmm, then maybe 0xFFFF, 0xFFFF should be used to indicate the end of the
array.

How does Linux handle the end of the array, while it also supports 0x0000,
0x0000?

Thanks,

Leon.


More information about the U-Boot mailing list