All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Woestenberg <leon@sidebranch.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] pci: don't skip vendor ID 0
Date: Thu, 26 Jan 2017 14:57:32 +0100	[thread overview]
Message-ID: <CAMjhiJhjRuCyb9uTUNwvo++Ta5Rc4kf1LO73qCb4cz_6AxbWVg@mail.gmail.com> (raw)
In-Reply-To: <CADtm3G5D17Gaw_PXcbN+7XaVhwvt73fD36KsmsR+gy9wcsAY4Q@mail.gmail.com>

On Thu, Jan 26, 2017 at 2:19 PM, Gregory Fong <gregory.0xf0@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.

  reply	other threads:[~2017-01-26 13:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25  5:25 [U-Boot] [PATCH] pci: don't skip vendor ID 0 Gregory Fong
2017-01-25 14:14 ` Bin Meng
2017-01-25 21:23   ` Gregory Fong
2017-01-26 10:08     ` Bin Meng
2017-01-26 12:26       ` Leon Woestenberg
2017-01-26 13:19         ` Gregory Fong
2017-01-26 13:57           ` Leon Woestenberg [this message]
2017-01-27  3:11             ` Gregory Fong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMjhiJhjRuCyb9uTUNwvo++Ta5Rc4kf1LO73qCb4cz_6AxbWVg@mail.gmail.com \
    --to=leon@sidebranch.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.