patch-1.3.48 linux/include/asm-mips/floppy.h

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

diff -u --recursive --new-file v1.3.47/linux/include/asm-mips/floppy.h linux/include/asm-mips/floppy.h
@@ -17,7 +17,7 @@
 #include <asm/vector.h>
 
 #define fd_inb(port)			feature->fd_inb(port)
-#define fd_outb(port,value)		feature->fd_outb(port,value)
+#define fd_outb(value,port)		feature->fd_outb(value,port)
 
 #define fd_enable_dma()			feature->fd_enable_dma()
 #define fd_disable_dma()		feature->fd_disable_dma()
@@ -36,6 +36,7 @@
 				            "floppy")
 #define fd_free_irq()           free_irq(FLOPPY_IRQ);
 
+#define MAX_BUFFER_SECTORS 24
 #define virtual_dma_init()                                              \
         if (boot_info.machtype == MACH_ACER_PICA_61 ||                  \
             boot_info.machtype == MACH_MIPS_MAGNUM_4000 ||              \

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