tw_cl_externs.h (169400) | tw_cl_externs.h (212008) |
---|---|
1/* 2 * Copyright (c) 2004-07 Applied Micro Circuits Corporation. 3 * Copyright (c) 2004-05 Vinod Kashyap 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) 2004-07 Applied Micro Circuits Corporation. 3 * Copyright (c) 2004-05 Vinod Kashyap 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/twa/tw_cl_externs.h 169400 2007-05-09 04:16:32Z scottl $ | 27 * $FreeBSD: head/sys/dev/twa/tw_cl_externs.h 212008 2010-08-30 19:15:04Z delphij $ |
28 */ 29 30/* 31 * AMCC'S 3ware driver for 9000 series storage controllers. 32 * 33 * Author: Vinod Kashyap 34 * Modifications by: Adam Radford 35 */ --- 45 unchanged lines hidden (view full) --- 81 TW_VOID *data, TW_VOID (* callback)(struct tw_cli_req_context *req)); 82 83/* Submit a command to the firmware and poll for completion. */ 84extern TW_INT32 tw_cli_submit_and_poll_request(struct tw_cli_req_context *req, 85 TW_UINT32 timeout); 86 87/* Soft reset the controller. */ 88extern TW_INT32 tw_cli_soft_reset(struct tw_cli_ctlr_context *ctlr); | 28 */ 29 30/* 31 * AMCC'S 3ware driver for 9000 series storage controllers. 32 * 33 * Author: Vinod Kashyap 34 * Modifications by: Adam Radford 35 */ --- 45 unchanged lines hidden (view full) --- 81 TW_VOID *data, TW_VOID (* callback)(struct tw_cli_req_context *req)); 82 83/* Submit a command to the firmware and poll for completion. */ 84extern TW_INT32 tw_cli_submit_and_poll_request(struct tw_cli_req_context *req, 85 TW_UINT32 timeout); 86 87/* Soft reset the controller. */ 88extern TW_INT32 tw_cli_soft_reset(struct tw_cli_ctlr_context *ctlr); |
89extern int twa_setup_intr(struct twa_softc *sc); 90extern int twa_teardown_intr(struct twa_softc *sc); |
|
89 90/* Send down a SCSI command to the firmware (usually, an internal Req Sense. */ 91extern TW_INT32 tw_cli_send_scsi_cmd(struct tw_cli_req_context *req, 92 TW_INT32 cmd); 93 94/* Get an AEN from the firmware (by sending down a Req Sense). */ 95extern TW_INT32 tw_cli_get_aen(struct tw_cli_ctlr_context *ctlr); 96 --- 104 unchanged lines hidden --- | 91 92/* Send down a SCSI command to the firmware (usually, an internal Req Sense. */ 93extern TW_INT32 tw_cli_send_scsi_cmd(struct tw_cli_req_context *req, 94 TW_INT32 cmd); 95 96/* Get an AEN from the firmware (by sending down a Req Sense). */ 97extern TW_INT32 tw_cli_get_aen(struct tw_cli_ctlr_context *ctlr); 98 --- 104 unchanged lines hidden --- |