X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-ppc64%2FiSeries%2FiSeries_pci.h;h=5769cff4c00c865af1a98b64426f53748f48fbaa;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=aa174cec6f717d3cd2ee2e4bf534f18e1009dd5b;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-ppc64/iSeries/iSeries_pci.h b/include/asm-ppc64/iSeries/iSeries_pci.h index aa174cec6..5769cff4c 100644 --- a/include/asm-ppc64/iSeries/iSeries_pci.h +++ b/include/asm-ppc64/iSeries/iSeries_pci.h @@ -101,28 +101,10 @@ struct iSeries_Device_Node { char Location[20]; /* Frame 1, Card C10 */ }; -/************************************************************************/ -/* Location Data extracted from the VPD list and device info. */ -/************************************************************************/ - -struct LocationDataStruct { /* Location data structure for device */ - u16 Bus; /* iSeries Bus Number 0x00*/ - u16 Board; /* iSeries Board 0x02*/ - u8 FrameId; /* iSeries spcn Frame Id 0x04*/ - u8 PhbId; /* iSeries Phb Location 0x05*/ - u8 AgentId; /* iSeries AgentId 0x06*/ - u8 Card; - char CardLocation[4]; -}; - -typedef struct LocationDataStruct LocationData; -#define LOCATION_DATA_SIZE 48 - /************************************************************************/ /* Functions */ /************************************************************************/ -extern LocationData* iSeries_GetLocationData(struct pci_dev* PciDev); extern int iSeries_Device_Information(struct pci_dev*,char*, int); extern void iSeries_Get_Location_Code(struct iSeries_Device_Node*); extern int iSeries_Device_ToggleReset(struct pci_dev* PciDev, int AssertTime, int DelayTime);