patch-2.2.0-pre8 linux/drivers/net/znet.c
Next file: linux/drivers/pci/oldproc.c
Previous file: linux/drivers/net/rcpci45.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Jan 14 10:31:41 1999
- Orig file:
v2.2.0-pre7/linux/drivers/net/znet.c
- Orig date:
Fri Jan 8 22:36:09 1999
diff -u --recursive --new-file v2.2.0-pre7/linux/drivers/net/znet.c linux/drivers/net/znet.c
@@ -207,11 +207,11 @@
char *p;
/* This code scans the region 0xf0000 to 0xfffff for a "NETIDBLK". */
- for(p = phys_to_virt(0xf0000); p < phys_to_virt(0x100000); p++)
+ for(p = (char *)phys_to_virt(0xf0000); p < (char *)phys_to_virt(0x100000); p++)
if (*p == 'N' && strncmp(p, "NETIDBLK", 8) == 0)
break;
- if (p >= pyhs_to_virt(0x100000)) {
+ if (p >= (char *)phys_to_virt(0x100000)) {
if (znet_debug > 1)
printk(KERN_INFO "No Z-Note ethernet adaptor found.\n");
return ENODEV;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov