Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef SSCAPE_IOCTL_H |
2 | #define SSCAPE_IOCTL_H | |
3 | ||
4 | ||
5 | struct sscape_bootblock | |
6 | { | |
7 | unsigned char code[256]; | |
8 | unsigned version; | |
9 | }; | |
10 | ||
11 | #define SSCAPE_MICROCODE_SIZE 65536 | |
12 | ||
13 | struct sscape_microcode | |
14 | { | |
15 | unsigned char __user *code; | |
16 | }; | |
17 | ||
18 | #define SND_SSCAPE_LOAD_BOOTB _IOWR('P', 100, struct sscape_bootblock) | |
19 | #define SND_SSCAPE_LOAD_MCODE _IOW ('P', 101, struct sscape_microcode) | |
20 | ||
21 | #endif |