|author||Andreas Baumann <firstname.lastname@example.org>||2017-08-01 13:40:20 +0200|
|committer||Andreas Baumann <email@example.com>||2017-08-01 13:40:20 +0200|
added a design bug on driver interface (driver_init)
Diffstat (limited to 'BUGS')
1 files changed, 7 insertions, 2 deletions
@@ -21,5 +21,10 @@
break. inlining va_arg functions should be possible. -Wno-inline,
attribute(used), attribute(noinline) have no effect (or not always,
depends on the host platform?).
+- should we unify the init interface of all drivers? Currently only
+ the PCI ones are unified (for instance by having the event handler
+ as a register_handler method and not part of the ctor).
+ Arguments for splitting:
+ - also the PS/2 devices are on a serio bus
+ - there are ISA/AGP/I2C/USB buses which are also dynamic
+ - we could have multiple registered handlers for some devices