1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2019 Joyent, Inc.
14# Copyright 2021 Oxide Computer Company
15#
16
17<include global_zone_only_component>
18set name=pkg.fmri value=pkg:/driver/cpu/sensor@$(PKGVERS)
19set name=pkg.summary value="CPU Sensor Drivers"
20set name=pkg.description value="CPU Sensor Drivers"
21set name=info.classification value=org.opensolaris.category.2008:System/Hardware
22set name=variant.arch value=i386
23dir  path=kernel group=sys
24dir  path=kernel/drv group=sys
25dir  path=kernel/drv/$(ARCH64) group=sys
26file path=kernel/drv/$(ARCH64)/amdnbtemp group=sys
27file path=kernel/drv/$(ARCH64)/coretemp group=sys
28file path=kernel/drv/$(ARCH64)/pchtemp group=sys
29file path=kernel/drv/$(ARCH64)/smntemp group=sys
30file path=kernel/drv/coretemp.conf group=sys
31dir  path=usr/share/man
32dir  path=usr/share/man/man4d
33file path=usr/share/man/man4d/amdnbtemp.4d
34file path=usr/share/man/man4d/coretemp.4d
35file path=usr/share/man/man4d/pchtemp.4d
36file path=usr/share/man/man4d/smntemp.4d
37driver name=amdnbtemp \
38    alias=pci1022,1203,p \
39    alias=pci1022,1303,p \
40    alias=pci1022,1403,p \
41    alias=pci1022,141d,p \
42    alias=pci1022,1533,p \
43    alias=pci1022,1583,p \
44    alias=pci1022,1603,p \
45    alias=pci1022,1703,p
46driver name=coretemp
47driver name=pchtemp \
48    alias=pci8086,2f9,p \
49    alias=pci8086,6f9,p \
50    alias=pci8086,8c24,p \
51    alias=pci8086,8ca4,p \
52    alias=pci8086,8d24,p \
53    alias=pci8086,9ca4,p \
54    alias=pci8086,9d31,p \
55    alias=pci8086,9df9,p \
56    alias=pci8086,a131,p \
57    alias=pci8086,a1b1,p \
58    alias=pci8086,a231,p \
59    alias=pci8086,a2b1,p \
60    alias=pci8086,a379,p
61driver name=smntemp
62license lic_CDDL license=lic_CDDL
63depend type=require fmri=driver/cpu/amd/zen
64depend type=require fmri=system/ksensor
65