From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Woestenberg Date: Thu, 26 Jan 2017 14:57:32 +0100 Subject: [U-Boot] [PATCH] pci: don't skip vendor ID 0 In-Reply-To: References: <1485321910-12648-1-git-send-email-gregory.fong@virgingalactic.com> <20170125212258.GA17043@10.34.70.57> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jan 26, 2017 at 2:19 PM, Gregory Fong 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.