scsi_all.c (312844) | scsi_all.c (313364) |
---|---|
1/*- 2 * Implementation of Utility functions for all SCSI device types. 3 * 4 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs. 5 * Copyright (c) 1997, 1998, 2003 Kenneth D. Merry. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#include <sys/cdefs.h> | 1/*- 2 * Implementation of Utility functions for all SCSI device types. 3 * 4 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs. 5 * Copyright (c) 1997, 1998, 2003 Kenneth D. Merry. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: stable/11/sys/cam/scsi/scsi_all.c 312844 2017-01-26 21:06:59Z mav $"); | 31__FBSDID("$FreeBSD: stable/11/sys/cam/scsi/scsi_all.c 313364 2017-02-07 01:42:13Z mav $"); |
32 33#include <sys/param.h> 34#include <sys/types.h> 35#include <sys/stdint.h> 36 37#ifdef _KERNEL 38#include <opt_scsi.h> 39 --- 1326 unchanged lines hidden (view full) --- 1366 "Invalid information unit") }, 1367 /* DT PWROMAEBK F */ 1368 { SST(0x0E, 0x01, SS_RDEF, /* XXX TBD */ 1369 "Information unit too short") }, 1370 /* DT PWROMAEBK F */ 1371 { SST(0x0E, 0x02, SS_RDEF, /* XXX TBD */ 1372 "Information unit too long") }, 1373 /* DT P R MAEBK F */ | 32 33#include <sys/param.h> 34#include <sys/types.h> 35#include <sys/stdint.h> 36 37#ifdef _KERNEL 38#include <opt_scsi.h> 39 --- 1326 unchanged lines hidden (view full) --- 1366 "Invalid information unit") }, 1367 /* DT PWROMAEBK F */ 1368 { SST(0x0E, 0x01, SS_RDEF, /* XXX TBD */ 1369 "Information unit too short") }, 1370 /* DT PWROMAEBK F */ 1371 { SST(0x0E, 0x02, SS_RDEF, /* XXX TBD */ 1372 "Information unit too long") }, 1373 /* DT P R MAEBK F */ |
1374 { SST(0x0E, 0x03, SS_RDEF, /* XXX TBD */ | 1374 { SST(0x0E, 0x03, SS_FATAL | EINVAL, |
1375 "Invalid field in command information unit") }, 1376 /* D W O BK */ 1377 { SST(0x10, 0x00, SS_RDEF, 1378 "ID CRC or ECC error") }, 1379 /* DT W O */ 1380 { SST(0x10, 0x01, SS_RDEF, /* XXX TBD */ 1381 "Logical block guard check failed") }, 1382 /* DT W O */ --- 7840 unchanged lines hidden --- | 1375 "Invalid field in command information unit") }, 1376 /* D W O BK */ 1377 { SST(0x10, 0x00, SS_RDEF, 1378 "ID CRC or ECC error") }, 1379 /* DT W O */ 1380 { SST(0x10, 0x01, SS_RDEF, /* XXX TBD */ 1381 "Logical block guard check failed") }, 1382 /* DT W O */ --- 7840 unchanged lines hidden --- |