diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2005-08-06 01:30:34 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2005-08-06 01:30:34 +0000 |
commit | a58a0aa32f71ccd2152a378839c56f16c3dda04f (patch) | |
tree | 84673a978f892ccbdcc4b3df16ac4d86b0cf696c /sys/dev | |
parent | e58578af231b75e49580dbb6977fcc38ee280b4f (diff) |
Improved X40 kludge, tested by djm@.
Any X40 users still having problems after this mail me.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isa/aps.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isa/aps.c b/sys/dev/isa/aps.c index 29e5af197ea..33f911f9e10 100644 --- a/sys/dev/isa/aps.c +++ b/sys/dev/isa/aps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aps.c,v 1.3 2005/08/05 09:22:48 jsg Exp $ */ +/* $OpenBSD: aps.c,v 1.4 2005/08/06 01:30:33 jsg Exp $ */ /* * Copyright (c) 2005 Jonathan Gray <jsg@openbsd.org> * @@ -82,6 +82,7 @@ aps_match(struct device *parent, void *match, void *aux) bus_space_write_1(iot, ioh, APS_CMD, 0x01); /* ask again as the X40 is slightly deaf in one ear */ + bus_space_read_1(iot, ioh, APS_CMD); bus_space_write_1(iot, ioh, APS_INIT, 0x13); bus_space_write_1(iot, ioh, APS_CMD, 0x01); |