]> git.dujemihanovic.xyz Git - nameless-os.git/commit
Fix device initialization
authorDuje Mihanović <duje.mihanovic@skole.hr>
Fri, 13 May 2022 14:30:18 +0000 (16:30 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 22 Jun 2022 16:05:27 +0000 (18:05 +0200)
commita13a1834325462b233906698f311ee6c9b53fd88
tree43adb29e7d0a4d2a565c8fe1b17f7b4f0b86788b
parent8518c4b121776aba483f253333e4b0ddae54309d
Fix device initialization

Before doing a ps2_input_wait(), the code now first reads from the data
port once (for port 1 device) or twice (for port 2 device). This makes
the PS/2 initialization work.
kernel/drivers/input/ps2.c