summaryrefslogtreecommitdiff
path: root/BUGS
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-08-01 13:40:20 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-08-01 13:40:20 +0200
commit0f6576eba813fdb30b619b9b0b5fa7a76c6cf636 (patch)
tree28d8ccb37a7dbd993ac0a2bc36fcf57361657176 /BUGS
parent22628b176d993daa3fb770ed94250a227ced1ff9 (diff)
downloadabaos-0f6576eba813fdb30b619b9b0b5fa7a76c6cf636.tar.gz
abaos-0f6576eba813fdb30b619b9b0b5fa7a76c6cf636.tar.bz2
added a design bug on driver interface (driver_init)
Diffstat (limited to 'BUGS')
-rw-r--r--BUGS9
1 files changed, 7 insertions, 2 deletions
diff --git a/BUGS b/BUGS
index 1e88503..73e2525 100644
--- a/BUGS
+++ b/BUGS
@@ -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