From ceea8b764baa2e9bf63ffbcb59e93f090f58c5c3 Mon Sep 17 00:00:00 2001
From: Ian Moffett <ian@osmora.org>
Date: Tue, 14 May 2024 11:31:28 -0400
Subject: kernel: i8254: Add channel 2 port define

Signed-off-by: Ian Moffett <ian@osmora.org>
---
 sys/include/arch/amd64/isa/i8254.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/include/arch/amd64/isa/i8254.h b/sys/include/arch/amd64/isa/i8254.h
index fdc95cd..8215bf4 100644
--- a/sys/include/arch/amd64/isa/i8254.h
+++ b/sys/include/arch/amd64/isa/i8254.h
@@ -34,6 +34,7 @@
 
 #define i8254_COMMAND     0x43
 #define i8254_CHANNEL_0   0x40
+#define i8254_CHANNEL_2   0x42
 #define i8254_DIVIDEND    1193182ULL
 
 uint16_t i8254_get_count(void);
-- 
cgit v1.2.3