[PATCH] powerpc: the iSeries vio lan driver changed device type

Stephen Rothwell sfr at canb.auug.org.au
Thu May 18 17:21:26 EST 2006


So the IOMMU table building code needs to match.

Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
---

 arch/powerpc/kernel/vio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

This patch is relative to the four iSeries vio patches I sent on Moday.
-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au

af5dbd2219106b6ce52b075485fca3c2a08cec58
diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c
index ac5c7bf..b559cbd 100644
--- a/arch/powerpc/kernel/vio.c
+++ b/arch/powerpc/kernel/vio.c
@@ -71,7 +71,7 @@ static struct iommu_table *vio_build_iom
 {
 #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
-- 
1.3.1.ge923




More information about the Linuxppc-dev mailing list