]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: remove automatic ISA fallback
authorJ William Piggott <elseifthen@gmx.com>
Wed, 14 Jan 2015 01:29:21 +0000 (20:29 -0500)
committerJ William Piggott <elseifthen@gmx.com>
Wed, 14 Jan 2015 01:29:21 +0000 (20:29 -0500)
commit97c9060b92a1064e192dd0234f4bb0bcced12bda
treec69d31ed647b4a9836ffa581234526705938283b
parent2e5bf10e32b00c92a3f7fb8b38d793ea6fc1dff2
hwclock: remove automatic ISA fallback

The old behavior when hwclock was unable to access
the rtc device was to fallback to direct ISA I/O.

This was sometimes allowing two processes to access
the Hardware Clock at the same time and hanging the
system. This is the reason the rtc device driver
only allows one process to open it.

Now hwclock defaults to using the rtc device and only
uses direct ISA when that option is given.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
sys-utils/hwclock.c