OpenSSD Cosmos+ Platform Firmware  0.0.2
The firmware of Cosmos+ OpenSSD Platform for TOSHIBA nand flash module.
nvme_identify.h
Go to the documentation of this file.
1
2// nvme_identify.h for Cosmos+ OpenSSD
3// Copyright (c) 2016 Hanyang University ENC Lab.
4// Contributed by Yong Ho Song <yhsong@enc.hanyang.ac.kr>
5// Youngjin Jo <yjjo@enc.hanyang.ac.kr>
6// Sangjin Lee <sjlee@enc.hanyang.ac.kr>
7//
8// This file is part of Cosmos+ OpenSSD.
9//
10// Cosmos+ OpenSSD is free software; you can redistribute it and/or modify
11// it under the terms of the GNU General Public License as published by
12// the Free Software Foundation; either version 3, or (at your option)
13// any later version.
14//
15// Cosmos+ OpenSSD is distributed in the hope that it will be useful,
16// but WITHOUT ANY WARRANTY; without even the implied warranty of
17// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18// See the GNU General Public License for more details.
19//
20// You should have received a copy of the GNU General Public License
21// along with Cosmos+ OpenSSD; see the file COPYING.
22// If not, see <http://www.gnu.org/licenses/>.
24
26// Company: ENC Lab. <http://enc.hanyang.ac.kr>
27// Engineer: Sangjin Lee <sjlee@enc.hanyang.ac.kr>
28//
29// Project Name: Cosmos+ OpenSSD
30// Design Name: Cosmos+ Firmware
31// Module Name: NVMe Identifier
32// File Name: nvme_identify.h
33//
34// Version: v1.0.0
35//
36// Description:
37// - declares functions for generating identify data
38// - defines parameters of NVMe identifier
40
42// Revision History:
43//
44// * v1.0.0
45// - First draft
47
48#ifndef __NVME_IDENTIFY_H_
49#define __NVME_IDENTIFY_H_
50
51#define PCI_VENDOR_ID 0x1EDC
52#define PCI_SUBSYSTEM_VENDOR_ID 0x1EDC
53#define SERIAL_NUMBER "SSDD515T"
54#define MODEL_NUMBER "Cosmos+ OpenSSD"
55#define FIRMWARE_REVISION "TYPE0005"
56
57void identify_controller(unsigned int pBuffer);
58
59void identify_namespace(unsigned int pBuffer);
60
61#endif //__NVME_IDENTIFY_H_
void identify_controller(unsigned int pBuffer)
Definition: nvme_identify.c:59
void identify_namespace(unsigned int pBuffer)