scsi_all.c (269709) | scsi_all.c (273809) |
---|---|
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: head/sys/cam/scsi/scsi_all.c 269709 2014-08-08 11:46:45Z imp $"); | 31__FBSDID("$FreeBSD: head/sys/cam/scsi/scsi_all.c 273809 2014-10-29 03:14:29Z 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 --- 1688 unchanged lines hidden (view full) --- 1728 "Persistent write protect") }, 1729 /* T R */ 1730 { SST(0x27, 0x05, SS_FATAL | EACCES, 1731 "Permanent write protect") }, 1732 /* R F */ 1733 { SST(0x27, 0x06, SS_RDEF, /* XXX TBD */ 1734 "Conditional write protect") }, 1735 /* D B */ | 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 --- 1688 unchanged lines hidden (view full) --- 1728 "Persistent write protect") }, 1729 /* T R */ 1730 { SST(0x27, 0x05, SS_FATAL | EACCES, 1731 "Permanent write protect") }, 1732 /* R F */ 1733 { SST(0x27, 0x06, SS_RDEF, /* XXX TBD */ 1734 "Conditional write protect") }, 1735 /* D B */ |
1736 { SST(0x27, 0x07, SS_RDEF, /* XXX TBD */ | 1736 { SST(0x27, 0x07, SS_FATAL | ENOSPC, |
1737 "Space allocation failed write protect") }, 1738 /* DTLPWROMAEBKVF */ 1739 { SST(0x28, 0x00, SS_FATAL | ENXIO, 1740 "Not ready to ready change, medium may have changed") }, 1741 /* DT WROM B */ 1742 { SST(0x28, 0x01, SS_FATAL | ENXIO, 1743 "Import or export element accessed") }, 1744 /* R */ --- 5903 unchanged lines hidden --- | 1737 "Space allocation failed write protect") }, 1738 /* DTLPWROMAEBKVF */ 1739 { SST(0x28, 0x00, SS_FATAL | ENXIO, 1740 "Not ready to ready change, medium may have changed") }, 1741 /* DT WROM B */ 1742 { SST(0x28, 0x01, SS_FATAL | ENXIO, 1743 "Import or export element accessed") }, 1744 /* R */ --- 5903 unchanged lines hidden --- |