linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/13] Refactor pci_is_brdige() to simplify code
@ 2014-04-25  9:18 Yijing Wang
  2014-04-25  9:18 ` [PATCH 01/13] PCI: rename pci_is_bridge() to pci_has_subordinate() Yijing Wang
                   ` (14 more replies)
  0 siblings, 15 replies; 20+ messages in thread
From: Yijing Wang @ 2014-04-25  9:18 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Tony Luck, linux-ia64, x86, linux-kernel, Yijing Wang, sparclinux,
	Thomas Gleixner, linuxppc-dev, David S. Miller

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: rename pci_is_bridge() to pci_has_subordinate()
  PCI: Introduce new pci_is_bridge() helper function
  PCI: Use new pci_is_bridge() to simplify code
  x86/PCI: Use new pci_is_bridge() to simplify code
  IA64/PCI: Use new pci_is_bridge() to simplify code
  powerpc/PCI: Use new pci_is_bridge() to simplify code
  sparc/PCI: Use new pci_is_bridge() to simplify code
  PCI, rpaphp: Use new pci_is_bridge() to simplify code
  PCI, shpchp: Use new pci_is_bridge() to simplify code
  PCI, cpcihp: Use new pci_is_bridge() to simplify code
  PCI, acpiphp: Use new pci_is_bridge() to simplify code
  PCI, pcmcia: Use new pci_is_bridge() to simplify code
  PCI, pciehp: Use new pci_is_bridge() to simplify code

 arch/ia64/pci/fixup.c                  |    4 +---
 arch/powerpc/kernel/pci-hotplug.c      |    3 +--
 arch/powerpc/kernel/pci_of_scan.c      |    3 +--
 arch/sparc/kernel/pci.c                |    3 +--
 arch/x86/pci/fixup.c                   |    4 +---
 drivers/pci/hotplug/acpiphp_glue.c     |    3 +--
 drivers/pci/hotplug/cpci_hotplug_pci.c |    3 +--
 drivers/pci/hotplug/pciehp_pci.c       |    3 +--
 drivers/pci/hotplug/rpadlpar_core.c    |    3 +--
 drivers/pci/hotplug/shpchp_pci.c       |    3 +--
 drivers/pci/pci-acpi.c                 |    8 +-------
 drivers/pci/pci-driver.c               |    8 ++++----
 drivers/pci/pci.h                      |    2 +-
 drivers/pci/probe.c                    |    3 +--
 drivers/pci/setup-bus.c                |    4 +---
 drivers/pcmcia/cardbus.c               |    3 +--
 include/linux/pci.h                    |    6 ++++++
 17 files changed, 25 insertions(+), 41 deletions(-)

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-05-04  4:20 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-25  9:18 [PATCH 00/13] Refactor pci_is_brdige() to simplify code Yijing Wang
2014-04-25  9:18 ` [PATCH 01/13] PCI: rename pci_is_bridge() to pci_has_subordinate() Yijing Wang
2014-04-25  9:18 ` [PATCH 02/13] PCI: Introduce new pci_is_bridge() helper function Yijing Wang
2014-04-25  9:18 ` [PATCH 03/13] PCI: Use new pci_is_bridge() to simplify code Yijing Wang
2014-04-25  9:18 ` [PATCH 04/13] x86/PCI: " Yijing Wang
2014-04-25  9:18 ` [PATCH 05/13] IA64/PCI: " Yijing Wang
2014-04-25  9:18 ` [PATCH 06/13] powerpc/PCI: " Yijing Wang
2014-04-25  9:18 ` [PATCH 07/13] sparc/PCI: " Yijing Wang
2014-04-25 16:49   ` David Miller
2014-04-25  9:18 ` [PATCH 08/13] PCI, rpaphp: " Yijing Wang
2014-04-28  0:43   ` Benjamin Herrenschmidt
2014-04-25  9:18 ` [PATCH 09/13] PCI, shpchp: " Yijing Wang
2014-04-25  9:18 ` [PATCH 10/13] PCI, cpcihp: " Yijing Wang
2014-04-25  9:18 ` [PATCH 11/13] PCI, acpiphp: " Yijing Wang
2014-04-25  9:18 ` [PATCH 12/13] PCI, pcmcia: " Yijing Wang
2014-04-25  9:18 ` [PATCH 13/13] PCI, pciehp: " Yijing Wang
2014-04-25  9:42 ` [PATCH 00/13] Refactor pci_is_brdige() " David Laight
2014-04-26  2:49   ` Yijing Wang
2014-04-30 16:29 ` Bjorn Helgaas
2014-05-04  4:16   ` Yijing Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).