1#
2# CDDL HEADER START
3#
4# This file and its contents are supplied under the terms of the
5# Common Development and Distribution License ("CDDL"), version 1.0.
6# You may only use this file in accordance with the terms of version
7# 1.0 of the CDDL.
8#
9# A full copy of the text of the CDDL should have accompanied this
10# source.  A copy of the CDDL is also available via the Internet at
11# http://www.illumos.org/license/CDDL.
12#
13# CDDL HEADER END
14#
15
16#
17# Copyright 2016 Nexenta Systems, Inc. All rights reserved.
18# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
19#
20
21#
22# The default for payload-bearing actions in this package is to appear in the
23# global zone only.  See the include file for greater detail, as well as
24# information about overriding the defaults.
25#
26<include global_zone_only_component>
27set name=pkg.fmri value=pkg:/driver/storage/nvme@$(PKGVERS)
28set name=pkg.summary value="NVMe driver"
29set name=pkg.description \
30    value="Driver for NVM Express compliant storage devices"
31set name=info.classification value=org.opensolaris.category.2008:System/Hardware
32set name=variant.arch value=i386
33dir  path=kernel group=sys
34dir  path=kernel/drv group=sys
35dir  path=kernel/drv/$(ARCH64) group=sys
36file path=kernel/drv/$(ARCH64)/nvme group=sys
37file path=kernel/drv/nvme.conf group=sys preserve=renamenew
38dir  path=usr group=sys
39dir  path=usr/include
40file path=usr/include/libnvme.h
41dir  path=usr/include/sys
42dir  path=usr/include/sys/nvme
43file path=usr/include/sys/nvme/discovery.h
44file path=usr/include/sys/nvme/micron.h
45file path=usr/include/sys/nvme/micron_7300.h
46file path=usr/include/sys/nvme/micron_74x0.h
47file path=usr/include/sys/nvme/micron_x500.h
48file path=usr/include/sys/nvme/ocp.h
49file path=usr/include/sys/nvme/wdc.h
50file path=usr/include/sys/nvme/wdc_sn65x.h
51file path=usr/include/sys/nvme/wdc_sn840.h
52dir  path=usr/lib
53dir  path=usr/lib/$(ARCH64)
54link path=usr/lib/$(ARCH64)/libnvme.so target=libnvme.so.1
55file path=usr/lib/$(ARCH64)/libnvme.so.1
56link path=usr/lib/libnvme.so target=libnvme.so.1
57file path=usr/lib/libnvme.so.1
58dir  path=usr/sbin
59file path=usr/sbin/nvmeadm mode=0555
60dir  path=usr/share
61dir  path=usr/share/man
62dir  path=usr/share/man/man4d
63file path=usr/share/man/man4d/nvme.4d
64file path=usr/share/man/man8/nvmeadm.8
65driver name=nvme perms="* 0600 root sys" class=disk \
66    alias=pciclass,010802 \
67    alias=pciexclass,010802
68license lic_CDDL license=lic_CDDL
69