mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 14:17:43 +00:00
[PATCH] powerpc: the iSeries vio lan driver changed device type
So the IOMMU table building code needs to match. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
4c76e0bcde
commit
1dc461f0b0
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ static struct iommu_table *vio_build_iommu_table(struct vio_dev *dev)
|
|||
{
|
||||
#ifdef CONFIG_PPC_ISERIES
|
||||
if (firmware_has_feature(FW_FEATURE_ISERIES)) {
|
||||
if (strcmp(dev->type, "vlan") == 0)
|
||||
if (strcmp(dev->type, "network") == 0)
|
||||
return &veth_iommu_table;
|
||||
return &vio_iommu_table;
|
||||
} else
|
||||
|
|
Loading…
Add table
Reference in a new issue