summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/isa')
-rw-r--r--sys/arch/amd64/isa/i8042.c27
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;