diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2007-05-19 19:14:12 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2007-05-19 19:14:12 +0000 |
commit | c619cd3752815d82d2b37d0fa19a8c69efa53d60 (patch) | |
tree | 757b45b6adc40716b90db5373b36525d2c4bc55f /sys/dev/isa | |
parent | 45205ade2baf59f98f0cc9c6fb26e9b6a727bbea (diff) |
the thinkpad 60 models are in "state" 5.
ok deraadt jasper jsg mk
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/aps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/aps.c b/sys/dev/isa/aps.c index 5ad9cfd94d2..03bd0089b53 100644 --- a/sys/dev/isa/aps.c +++ b/sys/dev/isa/aps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aps.c,v 1.14 2007/03/22 16:55:31 deraadt Exp $ */ +/* $OpenBSD: aps.c,v 1.15 2007/05/19 19:14:11 tedu Exp $ */ /* * Copyright (c) 2005 Jonathan Gray <jsg@openbsd.org> * @@ -158,14 +158,14 @@ aps_match(struct device *parent, void *match, void *aux) */ for (i = 0; i < 10; i++) { cr = bus_space_read_1(iot, ioh, APS_STATE); - if (cr > 0 && cr < 4) + if (cr > 0 && cr < 6) break; delay(5 * 1000); } bus_space_unmap(iot, ioh, APS_ADDR_SIZE); DPRINTF(("aps: state register 0x%x\n", cr)); - if (cr < 1 || cr > 3) { + if (cr < 1 || cr > 5) { DPRINTF(("aps0: unsupported state %d\n", cr)); return (0); } |