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

2014-05-27 Thread Bjorn Helgaas
On Sun, May 04, 2014 at 12:23:35PM +0800, Yijing Wang wrote: > v1->v2: Add comments for new pci_is_bridge(). > > 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 mor

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

2014-05-03 Thread Yijing Wang
v1->v2: Add comments for new pci_is_bridge(). 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. PCI Spec define the pci device is a bridge by the dev->hdr_