/* * linux/arch/m68k/atari/atasound.c * * ++Geert: Moved almost all stuff to linux/drivers/sound/ * * The author of atari_nosound, atari_mksound and atari_microwire_cmd is * unknown. (++roman: That's me... :-) * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details. * * 1998-05-31 ++andreas: atari_mksound rewritten to always use the envelope, * no timer, atari_nosound removed. * */ #include <linux/sched.h> #include <linux/timer.h> #include <linux/major.h> #include <linux/fcntl.h> #include <linux/errno.h> #include <linux/mm.h> #include <linux/module.h> #include <asm/atarihw.h> #include <asm/irq.h> #include <asm/pgtable.h> #include <asm/atariints.h> /* * stuff from the old atasound.c */
void atari_microwire_cmd (int cmd) { tt_microwire.mask = 0x7ff; tt_microwire.data = MW_LM1992_ADDR | cmd; /* Busy wait for data being completely sent :-( */ while( tt_microwire.mask != 0x7ff) ; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 32 | 100.00% | 1 | 100.00% |
Total | 32 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 230 | 99.14% | 3 | 75.00% |
Geert Uytterhoeven | 2 | 0.86% | 1 | 25.00% |
Total | 232 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 304 | 96.82% | 4 | 66.67% |
Adrian Bunk | 8 | 2.55% | 1 | 16.67% |
Geert Uytterhoeven | 2 | 0.64% | 1 | 16.67% |
Total | 314 | 100.00% | 6 | 100.00% |