summaryrefslogtreecommitdiffstats
path: root/sys/i4b
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2002-05-10 12:04:04 +0000
committergj <gj@FreeBSD.org>2002-05-10 12:04:04 +0000
commitae16f85e568d66c5dea67ff232a8e01ce6792d29 (patch)
tree5df40c5f09887029e3a1ef19ad7e474f00d1d2ec /sys/i4b
parent762262ae8b656bbaa6d5c3295aeeb4b488c838d1 (diff)
downloadFreeBSD-src-ae16f85e568d66c5dea67ff232a8e01ce6792d29.zip
FreeBSD-src-ae16f85e568d66c5dea67ff232a8e01ce6792d29.tar.gz
Fix a problem which could cause some machines to hang after a warm boot.
This should be in 4.6. Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
Diffstat (limited to 'sys/i4b')
-rw-r--r--sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c b/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c
index cc81070..d1b79ae 100644
--- a/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c
+++ b/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c
@@ -953,8 +953,8 @@ avma1pp2_disable(device_t dev)
bus_space_handle_t bhandle = rman_get_bushandle(sc->sc_resources.io_base[0]);
bus_space_tag_t btag = rman_get_bustag(sc->sc_resources.io_base[0]);
- /* could be wrong */
- bus_space_write_1(btag, bhandle, STAT0_OFFSET, 0x07);
+ /* could be still be wrong, but seems to prevent hangs */
+ bus_space_write_1(btag, bhandle, STAT0_OFFSET, 0x00);
}
static void
OpenPOWER on IntegriCloud