From 6dfbc839f81f757b5e9635508fa4f31800807f2b Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 22 May 2025 13:57:26 -0400 Subject: kernel/amd64: i8042: Remove conf r/w for now Signed-off-by: Ian Moffett --- sys/arch/amd64/isa/i8042.c | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'sys/arch/amd64/isa') 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 @@ -156,32 +156,6 @@ i8042_write(uint16_t port, uint8_t val) outb(port, 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 * @@ -229,7 +203,6 @@ done: static void i8042_en_intr(void) { - uint8_t conf; struct intr_hand ih; ih.func = i8042_kb_event; -- cgit v1.2.3