diff options
author | Sudeep Dutt <sudeep.dutt@intel.com> | 2013-09-05 19:41:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 16:49:23 -0400 |
commit | b170d8ce3f81bd97e85756e9184779a56a5f55a7 (patch) | |
tree | aa441b1a6ebd510695b16ee685567409210e3a2a /drivers/misc/mic/common | |
parent | 9089e3be60b13a1114e8afdc37c605e75cfc4a26 (diff) |
Intel MIC Host Driver for X100 family.
This patch enables the following:
a) Initializes the Intel MIC X100 PCIe devices.
b) Provides sysfs entries for family and stepping information.
Co-author: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Caz Yokoyama <Caz.Yokoyama@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Harshavardhan R Kharche <harshavardhan.r.kharche@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
Acked-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mic/common')
-rw-r--r-- | drivers/misc/mic/common/mic_device.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/misc/mic/common/mic_device.h b/drivers/misc/mic/common/mic_device.h new file mode 100644 index 000000000000..f02262e1c9d3 --- /dev/null +++ b/drivers/misc/mic/common/mic_device.h | |||
@@ -0,0 +1,37 @@ | |||
1 | /* | ||
2 | * Intel MIC Platform Software Stack (MPSS) | ||
3 | * | ||
4 | * Copyright(c) 2013 Intel Corporation. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License, version 2, as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, but | ||
11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | * General Public License for more details. | ||
14 | * | ||
15 | * The full GNU General Public License is included in this distribution in | ||
16 | * the file called "COPYING". | ||
17 | * | ||
18 | * Intel MIC driver. | ||
19 | * | ||
20 | */ | ||
21 | #ifndef __MIC_COMMON_DEVICE_H_ | ||
22 | #define __MIC_COMMON_DEVICE_H_ | ||
23 | |||
24 | /** | ||
25 | * struct mic_mw - MIC memory window | ||
26 | * | ||
27 | * @pa: Base physical address. | ||
28 | * @va: Base ioremap'd virtual address. | ||
29 | * @len: Size of the memory window. | ||
30 | */ | ||
31 | struct mic_mw { | ||
32 | phys_addr_t pa; | ||
33 | void __iomem *va; | ||
34 | resource_size_t len; | ||
35 | }; | ||
36 | |||
37 | #endif | ||