Commit e3602cb0 authored by Santiago Leon's avatar Santiago Leon Committed by Linus Torvalds

[PATCH] broken PowerPC Virtual Ethernet

This fixes the PowerPC Virtual Ethernet driver that got broken by the
recent ppc64 iommu patch...
parent 521d85de
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
#include <asm/semaphore.h> #include <asm/semaphore.h>
#include <asm/hvcall.h> #include <asm/hvcall.h>
#include <asm/atomic.h> #include <asm/atomic.h>
#include <asm/pci_dma.h> #include <asm/iommu.h>
#include <asm/vio.h> #include <asm/vio.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
...@@ -913,7 +913,7 @@ static int __devinit ibmveth_probe(struct vio_dev *dev, const struct vio_device_ ...@@ -913,7 +913,7 @@ static int __devinit ibmveth_probe(struct vio_dev *dev, const struct vio_device_
adapter->mac_addr = 0; adapter->mac_addr = 0;
memcpy(&adapter->mac_addr, mac_addr_p, 6); memcpy(&adapter->mac_addr, mac_addr_p, 6);
adapter->liobn = dev->tce_table->index; adapter->liobn = dev->iommu_table->it_index;
netdev->irq = dev->irq; netdev->irq = dev->irq;
netdev->open = ibmveth_open; netdev->open = ibmveth_open;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment