mlyio.h (73050) | mlyio.h (79695) |
---|---|
1/*- 2 * Copyright (c) 2001 Michael Smith 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2001 Michael Smith 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/mly/mlyio.h 73050 2001-02-25 22:48:34Z msmith $ | 26 * $FreeBSD: head/sys/dev/mly/mlyio.h 79695 2001-07-14 00:12:23Z msmith $ |
27 */ 28 29/******************************************************************************** 30 * Control structures exchanged through the GAM interface with userland 31 * management tools. 32 * 33 * The member naming here is consistent with the Linux driver, with which this 34 * interface is basically compatible. --- 19 unchanged lines hidden (view full) --- 54 55#define MLYIO_HEALTH _IOW('M', 201, struct mly_user_health) 56 57/* 58 * Command queue statistics 59 */ 60 61#define MLYQ_FREE 0 | 27 */ 28 29/******************************************************************************** 30 * Control structures exchanged through the GAM interface with userland 31 * management tools. 32 * 33 * The member naming here is consistent with the Linux driver, with which this 34 * interface is basically compatible. --- 19 unchanged lines hidden (view full) --- 54 55#define MLYIO_HEALTH _IOW('M', 201, struct mly_user_health) 56 57/* 58 * Command queue statistics 59 */ 60 61#define MLYQ_FREE 0 |
62#define MLYQ_CCB 1 63#define MLYQ_READY 2 64#define MLYQ_BUSY 3 65#define MLYQ_COMPLETE 4 66#define MLYQ_COUNT 5 | 62#define MLYQ_BUSY 1 63#define MLYQ_COMPLETE 2 64#define MLYQ_COUNT 3 |
67 68struct mly_qstat 69{ 70 u_int32_t q_length; 71 u_int32_t q_max; 72}; | 65 66struct mly_qstat 67{ 68 u_int32_t q_length; 69 u_int32_t q_max; 70}; |