git: sio(4) - Fix double make_dev if used as console
Alex Hornung
alexh at crater.dragonflybsd.org
Mon Sep 7 04:51:41 PDT 2009
commit 879172271d5105425ca7df8c599f59b035bfcb8e
Author: Alex Hornung <ahornung at gmail.com>
Date: Mon Sep 7 12:34:45 2009 +0100
sio(4) - Fix double make_dev if used as console
* sio was calling another make_dev for ttyd0 if it was being used as
console. This is no longer valid with devfs, so we look for the
existing ttyd0, as it must exist already if the device has been
attached.
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1485
Reported-by: Hasso Tepper, Jordan Gordeev
Summary of changes:
sys/dev/serial/sio/sio.c | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/879172271d5105425ca7df8c599f59b035bfcb8e
--
DragonFly BSD source repository
More information about the Commits
mailing list