summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/console.h
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1996-11-14 22:19:17 +0000
committersos <sos@FreeBSD.org>1996-11-14 22:19:17 +0000
commit5cc90762eaa845e5950abb6b1da4a7a1c8d4493e (patch)
tree650a2881d1f41e3f84cc51aa2e2bbbe5d8633068 /sys/i386/include/console.h
parent9ac487e987d38affc737e37ce761c2e8a8278372 (diff)
downloadFreeBSD-src-5cc90762eaa845e5950abb6b1da4a7a1c8d4493e.zip
FreeBSD-src-5cc90762eaa845e5950abb6b1da4a7a1c8d4493e.tar.gz
Finally a start at sharing the kdb controller routines between
syscons and psm, curtesy Kazutaka Yokota with minor changes by me. This contains an update of the psm driver as well. This also fixes the breakage that I introduced to the psm driver by making syscons poll for keyboard events in the atempt to fix the hanging keyboard problem. It works perfectly for me, and I'd like to hear from all that have had keyboard/ps/2 mouse problems if this is the cure... Submitted by: Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp)
Diffstat (limited to 'sys/i386/include/console.h')
-rw-r--r--sys/i386/include/console.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/i386/include/console.h b/sys/i386/include/console.h
index 3e641a7..de049da 100644
--- a/sys/i386/include/console.h
+++ b/sys/i386/include/console.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: console.h,v 1.24 1996/09/21 14:57:54 bde Exp $
+ * $Id: console.h,v 1.25 1996/09/30 23:00:23 sos Exp $
*/
#ifndef _MACHINE_CONSOLE_H_
@@ -278,20 +278,6 @@ typedef struct ssaver ssaver_t;
#define KB_BUF_FULL 0x02 /* kbd has char pending */
#define KB_READY 0x02 /* kbd ready for command */
#define KB_WRITE 0x43 /* kbd write command */
-#else
-#define KB_DATA 0x60 /* kbd data port */
-#define KB_STAT 0x64 /* kbd status port */
-#define KB_BUF_FULL 0x01 /* kbd has char pending */
-#define KB_READY 0x02 /* kbd ready for command */
-#define KB_MODE 0x4D /* kbd mode (trans, ints enable)*/
-#define KB_WRITE 0x60 /* kbd write command */
-#define KB_RESET_DONE 0xAA /* kbd reset command completed */
-#define KB_SETLEDS 0xED /* kbd set leds */
-#define KB_ECHO 0xEE /* kbd set leds */
-#define KB_SETRAD 0xF3 /* kbd set repeat&delay command */
-#define KB_ACK 0xFA /* kbd acknowledge answer */
-#define KB_RESEND 0xFE /* kbd resend cmd answer */
-#define KB_RESET 0xFF /* kbd reset */
#endif
/* video mode definitions */
OpenPOWER on IntegriCloud