From 0f6576eba813fdb30b619b9b0b5fa7a76c6cf636 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 1 Aug 2017 13:40:20 +0200 Subject: added a design bug on driver interface (driver_init) --- BUGS | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'BUGS') 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 -- cgit v1.2.3-54-g00ecf