summaryrefslogtreecommitdiff
path: root/src/drivers/hdi
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-07-15 20:50:39 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-07-15 20:50:39 +0200
commitcfc0bfa213a94a6dee80c15047026547847da91c (patch)
treed28dbf1b368777537e93fa526d66b98a789440c2 /src/drivers/hdi
parent4be3058d96089d9e16983affbdf0d821b6e5adc3 (diff)
downloadabaos-cfc0bfa213a94a6dee80c15047026547847da91c.tar.gz
abaos-cfc0bfa213a94a6dee80c15047026547847da91c.tar.bz2
reworked driver init and vtable, taking the interrupt manager and the context
as parameters when creating a driver
Diffstat (limited to 'src/drivers/hdi')
-rw-r--r--src/drivers/hdi/ps2/keyboard.c1
-rw-r--r--src/drivers/hdi/ps2/mouse.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/hdi/ps2/keyboard.c b/src/drivers/hdi/ps2/keyboard.c
index df4edd7..ccae3e7 100644
--- a/src/drivers/hdi/ps2/keyboard.c
+++ b/src/drivers/hdi/ps2/keyboard.c
@@ -66,7 +66,6 @@ static void read_ack( keyboard_t *keyboard )
static keyboard_vtable_t const keyboard_vtable = {
{
- driver_register_interrupt_handler,
keyboard_activate,
keyboard_deactivate,
keyboard_deinit,
diff --git a/src/drivers/hdi/ps2/mouse.c b/src/drivers/hdi/ps2/mouse.c
index bfda08f..1421729 100644
--- a/src/drivers/hdi/ps2/mouse.c
+++ b/src/drivers/hdi/ps2/mouse.c
@@ -78,7 +78,6 @@ static void set_sample_rate( mouse_t *mouse, uint8_t samples )
static mouse_vtable_t const mouse_vtable = {
{
- driver_register_interrupt_handler,
mouse_activate,
mouse_deactivate,
mouse_deinit,