|
|
| version 1.1, 2004/01/15 15:41:23 | version 1.2, 2004/02/25 15:46:54 |
|---|---|
| Line 460 ips_flush_cache(ips_softc_t *sc) | Line 460 ips_flush_cache(ips_softc_t *sc) |
| free(status, M_DEVBUF); | free(status, M_DEVBUF); |
| device_printf(sc->dev, "ERROR: unable to get a command! " | device_printf(sc->dev, "ERROR: unable to get a command! " |
| "can't flush cache!\n"); | "can't flush cache!\n"); |
| return 1; | |
| } | } |
| if (COMMAND_ERROR(status)) { | if (COMMAND_ERROR(status)) { |
| free(status, M_DEVBUF); | |
| device_printf(sc->dev, "ERROR: cache flush command failed!\n"); | device_printf(sc->dev, "ERROR: cache flush command failed!\n"); |
| return 1; | |
| } | } |
| free(status, M_DEVBUF); | free(status, M_DEVBUF); |
| return 0; | return 0; |
| Line 553 ips_ffdc_reset(ips_softc_t *sc) | Line 556 ips_ffdc_reset(ips_softc_t *sc) |
| device_printf(sc->dev, "ERROR: unable to get a command! " | device_printf(sc->dev, "ERROR: unable to get a command! " |
| "can't send ffdc reset!\n"); | "can't send ffdc reset!\n"); |
| } | } |
| if (COMMAND_ERROR(status)) | if (COMMAND_ERROR(status)) { |
| free(status, M_DEVBUF); | |
| device_printf(sc->dev, "ERROR: ffdc reset command failed!\n"); | device_printf(sc->dev, "ERROR: ffdc reset command failed!\n"); |
| return 1; | |
| } | |
| free(status, M_DEVBUF); | free(status, M_DEVBUF); |
| return 0; | return 0; |
| } | } |
| Line 681 ips_update_nvram(ips_softc_t *sc) | Line 687 ips_update_nvram(ips_softc_t *sc) |
| "can't update nvram\n"); | "can't update nvram\n"); |
| return 1; | return 1; |
| } | } |
| if (COMMAND_ERROR(status)) | if (COMMAND_ERROR(status)) { |
| free(status, M_DEVBUF); | |
| device_printf(sc->dev, "ERROR: nvram update command failed!\n"); | device_printf(sc->dev, "ERROR: nvram update command failed!\n"); |
| return 1; | |
| } | |
| free(status, M_DEVBUF); | free(status, M_DEVBUF); |
| return 0; | return 0; |
| } | } |