diff options
author | Laurent Vivier <Laurent@lvivier.info> | 2008-11-06 14:57:41 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-03-26 16:15:27 -0400 |
commit | 7ad93b42bd135641ddc2c298f030132aca7aeca3 (patch) | |
tree | 959a1b043fb33a0b4663218a1608923a928c4efe /arch/m68k/include | |
parent | 612bfc9e630e3f7a4f3be1325eac28de8b8970af (diff) |
m68k: mac - Add a new entry in mac_model to identify the floppy controller type.
This patch adds a field "floppy_type" which can take the following values:
MAC_FLOPPY_IWM for an IWM based mac
MAC_FLOPPY_SWIM_ADDR1 for a SWIM based mac with controller at VIA1 + 0x1E000
MAC_FLOPPY_SWIM_ADDR2 for a SWIM based mac with controller at VIA1 + 0x16000
MAC_FLOPPY_IOP for an IOP based mac
MAC_FLOPPY_AV for an AV based mac
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r-- | arch/m68k/include/asm/macintosh.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 | */ |