m68k: machw.h cleanup
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 18 Nov 2008 19:45:20 +0000 (20:45 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 28 Dec 2008 19:00:03 +0000 (20:00 +0100)
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>
12 files changed:
arch/m68k/mac/debug.c
arch/m68k/mac/macints.c
arch/m68k/mac/oss.c
arch/m68k/mac/via.c
drivers/ide/macide.c
drivers/macintosh/via-cuda.c
drivers/macintosh/via-macii.c
drivers/macintosh/via-maciisi.c
drivers/macintosh/via-pmu68k.c
drivers/scsi/mac_scsi.c
drivers/video/macfb.c
include/asm-m68k/machw.h

index 2165740..65dd77a 100644 (file)
@@ -24,7 +24,6 @@
 #define BOOTINFO_COMPAT_1_0
 #include <asm/setup.h>
 #include <asm/bootinfo.h>
-#include <asm/machw.h>
 #include <asm/macints.h>
 
 extern unsigned long mac_videobase;
index ecddac4..e17b8d5 100644 (file)
 #include <asm/irq.h>
 #include <asm/traps.h>
 #include <asm/bootinfo.h>
-#include <asm/machw.h>
 #include <asm/macintosh.h>
 #include <asm/mac_via.h>
 #include <asm/mac_psc.h>
index 43d83e0..8426501 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/init.h>
 
 #include <asm/bootinfo.h>
-#include <asm/machw.h>
 #include <asm/macintosh.h>
 #include <asm/macints.h>
 #include <asm/mac_via.h>
index 1254047..f01d418 100644 (file)
@@ -32,7 +32,6 @@
 #include <asm/bootinfo.h>
 #include <asm/macintosh.h>
 #include <asm/macints.h>
-#include <asm/machw.h>
 #include <asm/mac_via.h>
 #include <asm/mac_psc.h>
 
index 43f97cc..3c60064 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/delay.h>
 #include <linux/ide.h>
 
-#include <asm/machw.h>
 #include <asm/macintosh.h>
 #include <asm/macints.h>
 #include <asm/mac_baboon.h>
index 741a93a..62dd1fd 100644 (file)
@@ -23,7 +23,6 @@
 #else
 #include <asm/macintosh.h>
 #include <asm/macints.h>
-#include <asm/machw.h>
 #include <asm/mac_via.h>
 #endif
 #include <asm/io.h>
index 6e6dd17..817f37a 100644 (file)
@@ -33,7 +33,6 @@
 #include <linux/init.h>
 #include <asm/macintosh.h>
 #include <asm/macints.h>
-#include <asm/machw.h>
 #include <asm/mac_via.h>
 #include <asm/system.h>
 
index 2dc7880..4d686c0 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/interrupt.h>
 #include <asm/macintosh.h>
 #include <asm/macints.h>
-#include <asm/machw.h>
 #include <asm/mac_via.h>
 
 static volatile unsigned char *via;
index b64741c..fb9fa61 100644 (file)
@@ -35,7 +35,6 @@
 
 #include <asm/macintosh.h>
 #include <asm/macints.h>
-#include <asm/machw.h>
 #include <asm/mac_via.h>
 
 #include <asm/pgtable.h>
index 0248919..bf2a1c5 100644 (file)
@@ -47,7 +47,6 @@
 
 #include <asm/macintosh.h>
 #include <asm/macints.h>
-#include <asm/machw.h>
 #include <asm/mac_via.h>
 
 #include "scsi.h"
index ee380d5..3a437f9 100644 (file)
@@ -36,7 +36,6 @@
 #include <asm/irq.h>
 #include <asm/macintosh.h>
 #include <asm/io.h>
-#include <asm/machw.h>
 
 /* Common DAC base address for the LC, RBV, Valkyrie, and IIvx */
 #define DAC_BASE 0x50f24000
index 3562499..2b4de0c 100644 (file)
 #include <linux/types.h>
 
 #if 0
-/* Mac SCSI Controller 5380 */
-
-#define        MAC_5380_BAS    (0x50F10000) /* This is definitely wrong!! */
-struct MAC_5380 {
-       u_char  scsi_data;
-       u_char  char_dummy1;
-       u_char  scsi_icr;
-       u_char  char_dummy2;
-       u_char  scsi_mode;
-       u_char  char_dummy3;
-       u_char  scsi_tcr;
-       u_char  char_dummy4;
-       u_char  scsi_idstat;
-       u_char  char_dummy5;
-       u_char  scsi_dmastat;
-       u_char  char_dummy6;
-       u_char  scsi_targrcv;
-       u_char  char_dummy7;
-       u_char  scsi_inircv;
-};
-#define        mac_scsi       ((*(volatile struct MAC_5380 *)MAC_5380_BAS))
-
 /*
 ** SCC Z8530
 */