Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Not all amd64-based PCs have functional i8042 HW (e.g. Apple products). Because the i8042 driver busy-polls the "ready" status, this results in performance reduction on these systems, as the device is never ready and 100% of CPU cycles are wasted checking this over and over. This commit adds a 100 millisecond timeout the first time the device is polled, if the timeout is reached the driver aborts.
- Loading branch information