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>
This commit is contained in:
Stephen Rothwell
2005-10-14 15:06:10 +10:00
parent 426c1a11a6
commit bffa8fc383
3 changed files with 10 additions and 17 deletions

View File

@@ -30,17 +30,8 @@
* End Change Activity
*/
#include <asm/pci-bridge.h>
struct pci_dev; /* For Forward Reference */
/*
* Gets iSeries Bus, SubBus, DevFn using device_node structure
*/
#define ISERIES_BUS(DevPtr) PCI_DN(DevPtr)->DsaAddr.Dsa.busNumber
#define ISERIES_SUBBUS(DevPtr) PCI_DN(DevPtr)->DsaAddr.Dsa.subBusNumber
/*
* Decodes Linux DevFn to iSeries DevFn, bridge device, or function.
* For Linux, see PCI_SLOT and PCI_FUNC in include/linux/pci.h