Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 1997 05:06:38 -0700 (PDT)
From:      Kazutaka YOKOTA <yokota>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/i386/isa/pcvt pcvt_kbd.c
Message-ID:  <199704181206.FAA28277@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
yokota      97/04/18 05:06:37

  Modified:    sys/i386/isa/pcvt  pcvt_kbd.c
  Log:
  Incorporate kludge/fix from `syscons' ver 1.207 and 1.209.
  
  1) Dell Latitude XPi
  This laptop has a strange, IMHO broken :-), keyboard controller which
  wouldn't disable the keyboard interrupt. The kludge is to disable tty
  intr. during set_keyboard(), used for changing LED and setting
  typematic.
  
  The patch also changes the function name:
      set_keyboard() -> set_keyboard_param()
  Although it is a static function, the name corrides with a routine in
  `syscons' and is confusing when debugging the kernel which has both
  `syscons' and `pcvt' with DDB. (Suggested by Bruce)
  
  2) doreset() bug
  doreset() failed to preserve some bits in the keyboard controller's
  command byte during keyboard reset. This bug may put some keyboard
  controllers in old motherboards (386 and 486) in a strange state,
  resulting in complete keyboard lockup or random key input.
  
  Reviewed by:	Joerg
  
  Revision  Changes    Path
  1.17      +17 -14    src/sys/i386/isa/pcvt/pcvt_kbd.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704181206.FAA28277>