|
@@ -4,6 +4,7 @@
|
|
|
#include <mm/slab.h>
|
|
|
#include <common/printk.h>
|
|
|
#include <filesystem/VFS/VFS.h>
|
|
|
+#include <filesystem/devfs/devfs.h>
|
|
|
#include <common/wait_queue.h>
|
|
|
#include <common/spinlock.h>
|
|
|
#include <common/kfifo.h>
|
|
@@ -203,6 +204,8 @@ void ps2_keyboard_init()
|
|
|
|
|
|
|
|
|
io_in8(PORT_PS2_KEYBOARD_DATA);
|
|
|
+
|
|
|
+ devfs_register_device(DEV_TYPE_CHAR, CHAR_DEV_STYPE_PS2_KEYBOARD, &ps2_keyboard_fops);
|
|
|
kinfo("ps/2 keyboard registered.");
|
|
|
}
|
|
|
|