sscape_ioctl.h 375 B

123456789101112131415161718192021
  1. #ifndef SSCAPE_IOCTL_H
  2. #define SSCAPE_IOCTL_H
  3. struct sscape_bootblock
  4. {
  5. unsigned char code[256];
  6. unsigned version;
  7. };
  8. #define SSCAPE_MICROCODE_SIZE 65536
  9. struct sscape_microcode
  10. {
  11. unsigned char __user *code;
  12. };
  13. #define SND_SSCAPE_LOAD_BOOTB _IOWR('P', 100, struct sscape_bootblock)
  14. #define SND_SSCAPE_LOAD_MCODE _IOW ('P', 101, struct sscape_microcode)
  15. #endif