mtip32xx.c (1671d522cdd9933dee7dddfcf9f62c561283824a) mtip32xx.c (f363b089be0a39fe4282c688118a51d21f952bc7)
1/*
2 * Driver for the Micron P320 SSD
3 * Copyright (C) 2011 Micron Technology, Inc.
4 *
5 * Portions of this code were derived from works subjected to the
6 * following copyright:
7 * Copyright (C) 2009 Integrated Device Technology, Inc.
8 *

--- 3875 unchanged lines hidden (view full) ---

3884 if (test_and_set_bit(MTIP_PF_TO_ACTIVE_BIT, &dd->port->flags))
3885 goto exit_handler;
3886
3887 wake_up_interruptible(&dd->port->svc_wait);
3888exit_handler:
3889 return BLK_EH_RESET_TIMER;
3890}
3891
1/*
2 * Driver for the Micron P320 SSD
3 * Copyright (C) 2011 Micron Technology, Inc.
4 *
5 * Portions of this code were derived from works subjected to the
6 * following copyright:
7 * Copyright (C) 2009 Integrated Device Technology, Inc.
8 *

--- 3875 unchanged lines hidden (view full) ---

3884 if (test_and_set_bit(MTIP_PF_TO_ACTIVE_BIT, &dd->port->flags))
3885 goto exit_handler;
3886
3887 wake_up_interruptible(&dd->port->svc_wait);
3888exit_handler:
3889 return BLK_EH_RESET_TIMER;
3890}
3891
3892static struct blk_mq_ops mtip_mq_ops = {
3892static const struct blk_mq_ops mtip_mq_ops = {
3893 .queue_rq = mtip_queue_rq,
3894 .init_request = mtip_init_cmd,
3895 .exit_request = mtip_free_cmd,
3896 .complete = mtip_softirq_done_fn,
3897 .timeout = mtip_cmd_timeout,
3898};
3899
3900/*

--- 926 unchanged lines hidden ---
3893 .queue_rq = mtip_queue_rq,
3894 .init_request = mtip_init_cmd,
3895 .exit_request = mtip_free_cmd,
3896 .complete = mtip_softirq_done_fn,
3897 .timeout = mtip_cmd_timeout,
3898};
3899
3900/*

--- 926 unchanged lines hidden ---