Re: [PATCH 00/13] Refactor pci_is_brdige() to simplify code

2014-05-03 Thread Yijing Wang
> This needs to be posted to the linux-pci list. The fact that it > wasn't means it's not in patchwork, so it's not on my to-do list. > > Currently we have one interface: pci_is_bridge(). > > After your series, we would have two interfaces: pci_is_bridge() and > pci_has_subordinate(). Presumabl

Re: [PATCH 00/13] Refactor pci_is_brdige() to simplify code

2014-04-30 Thread Bjorn Helgaas
On Fri, Apr 25, 2014 at 3:18 AM, Yijing Wang wrote: > This patchset rename the current pci_is_bridge() to pci_has_subordinate(), > and introduce a new pci_is_bridge() which determine pci bridge by check > dev->hdr_type. The new one is more accurate. PCIe Spec define the pci > device is a bridge by

Re: [PATCH 00/13] Refactor pci_is_brdige() to simplify code

2014-04-25 Thread Yijing Wang
On 2014/4/25 17:42, David Laight wrote: > From: Yijing Wang >> This patchset rename the current pci_is_bridge() to pci_has_subordinate(), >> and introduce a new pci_is_bridge() which determine pci bridge by check >> dev->hdr_type. The new one is more accurate. PCIe Spec define the pci >> device is

RE: [PATCH 00/13] Refactor pci_is_brdige() to simplify code

2014-04-25 Thread David Laight
From: Yijing Wang > This patchset rename the current pci_is_bridge() to pci_has_subordinate(), > and introduce a new pci_is_bridge() which determine pci bridge by check > dev->hdr_type. The new one is more accurate. PCIe Spec define the pci > device is a bridge by the dev->hdr_type = 0x01 || 0x02.

[PATCH 00/13] Refactor pci_is_brdige() to simplify code

2014-04-25 Thread Yijing Wang
This patchset rename the current pci_is_bridge() to pci_has_subordinate(), and introduce a new pci_is_bridge() which determine pci bridge by check dev->hdr_type. The new one is more accurate. PCIe Spec define the pci device is a bridge by the dev->hdr_type = 0x01 || 0x02. Yijing Wang (13): PCI: