git: atkbd: remove unused code that measures inb() duration

Michael Neumann mneumann at crater.dragonflybsd.org
Sun Jun 1 15:28:00 PDT 2025


commit e8a55a738e13fefc537781ebe64754e09b754751
Author: Michael Neumann <mneumann at ntecs.de>
Date:   Sun Jun 1 23:20:25 2025 +0200

    atkbd: remove unused code that measures inb() duration
    
    We are not using the retry count as FreeBSD does.
    
    Instead, we are using TOTALDELAY / CHECKTIMEOUT, which measures the
    actual execution time after each loop iteration and breaks out of the
    loop when the total time (70ms or 200ms in most cases) has expired.

Summary of changes:
 sys/dev/misc/kbd/atkbdc.c    | 25 -------------------------
 sys/dev/misc/kbd/atkbdcreg.h |  1 -
 2 files changed, 26 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e8a55a738e13fefc537781ebe64754e09b754751


-- 
DragonFly BSD source repository


More information about the Commits mailing list