patch-2.2.4 linux/include/asm-sparc64/floppy.h
Next file: linux/include/asm-sparc64/init.h
Previous file: linux/include/asm-sparc64/firehose.h
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Sun Mar 21 07:23:38 1999
- Orig file:
v2.2.3/linux/include/asm-sparc64/floppy.h
- Orig date:
Sun Nov 8 14:03:10 1998
diff -u --recursive --new-file v2.2.3/linux/include/asm-sparc64/floppy.h linux/include/asm-sparc64/floppy.h
@@ -1,4 +1,4 @@
-/* $Id: floppy.h,v 1.16 1998/10/06 20:32:15 ecd Exp $
+/* $Id: floppy.h,v 1.18 1999/03/21 10:51:38 davem Exp $
* asm-sparc64/floppy.h: Sparc specific parts of the Floppy driver.
*
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
@@ -114,6 +114,7 @@
static unsigned char sun_82077_fd_inb(unsigned long port)
{
+ udelay(5);
switch(port & 7) {
default:
printk("floppy: Asked to read unknown port %lx\n", port);
@@ -131,6 +132,7 @@
static void sun_82077_fd_outb(unsigned char value, unsigned long port)
{
+ udelay(5);
switch(port & 7) {
default:
printk("floppy: Asked to write to unknown port %lx\n", port);
@@ -702,7 +704,7 @@
sun_fdops.fd_inb = sun_82077_fd_inb;
sun_fdops.fd_outb = sun_82077_fd_outb;
- use_virtual_dma = 1;
+ can_use_virtual_dma = use_virtual_dma = 1;
sun_fdops.fd_enable_dma = sun_fd_enable_dma;
sun_fdops.fd_disable_dma = sun_fd_disable_dma;
sun_fdops.fd_set_dma_mode = sun_fd_set_dma_mode;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)