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

From: Francois Romieu (romieu@cogenit.fr)
Date: Fri Apr 12 2002 - 06:34:38 EST


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/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:20 EST