diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-22 13:57:26 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-22 13:57:26 -0400 |
commit | 6dfbc839f81f757b5e9635508fa4f31800807f2b (patch) | |
tree | 57493a2364682c9adcd99c8f8ba986e5eced034d | |
parent | eea92b9a330fb12e59dcfbd897729d2bab9b2d13 (diff) |
kernel/amd64: i8042: Remove conf r/w for now
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/arch/amd64/isa/i8042.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sys/arch/amd64/isa/i8042.c b/sys/arch/amd64/isa/i8042.c index 320d7be..b32ff5b 100644 --- a/sys/arch/amd64/isa/i8042.c +++ b/sys/arch/amd64/isa/i8042.c @@ -157,32 +157,6 @@ i8042_write(uint16_t port, uint8_t val) } /* - * Read the i8042 config register - */ -static uint8_t -i8042_read_conf(void) -{ - i8042_drain(); - i8042_write(I8042_CMD, I8042_GET_CONFB); - i8042_obuf_wait(); - return inb(I8042_DATA); -} - -/* - * Write the i8042 config register - */ -static void -i8042_write_conf(uint8_t value) -{ - i8042_drain(); - i8042_ibuf_wait(); - i8042_write(I8042_CMD, I8042_SET_CONFB); - i8042_ibuf_wait(); - i8042_write(I8042_DATA, value); - i8042_drain(); -} - -/* * Send a data to a device * * @aux: If true, send to aux device (mouse) @@ -229,7 +203,6 @@ done: static void i8042_en_intr(void) { - uint8_t conf; struct intr_hand ih; ih.func = i8042_kb_event; |