Fixed compile error in e1000 driver for 2.6.26.
authorFlorian Pose <fp@igh-essen.com>
Mon, 09 Mar 2009 08:35:42 +0000
changeset 1366 901a432d4531
parent 1365 d55a393f32d2
child 1367 5f11ed746d15
Fixed compile error in e1000 driver for 2.6.26.
devices/e1000/e1000_ethtool-2.6.26-ethercat.c
devices/e1000/e1000_ethtool-2.6.26-orig.c
--- a/devices/e1000/e1000_ethtool-2.6.26-ethercat.c	Tue Feb 24 13:44:01 2009 +0000
+++ b/devices/e1000/e1000_ethtool-2.6.26-ethercat.c	Mon Mar 09 08:35:42 2009 +0000
@@ -1042,7 +1042,7 @@
 	if (txdr->desc && txdr->buffer_info) {
 		for (i = 0; i < txdr->count; i++) {
 			if (txdr->buffer_info[i].dma)
-				pci_unmap_single(pdev, txdr->buffer_info[i]dma,
+				pci_unmap_single(pdev, txdr->buffer_info[i].dma,
 						 txdr->buffer_info[i].length,
 						 PCI_DMA_TODEVICE);
 			if (txdr->buffer_info[i].skb)
@@ -1053,7 +1053,7 @@
 	if (rxdr->desc && rxdr->buffer_info) {
 		for (i = 0; i < rxdr->count; i++) {
 			if (rxdr->buffer_info[i].dma)
-				pci_unmap_single(pdev, rxdr->buffer_info[i]dma,
+				pci_unmap_single(pdev, rxdr->buffer_info[i].dma,
 						 rxdr->buffer_info[i].length,
 						 PCI_DMA_FROMDEVICE);
 			if (rxdr->buffer_info[i].skb)
--- a/devices/e1000/e1000_ethtool-2.6.26-orig.c	Tue Feb 24 13:44:01 2009 +0000
+++ b/devices/e1000/e1000_ethtool-2.6.26-orig.c	Mon Mar 09 08:35:42 2009 +0000
@@ -1028,7 +1028,7 @@
 	if (txdr->desc && txdr->buffer_info) {
 		for (i = 0; i < txdr->count; i++) {
 			if (txdr->buffer_info[i].dma)
-				pci_unmap_single(pdev, txdr->buffer_info[i]dma,
+				pci_unmap_single(pdev, txdr->buffer_info[i].dma,
 						 txdr->buffer_info[i].length,
 						 PCI_DMA_TODEVICE);
 			if (txdr->buffer_info[i].skb)
@@ -1039,7 +1039,7 @@
 	if (rxdr->desc && rxdr->buffer_info) {
 		for (i = 0; i < rxdr->count; i++) {
 			if (rxdr->buffer_info[i].dma)
-				pci_unmap_single(pdev, rxdr->buffer_info[i]dma,
+				pci_unmap_single(pdev, rxdr->buffer_info[i].dma,
 						 rxdr->buffer_info[i].length,
 						 PCI_DMA_FROMDEVICE);
 			if (rxdr->buffer_info[i].skb)