diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-06-21 20:15:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 21:46:30 -0400 |
commit | 061c063efce96b33f9e26d5f83a8eb0643fa493c (patch) | |
tree | 6e40638f187b5d1f540d0c777d2cdc4f83ccfbd0 /include | |
parent | a2ebaf250fabc5c5644b707dbee44c9e0ec442e9 (diff) |
[PATCH] ppc64 iSeries: remove some more members of iSeries_Device_Node
The AgentId, PhbId, FrameId, CardLocation and Location members of
iSeries_Device_Node are stored early in the boot process just so that a
message about the device can be printed later in the boot process. Remove
them and construct the message by doing the VPD parsing at the time the
message is printed.
Also remove a few unused defines in iSeries_VpdInfo.c.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc64/iSeries/iSeries_pci.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/asm-ppc64/iSeries/iSeries_pci.h b/include/asm-ppc64/iSeries/iSeries_pci.h index ee0212f18b99..575f611f8b33 100644 --- a/include/asm-ppc64/iSeries/iSeries_pci.h +++ b/include/asm-ppc64/iSeries/iSeries_pci.h | |||
@@ -76,19 +76,13 @@ struct iSeries_Device_Node { | |||
76 | union HvDsaMap DsaAddr; /* Direct Select Address */ | 76 | union HvDsaMap DsaAddr; /* Direct Select Address */ |
77 | /* busNumber, subBusNumber, */ | 77 | /* busNumber, subBusNumber, */ |
78 | /* deviceId, barNumber */ | 78 | /* deviceId, barNumber */ |
79 | HvAgentId AgentId; /* Hypervisor DevFn */ | ||
80 | int DevFn; /* Linux devfn */ | 79 | int DevFn; /* Linux devfn */ |
81 | int Irq; /* Assigned IRQ */ | 80 | int Irq; /* Assigned IRQ */ |
82 | int Flags; /* Possible flags(disable/bist)*/ | 81 | int Flags; /* Possible flags(disable/bist)*/ |
83 | u8 LogicalSlot; /* Hv Slot Index for Tces */ | 82 | u8 LogicalSlot; /* Hv Slot Index for Tces */ |
84 | struct iommu_table *iommu_table;/* Device TCE Table */ | 83 | struct iommu_table *iommu_table;/* Device TCE Table */ |
85 | u8 PhbId; /* Phb Card is on. */ | ||
86 | u8 FrameId; /* iSeries spcn Frame Id */ | ||
87 | char CardLocation[4];/* Char format of planar vpd */ | ||
88 | char Location[20]; /* Frame 1, Card C10 */ | ||
89 | }; | 84 | }; |
90 | 85 | ||
91 | extern int iSeries_Device_Information(struct pci_dev*, char*, int); | 86 | extern void iSeries_Device_Information(struct pci_dev*, int); |
92 | extern void iSeries_Get_Location_Code(struct iSeries_Device_Node*); | ||
93 | 87 | ||
94 | #endif /* _ISERIES_64_PCI_H */ | 88 | #endif /* _ISERIES_64_PCI_H */ |