tws_services.h (226026) | tws_services.h (226887) |
---|---|
1/* 2 * Copyright (c) 2010, LSI Corp. 3 * All rights reserved. 4 * Author : Manjunath Ranganathaiah 5 * Support: freebsdraid@lsi.com 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 27 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 * POSSIBILITY OF SUCH DAMAGE. 33 * | 1/* 2 * Copyright (c) 2010, LSI Corp. 3 * All rights reserved. 4 * Author : Manjunath Ranganathaiah 5 * Support: freebsdraid@lsi.com 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 27 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 * POSSIBILITY OF SUCH DAMAGE. 33 * |
34 * $FreeBSD: head/sys/dev/tws/tws_services.h 226026 2011-10-04 21:40:25Z delphij $ | 34 * $FreeBSD: head/sys/dev/tws/tws_services.h 226887 2011-10-28 17:53:34Z delphij $ |
35 */ 36 37 38/* #define TWS_DEBUG on */ 39 40void tws_trace(const char *file, const char *fun, int linenum, 41 struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2); 42void tws_log(struct tws_softc *sc, int index); --- 66 unchanged lines hidden (view full) --- 109struct error_desc { 110 char desc[256]; 111 u_int32_t error_code; 112 int severity_level; 113 char *fmt; 114 char *error_str; 115}; 116 | 35 */ 36 37 38/* #define TWS_DEBUG on */ 39 40void tws_trace(const char *file, const char *fun, int linenum, 41 struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2); 42void tws_log(struct tws_softc *sc, int index); --- 66 unchanged lines hidden (view full) --- 109struct error_desc { 110 char desc[256]; 111 u_int32_t error_code; 112 int severity_level; 113 char *fmt; 114 char *error_str; 115}; 116 |
117extern struct error_desc array[]; | |
118/* ----------- q services ------------- */ 119 120#define TWS_FREE_Q 0 121#define TWS_PENDING_Q 1 122#define TWS_BUSY_Q 2 123#define TWS_COMPLETE_Q 3 124 125/* req return codes */ --- 16 unchanged lines hidden --- | 117/* ----------- q services ------------- */ 118 119#define TWS_FREE_Q 0 120#define TWS_PENDING_Q 1 121#define TWS_BUSY_Q 2 122#define TWS_COMPLETE_Q 3 123 124/* req return codes */ --- 16 unchanged lines hidden --- |