[PATCH] powerpc: remove LogicalSlot from pci_dn

As we now store enough information in the device_node.

Also the Flags field was not used either, do remove that.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Tento commit je obsažen v:
Stephen Rothwell
2006-05-19 16:51:57 +10:00
odevzdal Paul Mackerras
rodič b025279316
revize 403fac4f83
3 změnil soubory, kde provedl 4 přidání a 13 odebrání

Zobrazit soubor

@@ -162,10 +162,13 @@ void iommu_devnode_init_iSeries(struct device_node *dn)
{
struct iommu_table *tbl;
struct pci_dn *pdn = PCI_DN(dn);
u32 *lsn = (u32 *)get_property(dn, "linux,logical-slot-number", NULL);
BUG_ON(lsn == NULL);
tbl = kmalloc(sizeof(struct iommu_table), GFP_KERNEL);
iommu_table_getparms_iSeries(pdn->busno, pdn->LogicalSlot, 0, tbl);
iommu_table_getparms_iSeries(pdn->busno, *lsn, 0, tbl);
/* Look for existing tce table */
pdn->iommu_table = iommu_table_find(tbl);