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

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

diff -u --recursive --new-file v2.3.8/linux/arch/mips/lib/ide-std.c linux/arch/mips/lib/ide-std.c
@@ -1,5 +1,4 @@
-/*
- * include/asm-mips/types.h
+/* $Id: ide-std.c,v 1.4 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,12 +6,14 @@
  *
  * IDE routines for typical pc-like standard configurations.
  *
- * Copyright (C) 1998 by Ralf Baechle
+ * Copyright (C) 1998, 1999 by Ralf Baechle
  */
+#include <linux/sched.h>
+#include <linux/ide.h>
+#include <linux/ioport.h>
 #include <linux/hdreg.h>
 #include <asm/ptrace.h>
 #include <asm/hdreg.h>
-#include <asm/ide.h>
 
 static int std_ide_default_irq(ide_ioreg_t base)
 {
@@ -42,10 +43,8 @@
 	}
 }
 
-static void std_ide_init_hwif_ports (	hw_regs_t *hw,
-					ide_ioreg_t data_port,
-					ide_ioreg_t ctrl_port,
-					int *irq)
+static void std_ide_init_hwif_ports (hw_regs_t *hw, ide_ioreg_t data_port,
+                                     ide_ioreg_t ctrl_port, int *irq)
 {
 	ide_ioreg_t reg = data_port;
 	int i;

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