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>
This commit is contained in:
parent
486730f7fd
commit
c0a06166a0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user