twevar.h (197409) | twevar.h (200991) |
---|---|
1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000 BSDi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000 BSDi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/sys/dev/twe/twevar.h 197409 2009-09-22 16:28:07Z rdivacky $ | 27 * $FreeBSD: head/sys/dev/twe/twevar.h 200991 2009-12-25 17:34:43Z mav $ |
28 */ 29 30#define TWE_DRIVER_VERSION_STRING "1.50.01.002" 31 32#ifdef TWE_DEBUG 33#define debug(level, fmt, args...) \ 34 do { \ 35 if (level <= TWE_DEBUG) printf("%s: " fmt "\n", __func__ , ##args); \ --- 18 unchanged lines hidden (view full) --- 54 int td_heads; 55 int td_sectors; 56 int td_sys_unit; /* device unit number */ 57 int td_twe_unit; /* index into sc->twe_drive[] */ 58 59 /* unit state and type */ 60 u_int8_t td_state; 61 u_int8_t td_type; | 28 */ 29 30#define TWE_DRIVER_VERSION_STRING "1.50.01.002" 31 32#ifdef TWE_DEBUG 33#define debug(level, fmt, args...) \ 34 do { \ 35 if (level <= TWE_DEBUG) printf("%s: " fmt "\n", __func__ , ##args); \ --- 18 unchanged lines hidden (view full) --- 54 int td_heads; 55 int td_sectors; 56 int td_sys_unit; /* device unit number */ 57 int td_twe_unit; /* index into sc->twe_drive[] */ 58 59 /* unit state and type */ 60 u_int8_t td_state; 61 u_int8_t td_type; |
62 u_int8_t td_stripe; |
|
62 63 /* handle for attached driver */ 64 device_t td_disk; 65}; 66 67/* 68 * Per-command control structure. 69 * --- 223 unchanged lines hidden --- | 63 64 /* handle for attached driver */ 65 device_t td_disk; 66}; 67 68/* 69 * Per-command control structure. 70 * --- 223 unchanged lines hidden --- |