[patch] 2.5.8-pre3 - drivers/net/wan/farsync.c

Francois Romieu (romieu@cogenit.fr)
Fri, 12 Apr 2002 13:34:38 +0200


Greetings,

Problem:
compilation fails due to removal of rmem_{start/end} in struct net_device.

Fix:
Simple removal. I haven't found any other use of these fields in the driver.

--- linux-2.5.8-pre3.orig/drivers/net/wan/farsync.c Thu Apr 11 23:51:52 2002
+++ linux-2.5.8-pre3/drivers/net/wan/farsync.c Thu Apr 11 23:55:24 2002
@@ -1469,10 +1469,6 @@ fst_init_card ( struct fst_card_info *ca
+ BUF_OFFSET ( txBuffer[i][0][0]);
dev->mem_end = card->phys_mem
+ BUF_OFFSET ( txBuffer[i][NUM_TX_BUFFER][0]);
- dev->rmem_start = card->phys_mem
- + BUF_OFFSET ( rxBuffer[i][0][0]);
- dev->rmem_end = card->phys_mem
- + BUF_OFFSET ( rxBuffer[i][NUM_RX_BUFFER][0]);
dev->base_addr = card->pci_conf;
dev->irq = card->irq;

-- 
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/