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
- Lines: 11
- Date:
Fri Oct 9 11:56:59 1998
- Orig file:
v2.1.125/linux/drivers/net/sdla_x25.c
- Orig date:
Fri Oct 9 13:27:09 1998
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