git: 73832b11e53f - stable/14 - LinuxKPI: Add video/vga.h header

From: Vladimir Kondratyev <wulf_at_FreeBSD.org>
Date: Sat, 17 Feb 2024 21:32:48 UTC
The branch stable/14 has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=73832b11e53ff15a3292173fc7954c59c3f25bdc

commit 73832b11e53ff15a3292173fc7954c59c3f25bdc
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2023-12-24 08:19:58 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2024-02-17 20:58:36 +0000

    LinuxKPI: Add video/vga.h header
    
    Sponsored by:   Serenity Cyber Security, LLC
    Obtained from:  OpenBSD
    Reviewed by:    manu, bz
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D42793
    
    (cherry picked from commit 5e6bddfc43300f344d44afdc80f1bb7a37bd84fc)
---
 sys/compat/linuxkpi/common/include/video/vga.h | 16 ++++++++++++++++
 sys/compat/linuxkpi/dummy/include/video/vga.h  |  0
 2 files changed, 16 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/video/vga.h b/sys/compat/linuxkpi/common/include/video/vga.h
new file mode 100644
index 000000000000..e327246cc457
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/video/vga.h
@@ -0,0 +1,16 @@
+/* Public domain. */
+
+#ifndef _LINUXKPI_VIDEO_VGA_H
+#define _LINUXKPI_VIDEO_VGA_H
+
+#define VGA_MIS_W	0x3c2
+#define VGA_SEQ_I	0x3c4
+#define VGA_SEQ_D	0x3c5
+#define VGA_MIS_R	0x3cc
+
+#define VGA_SR01_SCREEN_OFF	(1 << 5)
+
+#define VGA_FB_PHYS_BASE	0xA0000
+#define VGA_FB_PHYS_SIZE	65536
+
+#endif
diff --git a/sys/compat/linuxkpi/dummy/include/video/vga.h b/sys/compat/linuxkpi/dummy/include/video/vga.h
deleted file mode 100644
index e69de29bb2d1..000000000000