patch-2.3.36 linux/drivers/char/zr36120_mem.h
Next file: linux/drivers/fc4/soc.c
Previous file: linux/drivers/char/zr36120_mem.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Dec 29 17:08:55 1999
- Orig file:
v2.3.35/linux/drivers/char/zr36120_mem.h
- Orig date:
Tue Dec 7 09:32:43 1999
diff -u --recursive --new-file v2.3.35/linux/drivers/char/zr36120_mem.h linux/drivers/char/zr36120_mem.h
@@ -1,17 +1,3 @@
-extern inline unsigned long uvirt_to_phys(unsigned long adr);
-
-/* vmalloced address to physical address */
-extern inline unsigned long kvirt_to_phys(unsigned long adr)
-{ return uvirt_to_phys(VMALLOC_VMADDR(adr)); }
-
-/* vmalloced address to bus address */
-extern inline unsigned long kvirt_to_bus(unsigned long adr)
-{ return virt_to_bus(phys_to_virt(kvirt_to_phys(adr))); }
-
-/* always vmalloced memory - not always continuous! */
-void* rvmalloc(unsigned long size);
-void rvfree(void* mem, unsigned long size);
-
/* either kmalloc() or bigphysarea() alloced memory - continuous */
void* bmalloc(unsigned long size);
void bfree(void* mem, unsigned long size);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)