tws_hdm.h (256281) | tws_hdm.h (275977) |
---|---|
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: stable/10/sys/dev/tws/tws_hdm.h 241753 2012-10-19 22:07:40Z delphij $ | 34 * $FreeBSD: stable/10/sys/dev/tws/tws_hdm.h 275977 2014-12-21 02:39:10Z smh $ |
35 */ 36 37 38/* bit's defination */ 39 40#define TWS_BIT0 0x00000001 41#define TWS_BIT1 0x00000002 42#define TWS_BIT2 0x00000004 --- 362 unchanged lines hidden (view full) --- 405 u_int32_t flags; /* request flags */ 406 407 u_int32_t error_code; /* error during request processing */ 408 409 u_int32_t request_id; /* request id for tracking with fw */ 410 void (*cb)(struct tws_request *); /* callback func */ 411 bus_dmamap_t dma_map; /* dma map */ 412 union ccb *ccb_ptr; /* pointer to ccb */ | 35 */ 36 37 38/* bit's defination */ 39 40#define TWS_BIT0 0x00000001 41#define TWS_BIT1 0x00000002 42#define TWS_BIT2 0x00000004 --- 362 unchanged lines hidden (view full) --- 405 u_int32_t flags; /* request flags */ 406 407 u_int32_t error_code; /* error during request processing */ 408 409 u_int32_t request_id; /* request id for tracking with fw */ 410 void (*cb)(struct tws_request *); /* callback func */ 411 bus_dmamap_t dma_map; /* dma map */ 412 union ccb *ccb_ptr; /* pointer to ccb */ |
413 struct callout_handle thandle; /* handle to req timeout */ | 413 struct callout timeout; /* request timeout timer */ |
414 struct tws_softc *sc; /* pointer back to ctlr softc */ 415 416 struct tws_request *next; /* pointer to next request */ 417 struct tws_request *prev; /* pointer to prev request */ 418}; 419 420 | 414 struct tws_softc *sc; /* pointer back to ctlr softc */ 415 416 struct tws_request *next; /* pointer to next request */ 417 struct tws_request *prev; /* pointer to prev request */ 418}; 419 420 |