patch-2.0.21-2.1.0 linux/include/asm-mips/floppy.h

Next file: linux/include/asm-ppc/fcntl.h
Previous file: linux/include/asm-mips/fcntl.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file lx2.0/v2.0.21/linux/include/asm-mips/floppy.h linux/include/asm-mips/floppy.h
@@ -25,7 +25,7 @@
 #define fd_free_dma()			feature->fd_free_dma()
 #define fd_clear_dma_ff()		feature->fd_clear_dma_ff()
 #define fd_set_dma_mode(mode)		feature->fd_set_dma_mode(mode)
-#define fd_set_dma_addr(addr)		feature->fd_set_dma_addr(addr)
+#define fd_set_dma_addr(addr)		feature->fd_set_dma_addr(virt_to_bus(addr))
 #define fd_set_dma_count(count)		feature->fd_set_dma_count(count)
 #define fd_get_dma_residue()		feature->fd_get_dma_residue()
 #define fd_enable_irq()			feature->fd_enable_irq()

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov