nd.h (41cd8b70c37ace40077c8d6ec0b74b983178c192) nd.h (fcae695737fca0849c18db814d9d8de05c0fd2a2)
1/*
2 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of version 2 of the GNU General Public License as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but

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

22enum {
23 /*
24 * Limits the maximum number of block apertures a dimm can
25 * support and is an input to the geometry/on-disk-format of a
26 * BTT instance
27 */
28 ND_MAX_LANES = 256,
29 SECTOR_SHIFT = 9,
1/*
2 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of version 2 of the GNU General Public License as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but

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

22enum {
23 /*
24 * Limits the maximum number of block apertures a dimm can
25 * support and is an input to the geometry/on-disk-format of a
26 * BTT instance
27 */
28 ND_MAX_LANES = 256,
29 SECTOR_SHIFT = 9,
30 INT_LBASIZE_ALIGNMENT = 64,
30};
31
32struct nvdimm_drvdata {
33 struct device *dev;
34 int nsindex_size;
35 struct nd_cmd_get_config_size nsarea;
36 void *data;
37 int ns_current, ns_next;

--- 168 unchanged lines hidden ---
31};
32
33struct nvdimm_drvdata {
34 struct device *dev;
35 int nsindex_size;
36 struct nd_cmd_get_config_size nsarea;
37 void *data;
38 int ns_current, ns_next;

--- 168 unchanged lines hidden ---