patch-2.4.10 linux/arch/sh/kernel/mach_hp600.c
Next file: linux/arch/sh/kernel/pci-7751se.c
Previous file: linux/arch/sh/kernel/mach_dc.c
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Sat Sep 8 12:29:09 2001
- Orig file:
v2.4.9/linux/arch/sh/kernel/mach_hp600.c
- Orig date:
Wed Apr 11 21:24:52 2001
diff -u --recursive --new-file v2.4.9/linux/arch/sh/kernel/mach_hp600.c linux/arch/sh/kernel/mach_hp600.c
@@ -15,8 +15,8 @@
#include <asm/rtc.h>
#include <asm/machvec_init.h>
-#include <asm/io_hd64461.h>
-#include <asm/io_generic.h>
+#include <asm/io.h>
+#include <asm/hd64461.h>
#include <asm/irq.h>
/*
@@ -26,7 +26,7 @@
struct sh_machine_vector mv_hp620 __initmv = {
mv_name: "hp620",
- mv_nr_irqs: 80, /* HD64461_IRQBASE+16, see hd64461.h */
+ mv_nr_irqs: HD64461_IRQBASE+HD64461_IRQ_NUM,
mv_inb: hd64461_inb,
mv_inw: hd64461_inw,
@@ -71,7 +71,7 @@
struct sh_machine_vector mv_hp680 __initmv = {
mv_name: "hp680",
- mv_nr_irqs: 80, /* HD64461_IRQBASE+16, see hd64461.h */
+ mv_nr_irqs: HD64461_IRQBASE+HD64461_IRQ_NUM,
mv_inb: hd64461_inb,
mv_inw: hd64461_inw,
@@ -116,7 +116,7 @@
struct sh_machine_vector mv_hp690 __initmv = {
mv_name: "hp690",
- mv_nr_irqs: 80, /* HD64461_IRQBASE+16, see hd64461.h */
+ mv_nr_irqs: HD64461_IRQBASE+HD64461_IRQ_NUM,
mv_inb: hd64461_inb,
mv_inw: hd64461_inw,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)