diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2008-11-18 14:45:20 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-12-28 14:00:03 -0500 |
commit | 429dbf53bca49b110f1058f0d9417a59115c41b8 (patch) | |
tree | 0e676aea8c3bb365542f54bfa0e8df76b3bb6234 | |
parent | 4a973592d67ccc240bca694e48ce88facd764043 (diff) |
m68k: machw.h cleanup
Remove some more cruft from machw.h and drop the #include where it isn't
needed.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r-- | arch/m68k/mac/debug.c | 1 | ||||
-rw-r--r-- | arch/m68k/mac/macints.c | 1 | ||||
-rw-r--r-- | arch/m68k/mac/oss.c | 1 | ||||
-rw-r--r-- | arch/m68k/mac/via.c | 1 | ||||
-rw-r--r-- | drivers/ide/macide.c | 1 | ||||
-rw-r--r-- | drivers/macintosh/via-cuda.c | 1 | ||||
-rw-r--r-- | drivers/macintosh/via-macii.c | 1 | ||||
-rw-r--r-- | drivers/macintosh/via-maciisi.c | 1 | ||||
-rw-r--r-- | drivers/macintosh/via-pmu68k.c | 1 | ||||
-rw-r--r-- | drivers/scsi/mac_scsi.c | 1 | ||||
-rw-r--r-- | drivers/video/macfb.c | 1 | ||||
-rw-r--r-- | include/asm-m68k/machw.h | 22 |
12 files changed, 0 insertions, 33 deletions
diff --git a/arch/m68k/mac/debug.c b/arch/m68k/mac/debug.c index 2165740786a..65dd77a742a 100644 --- a/arch/m68k/mac/debug.c +++ b/arch/m68k/mac/debug.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #define BOOTINFO_COMPAT_1_0 | 24 | #define BOOTINFO_COMPAT_1_0 |
25 | #include <asm/setup.h> | 25 | #include <asm/setup.h> |
26 | #include <asm/bootinfo.h> | 26 | #include <asm/bootinfo.h> |
27 | #include <asm/machw.h> | ||
28 | #include <asm/macints.h> | 27 | #include <asm/macints.h> |
29 | 28 | ||
30 | extern unsigned long mac_videobase; | 29 | extern unsigned long mac_videobase; |
diff --git a/arch/m68k/mac/macints.c b/arch/m68k/mac/macints.c index ecddac4a02b..e17b8d56ce0 100644 --- a/arch/m68k/mac/macints.c +++ b/arch/m68k/mac/macints.c | |||
@@ -127,7 +127,6 @@ | |||
127 | #include <asm/irq.h> | 127 | #include <asm/irq.h> |
128 | #include <asm/traps.h> | 128 | #include <asm/traps.h> |
129 | #include <asm/bootinfo.h> | 129 | #include <asm/bootinfo.h> |
130 | #include <asm/machw.h> | ||
131 | #include <asm/macintosh.h> | 130 | #include <asm/macintosh.h> |
132 | #include <asm/mac_via.h> | 131 | #include <asm/mac_via.h> |
133 | #include <asm/mac_psc.h> | 132 | #include <asm/mac_psc.h> |
diff --git a/arch/m68k/mac/oss.c b/arch/m68k/mac/oss.c index 43d83e054b8..8426501119c 100644 --- a/arch/m68k/mac/oss.c +++ b/arch/m68k/mac/oss.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/init.h> | 21 | #include <linux/init.h> |
22 | 22 | ||
23 | #include <asm/bootinfo.h> | 23 | #include <asm/bootinfo.h> |
24 | #include <asm/machw.h> | ||
25 | #include <asm/macintosh.h> | 24 | #include <asm/macintosh.h> |
26 | #include <asm/macints.h> | 25 | #include <asm/macints.h> |
27 | #include <asm/mac_via.h> | 26 | #include <asm/mac_via.h> |
diff --git a/arch/m68k/mac/via.c b/arch/m68k/mac/via.c index 125404788e8..f01d418e64f 100644 --- a/arch/m68k/mac/via.c +++ b/arch/m68k/mac/via.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <asm/bootinfo.h> | 32 | #include <asm/bootinfo.h> |
33 | #include <asm/macintosh.h> | 33 | #include <asm/macintosh.h> |
34 | #include <asm/macints.h> | 34 | #include <asm/macints.h> |
35 | #include <asm/machw.h> | ||
36 | #include <asm/mac_via.h> | 35 | #include <asm/mac_via.h> |
37 | #include <asm/mac_psc.h> | 36 | #include <asm/mac_psc.h> |
38 | 37 | ||
diff --git a/drivers/ide/macide.c b/drivers/ide/macide.c index 43f97cc1d30..3c60064f1d4 100644 --- a/drivers/ide/macide.c +++ b/drivers/ide/macide.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
19 | #include <linux/ide.h> | 19 | #include <linux/ide.h> |
20 | 20 | ||
21 | #include <asm/machw.h> | ||
22 | #include <asm/macintosh.h> | 21 | #include <asm/macintosh.h> |
23 | #include <asm/macints.h> | 22 | #include <asm/macints.h> |
24 | #include <asm/mac_baboon.h> | 23 | #include <asm/mac_baboon.h> |
diff --git a/drivers/macintosh/via-cuda.c b/drivers/macintosh/via-cuda.c index 741a93a3eb6..62dd1fdafec 100644 --- a/drivers/macintosh/via-cuda.c +++ b/drivers/macintosh/via-cuda.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #else | 23 | #else |
24 | #include <asm/macintosh.h> | 24 | #include <asm/macintosh.h> |
25 | #include <asm/macints.h> | 25 | #include <asm/macints.h> |
26 | #include <asm/machw.h> | ||
27 | #include <asm/mac_via.h> | 26 | #include <asm/mac_via.h> |
28 | #endif | 27 | #endif |
29 | #include <asm/io.h> | 28 | #include <asm/io.h> |
diff --git a/drivers/macintosh/via-macii.c b/drivers/macintosh/via-macii.c index 6e6dd17ab57..817f37a875c 100644 --- a/drivers/macintosh/via-macii.c +++ b/drivers/macintosh/via-macii.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <linux/init.h> | 33 | #include <linux/init.h> |
34 | #include <asm/macintosh.h> | 34 | #include <asm/macintosh.h> |
35 | #include <asm/macints.h> | 35 | #include <asm/macints.h> |
36 | #include <asm/machw.h> | ||
37 | #include <asm/mac_via.h> | 36 | #include <asm/mac_via.h> |
38 | #include <asm/system.h> | 37 | #include <asm/system.h> |
39 | 38 | ||
diff --git a/drivers/macintosh/via-maciisi.c b/drivers/macintosh/via-maciisi.c index 2dc78804270..4d686c0bdea 100644 --- a/drivers/macintosh/via-maciisi.c +++ b/drivers/macintosh/via-maciisi.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <asm/macintosh.h> | 25 | #include <asm/macintosh.h> |
26 | #include <asm/macints.h> | 26 | #include <asm/macints.h> |
27 | #include <asm/machw.h> | ||
28 | #include <asm/mac_via.h> | 27 | #include <asm/mac_via.h> |
29 | 28 | ||
30 | static volatile unsigned char *via; | 29 | static volatile unsigned char *via; |
diff --git a/drivers/macintosh/via-pmu68k.c b/drivers/macintosh/via-pmu68k.c index b64741c95ac..fb9fa614a0e 100644 --- a/drivers/macintosh/via-pmu68k.c +++ b/drivers/macintosh/via-pmu68k.c | |||
@@ -35,7 +35,6 @@ | |||
35 | 35 | ||
36 | #include <asm/macintosh.h> | 36 | #include <asm/macintosh.h> |
37 | #include <asm/macints.h> | 37 | #include <asm/macints.h> |
38 | #include <asm/machw.h> | ||
39 | #include <asm/mac_via.h> | 38 | #include <asm/mac_via.h> |
40 | 39 | ||
41 | #include <asm/pgtable.h> | 40 | #include <asm/pgtable.h> |
diff --git a/drivers/scsi/mac_scsi.c b/drivers/scsi/mac_scsi.c index 0248919bc2d..bf2a1c51629 100644 --- a/drivers/scsi/mac_scsi.c +++ b/drivers/scsi/mac_scsi.c | |||
@@ -47,7 +47,6 @@ | |||
47 | 47 | ||
48 | #include <asm/macintosh.h> | 48 | #include <asm/macintosh.h> |
49 | #include <asm/macints.h> | 49 | #include <asm/macints.h> |
50 | #include <asm/machw.h> | ||
51 | #include <asm/mac_via.h> | 50 | #include <asm/mac_via.h> |
52 | 51 | ||
53 | #include "scsi.h" | 52 | #include "scsi.h" |
diff --git a/drivers/video/macfb.c b/drivers/video/macfb.c index ee380d5f341..3a437f93777 100644 --- a/drivers/video/macfb.c +++ b/drivers/video/macfb.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include <asm/irq.h> | 36 | #include <asm/irq.h> |
37 | #include <asm/macintosh.h> | 37 | #include <asm/macintosh.h> |
38 | #include <asm/io.h> | 38 | #include <asm/io.h> |
39 | #include <asm/machw.h> | ||
40 | 39 | ||
41 | /* Common DAC base address for the LC, RBV, Valkyrie, and IIvx */ | 40 | /* Common DAC base address for the LC, RBV, Valkyrie, and IIvx */ |
42 | #define DAC_BASE 0x50f24000 | 41 | #define DAC_BASE 0x50f24000 |
diff --git a/include/asm-m68k/machw.h b/include/asm-m68k/machw.h index 35624998291..2b4de0c2ce4 100644 --- a/include/asm-m68k/machw.h +++ b/include/asm-m68k/machw.h | |||
@@ -26,28 +26,6 @@ | |||
26 | #include <linux/types.h> | 26 | #include <linux/types.h> |
27 | 27 | ||
28 | #if 0 | 28 | #if 0 |
29 | /* Mac SCSI Controller 5380 */ | ||
30 | |||
31 | #define MAC_5380_BAS (0x50F10000) /* This is definitely wrong!! */ | ||
32 | struct MAC_5380 { | ||
33 | u_char scsi_data; | ||
34 | u_char char_dummy1; | ||
35 | u_char scsi_icr; | ||
36 | u_char char_dummy2; | ||
37 | u_char scsi_mode; | ||
38 | u_char char_dummy3; | ||
39 | u_char scsi_tcr; | ||
40 | u_char char_dummy4; | ||
41 | u_char scsi_idstat; | ||
42 | u_char char_dummy5; | ||
43 | u_char scsi_dmastat; | ||
44 | u_char char_dummy6; | ||
45 | u_char scsi_targrcv; | ||
46 | u_char char_dummy7; | ||
47 | u_char scsi_inircv; | ||
48 | }; | ||
49 | #define mac_scsi ((*(volatile struct MAC_5380 *)MAC_5380_BAS)) | ||
50 | |||
51 | /* | 29 | /* |
52 | ** SCC Z8530 | 30 | ** SCC Z8530 |
53 | */ | 31 | */ |