Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/isci/scil/sati_write_long.c
Show First 20 Lines • Show All 170 Lines • ▼ Show 20 Lines | switch(SATI_WRITE_LONG_GET_COR_WR_PB_BITS(cdb)) | ||||
); | ); | ||||
return SATI_FAILURE_CHECK_RESPONSE_DATA; | return SATI_FAILURE_CHECK_RESPONSE_DATA; | ||||
} | } | ||||
else | else | ||||
{ | { | ||||
sati_ata_write_uncorrectable_construct( | sati_ata_write_uncorrectable_construct( | ||||
ata_io, | ata_io, | ||||
sequence, | sequence, | ||||
ATA_WRITE_UNCORRECTABLE_PSUEDO | ATA_WRITE_UNCORRECTABLE_PSEUDO | ||||
); | ); | ||||
sequence->type = SATI_SEQUENCE_WRITE_LONG; | sequence->type = SATI_SEQUENCE_WRITE_LONG; | ||||
status = SATI_SUCCESS; | status = SATI_SUCCESS; | ||||
} | } | ||||
break; | break; | ||||
case WR_UNCOR_PBLOCK_BIT : | case WR_UNCOR_PBLOCK_BIT : | ||||
sati_ata_write_uncorrectable_construct( | sati_ata_write_uncorrectable_construct( | ||||
ata_io, | ata_io, | ||||
sequence, | sequence, | ||||
ATA_WRITE_UNCORRECTABLE_PSUEDO | ATA_WRITE_UNCORRECTABLE_PSEUDO | ||||
); | ); | ||||
sequence->type = SATI_SEQUENCE_WRITE_LONG; | sequence->type = SATI_SEQUENCE_WRITE_LONG; | ||||
status = SATI_SUCCESS; | status = SATI_SUCCESS; | ||||
break; | break; | ||||
case COR_DIS_WR_UNCORR_BIT : | case COR_DIS_WR_UNCORR_BIT : | ||||
sati_ata_write_uncorrectable_construct( | sati_ata_write_uncorrectable_construct( | ||||
▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines |