aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/iseries/pci.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-10-14 01:06:10 -0400
committerStephen Rothwell <sfr@canb.auug.org.au>2005-10-14 01:06:10 -0400
commitbffa8fc3835b0d3c4a59af8aceeea3aba823b032 (patch)
tree53f46e4aef2f9b6afdaa55f82136d67b66de7dec /arch/powerpc/platforms/iseries/pci.h
parent426c1a11a677e39a8c8ed744a521d0f4cb2e417e (diff)
powerpc: remove ISERIES_[SUB]BUS macros
This allows us to simplify a couple of things. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/platforms/iseries/pci.h')
-rw-r--r--arch/powerpc/platforms/iseries/pci.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/powerpc/platforms/iseries/pci.h b/arch/powerpc/platforms/iseries/pci.h
index e7d92504cb05..94b4bfdceadf 100644
--- a/arch/powerpc/platforms/iseries/pci.h
+++ b/arch/powerpc/platforms/iseries/pci.h
@@ -30,18 +30,9 @@
30 * End Change Activity 30 * End Change Activity
31 */ 31 */
32 32
33#include <asm/pci-bridge.h>
34
35struct pci_dev; /* For Forward Reference */ 33struct pci_dev; /* For Forward Reference */
36 34
37/* 35/*
38 * Gets iSeries Bus, SubBus, DevFn using device_node structure
39 */
40
41#define ISERIES_BUS(DevPtr) PCI_DN(DevPtr)->DsaAddr.Dsa.busNumber
42#define ISERIES_SUBBUS(DevPtr) PCI_DN(DevPtr)->DsaAddr.Dsa.subBusNumber
43
44/*
45 * Decodes Linux DevFn to iSeries DevFn, bridge device, or function. 36 * Decodes Linux DevFn to iSeries DevFn, bridge device, or function.
46 * For Linux, see PCI_SLOT and PCI_FUNC in include/linux/pci.h 37 * For Linux, see PCI_SLOT and PCI_FUNC in include/linux/pci.h
47 */ 38 */