Fixed compile error in e1000 driver for 2.6.26.
--- 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)