dev: auto-generate device name in device_register if name is unspecified
This commit is contained in:
@@ -187,7 +187,7 @@ void kernel_init(uintptr_t arg)
|
||||
create_kernel_thread(background_thread);
|
||||
|
||||
struct object *kbd_obj;
|
||||
status = object_namespace_get_object(global_namespace(), "/dev/system/misc/ps2kbd", &kbd_obj);
|
||||
status = object_namespace_get_object(global_namespace(), "/dev/system/misc/input0", &kbd_obj);
|
||||
if (status != KERN_OK) {
|
||||
printk("no keyboard available");
|
||||
hang();
|
||||
|
||||
Reference in New Issue
Block a user