diff options
author | mbr <mbr@FreeBSD.org> | 2004-01-01 10:22:10 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2004-01-01 10:22:10 +0000 |
commit | ba7b1a0e6a911a0f437934eaa55397e7d7b370d6 (patch) | |
tree | ffd6dc5e89cd42807e5682b3adcab2cca62fcce8 /sys/dev/ips/ips_commands.c | |
parent | ec97880a76f3e91d63daafc91daf65fb44bf7e81 (diff) | |
download | FreeBSD-src-ba7b1a0e6a911a0f437934eaa55397e7d7b370d6.zip FreeBSD-src-ba7b1a0e6a911a0f437934eaa55397e7d7b370d6.tar.gz |
The reset_type should not be 0x80, it should be set to zero.
0x80 can cause the command to be rejected as invalid. This bug
exists also in the Linux IPS ffdc code.
Submitted by: David Jeffery
MFC after: 1 week
Diffstat (limited to 'sys/dev/ips/ips_commands.c')
-rw-r--r-- | sys/dev/ips/ips_commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ips/ips_commands.c b/sys/dev/ips/ips_commands.c index cb0dd76..8d3b367 100644 --- a/sys/dev/ips/ips_commands.c +++ b/sys/dev/ips/ips_commands.c @@ -489,7 +489,7 @@ static int ips_send_ffdc_reset_cmd(ips_command_t *command) command_struct->command = IPS_FFDC_CMD; command_struct->id = command->id; command_struct->reset_count = sc->ffdc_resetcount; - command_struct->reset_type = 0x80; + command_struct->reset_type = 0x0; ips_ffdc_settime(command_struct, sc->ffdc_resettime.tv_sec); bus_dmamap_sync(sc->command_dmatag, command->command_dmamap, |