summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/mac_via.h
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2011-10-24 01:11:14 +1100
committerGeert Uytterhoeven <geert@linux-m68k.org>2011-12-10 19:52:46 +0100
commit30c0527d15ce4edcde64581e9d062ba9fb08fe16 (patch)
treeda3e996d43a671d2d66075fdc7676f17c688b415 /arch/m68k/include/asm/mac_via.h
parent56e63689fd866a865682fe14dc5a7e1ec3b2c3ad (diff)
downloadblackbird-op-linux-30c0527d15ce4edcde64581e9d062ba9fb08fe16.tar.gz
blackbird-op-linux-30c0527d15ce4edcde64581e9d062ba9fb08fe16.zip
m68k/mac: cleanup mac_irq_pending
mac_irq_pending() has only one caller (mac_esp.c). Nothing tests for Baboon, PSC or OSS pending interrupts. Until that need arises, let's keep it simple and remove all the unused abstraction. Replace it with a routine to check for SCSI DRQ. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/mac_via.h')
-rw-r--r--arch/m68k/include/asm/mac_via.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/mac_via.h b/arch/m68k/include/asm/mac_via.h
index a59665e1d41b..3622cf89f831 100644
--- a/arch/m68k/include/asm/mac_via.h
+++ b/arch/m68k/include/asm/mac_via.h
@@ -254,6 +254,8 @@
extern volatile __u8 *via1,*via2;
extern int rbv_present,via_alt_mapping;
+extern int via2_scsi_drq_pending(void);
+
static inline int rbv_set_video_bpp(int bpp)
{
char val = (bpp==1)?0:(bpp==2)?1:(bpp==4)?2:(bpp==8)?3:-1;
OpenPOWER on IntegriCloud