patch-2.1.53 linux/drivers/net/defxx.c
Next file: linux/drivers/net/ethertap.c
Previous file: linux/drivers/net/com90xx.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Sep 4 13:25:28 1997
- Orig file:
v2.1.52/linux/drivers/net/defxx.c
- Orig date:
Mon Jun 16 16:35:55 1997
diff -u --recursive --new-file v2.1.52/linux/drivers/net/defxx.c linux/drivers/net/defxx.c
@@ -2953,7 +2953,7 @@
* the old EISA boards.
*/
newskb->data = (char *)((unsigned long)
- (newskb->data+127) & ~128);
+ (newskb->data+127) & ~127);
bp->descr_block_virt->rcv_data[i+j].long_1 = virt_to_bus(newskb->data);
/*
* p_rcv_buff_va is only used inside the
@@ -3065,7 +3065,7 @@
if (newskb){
rx_in_place = 1;
- newskb->data = (char *)((unsigned long)(newskb->data+127) & ~128);
+ newskb->data = (char *)((unsigned long)(newskb->data+127) & ~127);
skb = (struct sk_buff *)bp->p_rcv_buff_va[entry];
skb->data += RCV_BUFF_K_PADDING;
bp->p_rcv_buff_va[entry] = (char *)newskb;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov