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

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

diff -u --recursive --new-file v2.1.125/linux/drivers/net/sdla_ppp.c linux/drivers/net/sdla_ppp.c
@@ -412,8 +412,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_start + wandev->msize - 1;
 	/* Set transmit buffer queue length */
 	dev->tx_queue_len = 100;
 	/* Initialize socket buffers */

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