From aa8689ef95a6b48e9f309ccbedea714d2752b274 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Thu, 1 Jan 2004 10:22:10 +0000 Subject: [PATCH] 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 --- sys/dev/ips/ips_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ips/ips_commands.c b/sys/dev/ips/ips_commands.c index cb0dd76f507..8d3b3674cb8 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,