patch-2.3.13 linux/drivers/net/atari_bionet.c

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

diff -u --recursive --new-file v2.3.12/linux/drivers/net/atari_bionet.c linux/drivers/net/atari_bionet.c
@@ -446,7 +446,7 @@
 	}
 	else {
 		int length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
-		unsigned long buf = VTOP(skb->data);
+		unsigned long buf = virt_to_phys(skb->data);
 		int stat;
 
 		stdma_lock(bionet_intr, NULL);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)