ctl.h (268556) | ctl.h (268673) |
---|---|
1/*- 2 * Copyright (c) 2003 Silicon Graphics International Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 * POSSIBILITY OF SUCH DAMAGES. 29 * 30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl.h#5 $ | 1/*- 2 * Copyright (c) 2003 Silicon Graphics International Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 * POSSIBILITY OF SUCH DAMAGES. 29 * 30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl.h#5 $ |
31 * $FreeBSD: stable/10/sys/cam/ctl/ctl.h 268556 2014-07-12 04:34:39Z mav $ | 31 * $FreeBSD: stable/10/sys/cam/ctl/ctl.h 268673 2014-07-15 16:49:35Z mav $ |
32 */ 33/* 34 * Function definitions used both within CTL and potentially in various CTL 35 * clients. 36 * 37 * Author: Ken Merry <ken@FreeBSD.org> 38 */ 39 --- 51 unchanged lines hidden (view full) --- 91/* 92 * Serial number length, for VPD page 0x80. 93 */ 94#define CTL_SN_LEN 16 95 96/* 97 * Device ID length, for VPD page 0x83. 98 */ | 32 */ 33/* 34 * Function definitions used both within CTL and potentially in various CTL 35 * clients. 36 * 37 * Author: Ken Merry <ken@FreeBSD.org> 38 */ 39 --- 51 unchanged lines hidden (view full) --- 91/* 92 * Serial number length, for VPD page 0x80. 93 */ 94#define CTL_SN_LEN 16 95 96/* 97 * Device ID length, for VPD page 0x83. 98 */ |
99#define CTL_DEVID_LEN 16 | 99#define CTL_DEVID_LEN 64 100#define CTL_DEVID_MIN_LEN 16 |
100/* 101 * WWPN length, for VPD page 0x83. 102 */ 103#define CTL_WWPN_LEN 8 104 105/* 106 * Unit attention types. ASC/ASCQ values for these should be placed in 107 * ctl_build_ua. These are also listed in order of reporting priority. --- 87 unchanged lines hidden --- | 101/* 102 * WWPN length, for VPD page 0x83. 103 */ 104#define CTL_WWPN_LEN 8 105 106/* 107 * Unit attention types. ASC/ASCQ values for these should be placed in 108 * ctl_build_ua. These are also listed in order of reporting priority. --- 87 unchanged lines hidden --- |