patch-2.1.126 linux/drivers/net/sdla_x25.c

Next file: linux/drivers/net/sdladrv.c
Previous file: linux/drivers/net/sdla_ppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.125/linux/drivers/net/sdla_x25.c linux/drivers/net/sdla_x25.c
@@ -560,8 +560,8 @@
 	dev->irq	= wandev->irq;
 	dev->dma	= wandev->dma;
 	dev->base_addr	= wandev->ioport;
-	dev->mem_start	= wandev->maddr;
-	dev->mem_end	= wandev->maddr + wandev->msize - 1;
+	dev->mem_start	= (unsigned long)wandev->maddr;
+	dev->mem_end	= dev->mem_end + wandev->msize - 1;
 
         /* Set transmit buffer queue length */
         dev->tx_queue_len = 10;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov