diff options
author | Jordan Hargrave <jordan@cvs.openbsd.org> | 2009-06-03 05:14:04 +0000 |
---|---|---|
committer | Jordan Hargrave <jordan@cvs.openbsd.org> | 2009-06-03 05:14:04 +0000 |
commit | b6f09656cbb53f17a3a64fdd58bb1c7f6caf3027 (patch) | |
tree | 2a20fa45c410936fb6f3203abd9b15ce34a26bfd /sys | |
parent | 6bc810fae0a8c7c5fc6209564e9908f26f9db2d9 (diff) |
Don't disable dock devices if dock isn't initially attached
ok marco@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/acpidock.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpidock.c b/sys/dev/acpi/acpidock.c index 43449a5707d..0e91920d6a1 100644 --- a/sys/dev/acpi/acpidock.c +++ b/sys/dev/acpi/acpidock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpidock.c,v 1.35 2009/06/03 02:59:01 jordan Exp $ */ +/* $OpenBSD: acpidock.c,v 1.36 2009/06/03 05:14:03 jordan Exp $ */ /* * Copyright (c) 2006,2007 Michael Knudsen <mk@openbsd.org> * @@ -85,9 +85,6 @@ acpidock_attach(struct device *parent, struct device *self, void *aux) if (sc->sc_docked == ACPIDOCK_STATUS_DOCKED) { acpidock_docklock(sc, 1); acpidock_dockctl(sc, 1); - } else { - acpidock_dockctl(sc, 0); - acpidock_docklock(sc, 0); } acpidock_status(sc); |