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:
@@ -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
|
||||
|
Reference in New Issue
Block a user