patch-2.4.20 linux-2.4.20/drivers/net/wan/sdla.c
Next file: linux-2.4.20/drivers/net/wan/sdla_chdlc.c
Previous file: linux-2.4.20/drivers/net/wan/sbni.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Nov 28 15:53:14 2002
- Orig file:
linux-2.4.19/drivers/net/wan/sdla.c
- Orig date:
Fri Aug 2 17:39:44 2002
diff -urN linux-2.4.19/drivers/net/wan/sdla.c linux-2.4.20/drivers/net/wan/sdla.c
@@ -695,7 +695,7 @@
save_flags(flags);
cli();
SDLA_WINDOW(dev, addr);
- pbuf = (void *)(((int) dev->mem_start) + (addr & SDLA_ADDR_MASK));
+ pbuf = (void *)(((unsigned long) dev->mem_start) + (addr & SDLA_ADDR_MASK));
sdla_write(dev, pbuf->buf_addr, skb->data, skb->len);
SDLA_WINDOW(dev, addr);
pbuf->opp_flag = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)