patch-2.1.22 linux/drivers/net/lance.c
Next file: linux/drivers/net/lapbether.c
Previous file: linux/drivers/net/ibmtr.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Jan 19 15:47:25 1997
-  Orig file: 
v2.1.21/linux/drivers/net/lance.c
-  Orig date: 
Wed Aug 21 09:12:49 1996
diff -u --recursive --new-file v2.1.21/linux/drivers/net/lance.c linux/drivers/net/lance.c
@@ -309,7 +309,7 @@
 {
 	int *port;
 
-	if (high_memory <= 16*1024*1024)
+	if (virt_to_bus(high_memory) <= 16*1024*1024)
 		lance_need_isa_bounce_buffers = 0;
 
 #if defined(CONFIG_PCI)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov