1#
2# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
3#
4#
5# Permission is hereby granted, free of charge, to any person obtaining a
6# copy of this software and associated documentation files (the "Software"),
7# to deal in the Software without restriction, including without limitation
8# the rights to use, copy, modify, merge, publish, distribute, sublicense,
9# and/or sell copies of the Software, and to permit persons to whom the
10# Software is furnished to do so, subject to the following conditions:
11#
12# The above copyright notice and this permission notice (including the next
13# paragraph) shall be included in all copies or substantial portions of the
14# Software.
15#
16# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
19# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22# DEALINGS IN THE SOFTWARE.
23#
24
25#
26# The default for payload-bearing actions in this package is to appear in the
27# global zone only.  See the include file for greater detail, as well as
28# information about overriding the defaults.
29#
30<include global_zone_only_component>
31set name=pkg.fmri value=pkg:/driver/graphics/drm@$(PKGVERS)
32set name=pkg.description \
33    value="Direct Rendering Manager kernel drivers and modules"
34set name=pkg.summary value="DRM Kernel Drivers"
35set name=info.classification \
36    value=org.opensolaris.category.2008:Drivers/Display
37set name=info.upstream value="Direct Rendering Infrastructure (DRI) project"
38set name=info.upstream-url value=http://dri.freedesktop.org/
39set name=org.opensolaris.noincorp value=true
40set name=variant.arch value=i386
41dir path=kernel group=sys
42dir path=kernel/drv group=sys
43dir path=kernel/drv/$(ARCH64) group=sys
44dir path=kernel/kmdb group=sys
45dir path=kernel/kmdb/$(ARCH64) group=sys
46dir path=kernel/misc group=sys
47dir path=kernel/misc/$(ARCH64) group=sys
48dir path=usr/lib
49dir path=usr/lib/devfsadm group=sys
50dir path=usr/lib/devfsadm/linkmod group=sys
51dir path=usr/lib/mdb group=sys
52dir path=usr/lib/mdb/kvm group=sys
53dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
54dir path=usr/share
55dir path=usr/share/man
56dir path=usr/share/man/man7d
57# Note: The authoritative list of supported PCI IDs supported by
58# the i915 driver is in: i915_drv.c:pciidlist[]
59# This list was generated by: uts/intel/io/i915/Make-PCI-ID-list.awk
60driver name=i915 perms="* 0644 root sys" \
61    alias=pci8086,102 \
62    alias=pci8086,106 \
63    alias=pci8086,10a \
64    alias=pci8086,112 \
65    alias=pci8086,116 \
66    alias=pci8086,122 \
67    alias=pci8086,126 \
68    alias=pci8086,152 \
69    alias=pci8086,155 \
70    alias=pci8086,156 \
71    alias=pci8086,157 \
72    alias=pci8086,15a \
73    alias=pci8086,162 \
74    alias=pci8086,166 \
75    alias=pci8086,16a \
76    alias=pci8086,2562 \
77    alias=pci8086,2572 \
78    alias=pci8086,2582 \
79    alias=pci8086,258a \
80    alias=pci8086,2592 \
81    alias=pci8086,2772 \
82    alias=pci8086,27a2 \
83    alias=pci8086,27ae \
84    alias=pci8086,2972 \
85    alias=pci8086,2982 \
86    alias=pci8086,2992 \
87    alias=pci8086,29a2 \
88    alias=pci8086,29b2 \
89    alias=pci8086,29c2 \
90    alias=pci8086,29d2 \
91    alias=pci8086,2a02 \
92    alias=pci8086,2a12 \
93    alias=pci8086,2a42 \
94    alias=pci8086,2e02 \
95    alias=pci8086,2e12 \
96    alias=pci8086,2e22 \
97    alias=pci8086,2e32 \
98    alias=pci8086,2e42 \
99    alias=pci8086,2e92 \
100    alias=pci8086,3577 \
101    alias=pci8086,3582 \
102    alias=pci8086,358e \
103    alias=pci8086,402 \
104    alias=pci8086,406 \
105    alias=pci8086,40a \
106    alias=pci8086,40b \
107    alias=pci8086,40e \
108    alias=pci8086,412 \
109    alias=pci8086,416 \
110    alias=pci8086,41a \
111    alias=pci8086,41b \
112    alias=pci8086,41e \
113    alias=pci8086,42 \
114    alias=pci8086,422 \
115    alias=pci8086,426 \
116    alias=pci8086,42a \
117    alias=pci8086,42b \
118    alias=pci8086,42e \
119    alias=pci8086,46 \
120    alias=pci8086,a001 \
121    alias=pci8086,a011 \
122    alias=pci8086,a02 \
123    alias=pci8086,a06 \
124    alias=pci8086,a0a \
125    alias=pci8086,a0b \
126    alias=pci8086,a0e \
127    alias=pci8086,a12 \
128    alias=pci8086,a16 \
129    alias=pci8086,a1a \
130    alias=pci8086,a1b \
131    alias=pci8086,a1e \
132    alias=pci8086,a22 \
133    alias=pci8086,a26 \
134    alias=pci8086,a2a \
135    alias=pci8086,a2b \
136    alias=pci8086,a2e \
137    alias=pci8086,c02 \
138    alias=pci8086,c06 \
139    alias=pci8086,c0a \
140    alias=pci8086,c0b \
141    alias=pci8086,c0e \
142    alias=pci8086,c12 \
143    alias=pci8086,c16 \
144    alias=pci8086,c1a \
145    alias=pci8086,c1b \
146    alias=pci8086,c1e \
147    alias=pci8086,c22 \
148    alias=pci8086,c26 \
149    alias=pci8086,c2a \
150    alias=pci8086,c2b \
151    alias=pci8086,c2e \
152    alias=pci8086,d02 \
153    alias=pci8086,d06 \
154    alias=pci8086,d0a \
155    alias=pci8086,d0b \
156    alias=pci8086,d0e \
157    alias=pci8086,d12 \
158    alias=pci8086,d16 \
159    alias=pci8086,d1a \
160    alias=pci8086,d1b \
161    alias=pci8086,d1e \
162    alias=pci8086,d22 \
163    alias=pci8086,d26 \
164    alias=pci8086,d2a \
165    alias=pci8086,d2b \
166    alias=pci8086,d2e \
167    alias=pci8086,f30 \
168    alias=pci8086,f31 \
169    alias=pci8086,f32 \
170    alias=pci8086,f33
171file path=kernel/drv/$(ARCH64)/i915 group=sys mode=0755
172#file path=kernel/drv/$(ARCH64)/radeon group=sys mode=0755
173file path=kernel/kmdb/$(ARCH64)/i915 group=sys mode=0555
174file path=kernel/misc/$(ARCH64)/drm group=sys mode=0755
175file path=usr/lib/devfsadm/linkmod/SUNW_drm_link_i386.so group=sys mode=0755
176file path=usr/lib/mdb/kvm/$(ARCH64)/i915.so group=sys mode=0555
177file path=usr/share/man/man7d/i915.7d
178#file path=usr/share/man/man7d/radeon.7d
179legacy pkg=SUNWdrmr desc="Direct Rendering Manager kernel drivers and modules" \
180    name="DRM Kernel Drivers, (Root)"
181license usr/src/uts/common/io/drm/LICENSE_DRM \
182    license=usr/src/uts/common/io/drm/LICENSE_DRM
183license usr/src/uts/intel/io/i915/LICENSE_I915 \
184    license=usr/src/uts/intel/io/i915/LICENSE_I915
185depend fmri=pkg:/driver/graphics/agpgart type=require
186