Deleted Added
full compact
nvme_private.h (241433) nvme_private.h (241434)
1/*-
2 * Copyright (C) 2012 Intel Corporation
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) 2012 Intel Corporation
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/nvme/nvme_private.h 241433 2012-10-10 23:28:58Z jimharris $
26 * $FreeBSD: head/sys/dev/nvme/nvme_private.h 241434 2012-10-10 23:35:16Z jimharris $
27 */
28
29#ifndef __NVME_PRIVATE_H__
30#define __NVME_PRIVATE_H__
31
32#include <sys/param.h>
33#include <sys/kernel.h>
34#include <sys/lock.h>

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

129 uint32_t sq_tdbl_off;
130 uint32_t cq_hdbl_off;
131
132 uint32_t sq_head;
133 uint32_t sq_tail;
134 uint32_t cq_head;
135
136 int64_t num_cmds;
27 */
28
29#ifndef __NVME_PRIVATE_H__
30#define __NVME_PRIVATE_H__
31
32#include <sys/param.h>
33#include <sys/kernel.h>
34#include <sys/lock.h>

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

129 uint32_t sq_tdbl_off;
130 uint32_t cq_hdbl_off;
131
132 uint32_t sq_head;
133 uint32_t sq_tail;
134 uint32_t cq_head;
135
136 int64_t num_cmds;
137 int64_t num_intr_handler_calls;
137
138 struct nvme_command *cmd;
139 struct nvme_completion *cpl;
140
141 bus_dma_tag_t dma_tag;
142
143 bus_dmamap_t cmd_dma_map;
144 uint64_t cmd_bus_addr;

--- 230 unchanged lines hidden ---
138
139 struct nvme_command *cmd;
140 struct nvme_completion *cpl;
141
142 bus_dma_tag_t dma_tag;
143
144 bus_dmamap_t cmd_dma_map;
145 uint64_t cmd_bus_addr;

--- 230 unchanged lines hidden ---