19 #include <linux/sched.h>
22 #include <linux/fcntl.h>
23 #include <linux/errno.h>
25 #include <linux/module.h>
29 #include <asm/pgtable.h>
50 #define PSG_FREQ 125000
52 #define PSG_ENV_FREQ_10 78125
77 if (period > 0xfff) period = 0xfff;
83 sound_ym.wd_data = (period >> 8) & 0xf;
88 if (length > 0xffff) length = 0xffff;