ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / sound / isa / cs423x / sound_pc9800.h
1 #ifndef _SOUND_PC9800_H_
2 #define _SOUND_PC9800_H_
3
4 #include <asm/io.h>
5
6 #define PC9800_SOUND_IO_ID      0xa460
7
8 /* Sound Functions ID. */
9 #define PC9800_SOUND_ID()       ((inb(PC9800_SOUND_IO_ID) >> 4) & 0x0f)
10
11 #define PC9800_SOUND_ID_DO      0x0     /* PC-98DO+ Internal */
12 #define PC9800_SOUND_ID_GS      0x1     /* PC-98GS Internal */
13 #define PC9800_SOUND_ID_73      0x2     /* PC-9801-73 (base 0x18x) */
14 #define PC9800_SOUND_ID_73A     0x3     /* PC-9801-73/76 (base 0x28x) */
15 #define PC9800_SOUND_ID_86      0x4     /* PC-9801-86 and compatible (base 0x18x) */
16 #define PC9800_SOUND_ID_86A     0x5     /* PC-9801-86 (base 0x28x) */
17 #define PC9800_SOUND_ID_NF      0x6     /* PC-9821Nf/Np Internal */
18 #define PC9800_SOUND_ID_XMATE   0x7     /* X-Mate Internal and compatible */
19 #define PC9800_SOUND_ID_118     0x8     /* PC-9801-118 and compatible(CanBe Internal, etc.) */
20
21 #define PC9800_SOUND_ID_UNKNOWN 0xf     /* Unknown (No Sound System or PC-9801-26) */
22
23 #endif