patch-1.3.100 linux/include/asm-sparc/floppy.h

Next file: linux/include/asm-sparc/termbits.h
Previous file: linux/include/asm-ppc/termios.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.99/linux/include/asm-sparc/floppy.h linux/include/asm-sparc/floppy.h
@@ -66,6 +66,8 @@
 #define fd_cacheflush(addr, size) /* nothing... */
 #define fd_request_irq()          sun_fd_request_irq()
 #define fd_free_irq()             /* nothing... */
+#define fd_dma_mem_alloc(size)    ((unsigned long) vmalloc(size))
+#define fd_dma_mem_free(addr,size) (vfree((void *)(addr)))
 
 #define FLOPPY_MOTOR_MASK         0x10
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this