diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-26 19:15:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-26 19:15:31 -0400 |
commit | 4496d937a518fde0d0e1980e4ab470cedb4b50cd (patch) | |
tree | a02d57e13b44483417973a306f9fd23743959375 /arch/m68k/include | |
parent | 8e9d2089723d08d51e66c5eea49253d76e27941e (diff) | |
parent | 4b2873ba0bda7dc747cde8b6c7dc6c0b01ea6213 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
m68k: irq_node.handler() should return irqreturn_t
m68k: section mismatch fixes: Atari SCSI
m68k: section mismatch fixes: DMAsound for Atari
MAINTAINERS: Replace dead link to m68k CVS repository by link to new git repository
m68k: mac - Add SWIM floppy support
m68k: mac - Add a new entry in mac_model to identify the floppy controller type.
m68k: Add install target
Diffstat (limited to 'arch/m68k/include')
-rw-r--r-- | arch/m68k/include/asm/irq_mm.h | 3 | ||||
-rw-r--r-- | arch/m68k/include/asm/macintosh.h | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/irq_mm.h b/arch/m68k/include/asm/irq_mm.h index 226bfc0f21b1..0cab42cad79e 100644 --- a/arch/m68k/include/asm/irq_mm.h +++ b/arch/m68k/include/asm/irq_mm.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <linux/linkage.h> | 4 | #include <linux/linkage.h> |
5 | #include <linux/hardirq.h> | 5 | #include <linux/hardirq.h> |
6 | #include <linux/irqreturn.h> | ||
6 | #include <linux/spinlock_types.h> | 7 | #include <linux/spinlock_types.h> |
7 | 8 | ||
8 | /* | 9 | /* |
@@ -80,7 +81,7 @@ struct pt_regs; | |||
80 | * interrupt source (if it supports chaining). | 81 | * interrupt source (if it supports chaining). |
81 | */ | 82 | */ |
82 | typedef struct irq_node { | 83 | typedef struct irq_node { |
83 | int (*handler)(int, void *); | 84 | irqreturn_t (*handler)(int, void *); |
84 | void *dev_id; | 85 | void *dev_id; |
85 | struct irq_node *next; | 86 | struct irq_node *next; |
86 | unsigned long flags; | 87 | unsigned long flags; |
diff --git a/arch/m68k/include/asm/macintosh.h b/arch/m68k/include/asm/macintosh.h index 05309f7e3d06..50db3591ca15 100644 --- a/arch/m68k/include/asm/macintosh.h +++ b/arch/m68k/include/asm/macintosh.h | |||
@@ -34,6 +34,7 @@ struct mac_model | |||
34 | char scc_type; | 34 | char scc_type; |
35 | char ether_type; | 35 | char ether_type; |
36 | char nubus_type; | 36 | char nubus_type; |
37 | char floppy_type; | ||
37 | }; | 38 | }; |
38 | 39 | ||
39 | #define MAC_ADB_NONE 0 | 40 | #define MAC_ADB_NONE 0 |
@@ -71,6 +72,12 @@ struct mac_model | |||
71 | #define MAC_NO_NUBUS 0 | 72 | #define MAC_NO_NUBUS 0 |
72 | #define MAC_NUBUS 1 | 73 | #define MAC_NUBUS 1 |
73 | 74 | ||
75 | #define MAC_FLOPPY_IWM 0 | ||
76 | #define MAC_FLOPPY_SWIM_ADDR1 1 | ||
77 | #define MAC_FLOPPY_SWIM_ADDR2 2 | ||
78 | #define MAC_FLOPPY_SWIM_IOP 3 | ||
79 | #define MAC_FLOPPY_AV 4 | ||
80 | |||
74 | /* | 81 | /* |
75 | * Gestalt numbers | 82 | * Gestalt numbers |
76 | */ | 83 | */ |