The devicefs subsystem already has full character device support: - devicefs_char_ops_t with read/write callbacks - devicefs_register_char() registration function - VFS read/write delegation to char ops - VFS_CHARDEV type in readdir/finddir results
8.0 KiB
8.0 KiB