diff options
Diffstat (limited to 'include/asm-m68k')
-rw-r--r-- | include/asm-m68k/atari_SLM.h | 28 | ||||
-rw-r--r-- | include/asm-m68k/atari_acsi.h | 37 |
2 files changed, 0 insertions, 65 deletions
diff --git a/include/asm-m68k/atari_SLM.h b/include/asm-m68k/atari_SLM.h deleted file mode 100644 index 42f4fcdd8bc7..000000000000 --- a/include/asm-m68k/atari_SLM.h +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | |||
2 | #ifndef _ATARI_SLM_H | ||
3 | #define _ATARI_SLM_H | ||
4 | |||
5 | /* Atari SLM laser printer specific ioctls */ | ||
6 | |||
7 | #define SLMIOGSTAT 0xa100 | ||
8 | #define SLMIOGPSIZE 0xa101 | ||
9 | #define SLMIOGMFEED 0xa102 | ||
10 | |||
11 | #define SLMIORESET 0xa140 | ||
12 | |||
13 | #define SLMIOSPSIZE 0xa181 | ||
14 | #define SLMIOSMFEED 0xa182 | ||
15 | |||
16 | /* Status returning structure (SLMIOGSTAT) */ | ||
17 | struct SLM_status { | ||
18 | int stat; /* numeric status code */ | ||
19 | char str[40]; /* status string */ | ||
20 | }; | ||
21 | |||
22 | /* Paper size structure (SLMIO[GS]PSIZE) */ | ||
23 | struct SLM_paper_size { | ||
24 | int width; | ||
25 | int height; | ||
26 | }; | ||
27 | |||
28 | #endif /* _ATARI_SLM_H */ | ||
diff --git a/include/asm-m68k/atari_acsi.h b/include/asm-m68k/atari_acsi.h deleted file mode 100644 index 10fea68f191a..000000000000 --- a/include/asm-m68k/atari_acsi.h +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | #ifndef _ASM_ATARI_ACSI_H | ||
2 | #define _ASM_ATARI_ACSI_H | ||
3 | |||
4 | /* Functions exported by drivers/block/acsi.c */ | ||
5 | |||
6 | void acsi_delay_start( void ); | ||
7 | void acsi_delay_end( long usec ); | ||
8 | int acsi_wait_for_IRQ( unsigned timeout ); | ||
9 | int acsi_wait_for_noIRQ( unsigned timeout ); | ||
10 | int acsicmd_nodma( const char *cmd, int enable); | ||
11 | int acsi_getstatus( void ); | ||
12 | int acsi_extstatus( char *buffer, int cnt ); | ||
13 | void acsi_end_extstatus( void ); | ||
14 | int acsi_extcmd( unsigned char *buffer, int cnt ); | ||
15 | |||
16 | /* The ACSI buffer is guarantueed to reside in ST-RAM and may be used by other | ||
17 | * drivers that work on the ACSI bus, too. It's data are valid only as long as | ||
18 | * the ST-DMA is locked. */ | ||
19 | extern char *acsi_buffer; | ||
20 | extern unsigned long phys_acsi_buffer; | ||
21 | |||
22 | /* Utility macros */ | ||
23 | |||
24 | /* Send one data byte over the bus and set mode for next operation | ||
25 | * with one move.l -- Atari recommends this... | ||
26 | */ | ||
27 | |||
28 | #define DMA_LONG_WRITE(data,mode) \ | ||
29 | do { \ | ||
30 | *((unsigned long *)&dma_wd.fdc_acces_seccount) = \ | ||
31 | ((data)<<16) | (mode); \ | ||
32 | } while(0) | ||
33 | |||
34 | #define ENABLE_IRQ() atari_turnon_irq( IRQ_MFP_ACSI ) | ||
35 | #define DISABLE_IRQ() atari_turnoff_irq( IRQ_MFP_ACSI ) | ||
36 | |||
37 | #endif /* _ASM_ATARI_ACSI_H */ | ||