diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 13:48:20 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 13:48:20 -0400 |
| commit | 14dc5249728ff699b1ca4dac01ad416a350a147a (patch) | |
| tree | 4ffd91101601f55c5e0b53a00f03534b7e044ac4 /include/asm-m68k | |
| parent | 02b2318e07f98a7cdf7089a4457a8d62424aa824 (diff) | |
| parent | bcd4f3acbaec102e2b8000c977ecc38dcd0fe367 (diff) | |
Merge branch 'for-linus' of git://git.kernel.dk/data/git/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/data/git/linux-2.6-block:
splice: direct splicing updates ppos twice
more ACSI removal
umem: Fix match of pci_ids in umem driver
umem: Remove references to dead CONFIG_MM_MAP_MEMORY variable
remove the documentation for the legacy CDROM drivers
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 42f4fcdd8b..0000000000 --- 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 10fea68f19..0000000000 --- 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 */ | ||
