patch-2.1.101 linux/include/asm-arm/arch-rpc/ide.h
Next file: linux/include/asm-arm/arch-rpc/irqs.h
Previous file: linux/include/asm-arm/arch-nexuspci/timex.h
Back to the patch index
Back to the overall index
-  Lines: 22
-  Date:
Fri May  8 00:42:40 1998
-  Orig file: 
v2.1.100/linux/include/asm-arm/arch-rpc/ide.h
-  Orig date: 
Tue Jan 20 16:39:42 1998
diff -u --recursive --new-file v2.1.100/linux/include/asm-arm/arch-rpc/ide.h linux/include/asm-arm/arch-rpc/ide.h
@@ -3,12 +3,13 @@
  *
  * Copyright (c) 1997 Russell King
  */
+#include <asm/irq.h>
 
 static __inline__ int
 ide_default_irq(ide_ioreg_t base)
 {
 	if (base == 0x1f0)
-		return 9;
+		return IRQ_HARDDISK;
 	return 0;
 }
 
@@ -40,5 +41,5 @@
 	}
 	*p++ = ctrl;
 	if (irq != NULL)
-		irq = 0;
+		*irq = 0;
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov