summaryrefslogtreecommitdiff
path: root/include/sound/sscape_ioctl.h
blob: c6653ebfb2c43fa1dacf78e213ef09d6b9d1887f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef SSCAPE_IOCTL_H
#define SSCAPE_IOCTL_H


struct sscape_bootblock
{
  unsigned char code[256];
  unsigned version;
};

#define SSCAPE_MICROCODE_SIZE  65536

struct sscape_microcode
{
  unsigned char *code;
};

#define SND_SSCAPE_LOAD_BOOTB  _IOWR('P', 100, struct sscape_bootblock)
#define SND_SSCAPE_LOAD_MCODE  _IOW ('P', 101, struct sscape_microcode)

#endif