patch-2.3.9 linux/arch/mips/lib/ide-no.c

Next file: linux/arch/mips/lib/ide-std.c
Previous file: linux/arch/mips/lib/floppy-std.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.8/linux/arch/mips/lib/ide-no.c linux/arch/mips/lib/ide-no.c
@@ -1,4 +1,4 @@
-/* $Id: ide-no.c,v 1.2 1998/05/28 03:17:57 ralf Exp $
+/* $Id: ide-no.c,v 1.3 1999/06/17 13:25:49 ralf Exp $
  *
  * This file is subject to the terms and conditions of the GNU General Public
  * License.  See the file "COPYING" in the main directory of this archive
@@ -7,13 +7,13 @@
  * Stub IDE routines to keep Linux from crashing on machine which don't
  * have IDE like the Indy.
  *
- * Copyright (C) 1998 by Ralf Baechle
+ * Copyright (C) 1998, 1999 by Ralf Baechle
  */
 #include <linux/hdreg.h>
 #include <linux/kernel.h>
+#include <linux/ide.h>
 #include <asm/hdreg.h>
 #include <asm/ptrace.h>
-#include <asm/ide.h>
 
 static int no_ide_default_irq(ide_ioreg_t base)
 {
@@ -25,17 +25,15 @@
 	return 0;
 }
 
-static void no_ide_init_hwif_ports (	hw_regs_t *hw,
-					ide_ioreg_t data_port,
-					ide_ioreg_t ctrl_port,
-					int *irq)
+static void no_ide_init_hwif_ports (hw_regs_t *hw, ide_ioreg_t data_port,
+                                    ide_ioreg_t ctrl_port, int *irq)
 {
 }
 
 static int no_ide_request_irq(unsigned int irq,
-                                void (*handler)(int,void *, struct pt_regs *),
-                                unsigned long flags, const char *device,
-                                void *dev_id)
+                              void (*handler)(int,void *, struct pt_regs *),
+                              unsigned long flags, const char *device,
+                              void *dev_id)
 {
 	panic("no_no_ide_request_irq called - shouldn't happen");
 }			

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)