﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
696	Three character device interfaces is a crowd	Jiri Svoboda	Jiri Svoboda	"Currently there are three different character device interfaces in use by different drivers:

 * uspace/lib/c/include/ipc/char.h (s3c24xx_uart)
 * uspace/lib/c/include/ipc/chardev.h (pl050, i8042)
 * uspace/lib/drv/include/ops/char_dev.h (ns8250, test1)

Each interface has different pros and cons (both in terms of API and implementation).

 * char.h is can only transfer one byte at a time, but has asynchronous reception
 * chardev.h has full client/server library wrappers (chardev_srv.c/chardev.c), it can only transfer a few bytes at a time
 * char_dev.h can transfer up to 256 bytes using internal buffers whose size cannot be configured; it requires devman method dispatcher

Ultimately we should have a single interface, hopefully better than each of those we currently have."	enhancement	closed	major	0.7.2	helenos/unspecified	mainline	fixed					
