From: Aivils S. <ai...@us...> - 2003-10-15 06:27:59
|
Update of /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/char In directory sc8-pr-cvs1:/tmp/cvs-serv25306/drivers/char Modified Files: keyboard.c vt.c Log Message: pcspkr works with admin_vt Index: keyboard.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/char/keyboard.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- keyboard.c 14 Oct 2003 08:32:10 -0000 1.6 +++ keyboard.c 15 Oct 2003 06:27:55 -0000 1.7 @@ -1164,6 +1164,7 @@ } else if (test_bit(EV_SND, dev->evbit) && admin_vt && !admin_vt->beeper) { admin_vt->beeper = handle; + handle->private = admin_vt; vt_map_input(admin_vt); } return handle; Index: vt.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/char/vt.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- vt.c 14 Oct 2003 08:32:10 -0000 1.7 +++ vt.c 15 Oct 2003 06:27:55 -0000 1.8 @@ -1779,8 +1779,8 @@ { if (vt->beeper) { init_timer(&vt->beep); - vt->timer.data = (long) vt->beeper; - vt->timer.function = kd_nosound; + vt->beep.data = (long) vt->beeper; + vt->beep.function = kd_nosound; } } |