1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright 2012 Nexenta Systems, Inc. All rights reserved.
25# Copyright 2014 Garrett D'Amore <garrett@damore.org>
26# Copyright 2017, Joyent, Inc.
27#
28
29#
30# The default for payload-bearing actions in this package is to appear in the
31# global zone only.  See the include file for greater detail, as well as
32# information about overriding the defaults.
33#
34<include global_zone_only_component>
35set name=pkg.fmri value=pkg:/driver/usb@$(PKGVERS)
36set name=pkg.summary value="USB Device Drivers"
37set name=pkg.description value="USBA (USB framework) and USB Device Drivers"
38set name=info.classification value=org.opensolaris.category.2008:Drivers/Ports
39set name=variant.arch value=$(ARCH)
40dir  path=etc group=sys
41dir  path=etc/usb group=sys
42file path=etc/usb/config_map.conf group=sys \
43    original_name=SUNWusb:etc/usb/config_map.conf preserve=true
44dir  path=kernel group=sys
45dir  path=kernel/dacf group=sys
46dir  path=kernel/dacf/$(ARCH64) group=sys
47dir  path=kernel/drv group=sys
48dir  path=kernel/drv/$(ARCH64) group=sys
49file path=kernel/drv/$(ARCH64)/ehci group=sys
50file path=kernel/drv/$(ARCH64)/hid group=sys
51file path=kernel/drv/$(ARCH64)/hubd group=sys
52file path=kernel/drv/$(ARCH64)/ohci group=sys
53file path=kernel/drv/$(ARCH64)/scsa2usb group=sys
54file path=kernel/drv/$(ARCH64)/uhci group=sys
55file path=kernel/drv/$(ARCH64)/usb_ac group=sys
56file path=kernel/drv/$(ARCH64)/usb_as group=sys
57file path=kernel/drv/$(ARCH64)/usb_ia group=sys
58file path=kernel/drv/$(ARCH64)/usb_mid group=sys
59file path=kernel/drv/$(ARCH64)/usbprn group=sys
60$(i386_ONLY)file path=kernel/drv/$(ARCH64)/xhci group=sys
61file path=kernel/drv/ehci.conf group=sys
62file path=kernel/drv/ohci.conf group=sys
63file path=kernel/drv/scsa2usb.conf group=sys \
64    original_name=SUNWusb:kernel/drv/scsa2usb.conf preserve=true
65file path=kernel/drv/uhci.conf group=sys
66file path=kernel/drv/usb_ac.conf group=sys
67$(i386_ONLY)file path=kernel/drv/xhci.conf group=sys
68dir  path=kernel/kmdb group=sys
69dir  path=kernel/kmdb/$(ARCH64) group=sys
70$(i386_ONLY)file path=kernel/kmdb/$(ARCH64)/xhci group=sys mode=0555
71dir  path=kernel/misc group=sys
72dir  path=kernel/misc/$(ARCH64) group=sys
73file path=kernel/misc/$(ARCH64)/hidparser group=sys mode=0755
74file path=kernel/misc/$(ARCH64)/usba group=sys mode=0755
75file path=kernel/misc/$(ARCH64)/usba10 group=sys mode=0755
76dir  path=kernel/strmod group=sys
77dir  path=kernel/strmod/$(ARCH64) group=sys
78file path=kernel/strmod/$(ARCH64)/usb_ah group=sys mode=0755
79file path=kernel/strmod/$(ARCH64)/usbkbm group=sys mode=0755
80file path=kernel/strmod/$(ARCH64)/usbms group=sys mode=0755
81file path=kernel/strmod/$(ARCH64)/usbwcm group=sys mode=0755
82dir  path=lib
83dir  path=lib/svc
84dir  path=lib/svc/manifest group=sys
85dir  path=lib/svc/manifest/system group=sys
86dir  path=lib/svc/method
87dir  path=sbin group=sys
88dir  path=usr group=sys
89dir  path=usr/lib
90dir  path=usr/lib/mdb group=sys
91dir  path=usr/lib/mdb/kvm group=sys
92dir  path=usr/lib/mdb/kvm/$(ARCH64) group=sys
93$(i386_ONLY)file path=usr/lib/mdb/kvm/$(ARCH64)/xhci.so group=sys mode=0555
94$(i386_ONLY)dir path=usr/lib/xhci group=sys
95$(i386_ONLY)file path=usr/lib/xhci/xhci_portsc group=sys mode=0555
96dir  path=usr/share
97dir  path=usr/share/man
98file path=usr/share/man/man4d/ehci.4d
99file path=usr/share/man/man4d/hid.4d
100file path=usr/share/man/man4d/hubd.4d
101file path=usr/share/man/man4d/ohci.4d
102file path=usr/share/man/man4d/scsa2usb.4d
103file path=usr/share/man/man4d/uhci.4d
104link path=usr/share/man/man4d/usb.4d target=usba.4d
105file path=usr/share/man/man4d/usb_ac.4d
106file path=usr/share/man/man4d/usb_as.4d
107file path=usr/share/man/man4d/usb_ia.4d
108file path=usr/share/man/man4d/usb_mid.4d
109file path=usr/share/man/man4d/usba.4d
110file path=usr/share/man/man4d/usbprn.4d
111$(i386_ONLY)file path=usr/share/man/man4d/xhci.4d
112dir  path=usr/share/man/man4m
113file path=usr/share/man/man4m/usb_ah.4m
114file path=usr/share/man/man4m/usbkbm.4m
115file path=usr/share/man/man4m/usbms.4m
116dir  path=usr/share/man/man9e
117file path=usr/share/man/man9e/usba_hcdi.9e
118link path=usr/share/man/man9e/usba_hcdi_cb_close.9e target=usba_hcdi_cb_ops.9e
119link path=usr/share/man/man9e/usba_hcdi_cb_ioctl.9e target=usba_hcdi_cb_ops.9e
120link path=usr/share/man/man9e/usba_hcdi_cb_open.9e target=usba_hcdi_cb_ops.9e
121file path=usr/share/man/man9e/usba_hcdi_cb_ops.9e
122file path=usr/share/man/man9e/usba_hcdi_device_address.9e
123link path=usr/share/man/man9e/usba_hcdi_device_fini.9e \
124    target=usba_hcdi_device_init.9e
125file path=usr/share/man/man9e/usba_hcdi_device_init.9e
126file path=usr/share/man/man9e/usba_hcdi_hub_update.9e
127file path=usr/share/man/man9e/usba_hcdi_pipe_bulk_xfer.9e
128link path=usr/share/man/man9e/usba_hcdi_pipe_close.9e \
129    target=usba_hcdi_pipe_open.9e
130file path=usr/share/man/man9e/usba_hcdi_pipe_ctrl_xfer.9e
131file path=usr/share/man/man9e/usba_hcdi_pipe_intr_xfer.9e
132file path=usr/share/man/man9e/usba_hcdi_pipe_isoc_xfer.9e
133file path=usr/share/man/man9e/usba_hcdi_pipe_open.9e
134file path=usr/share/man/man9e/usba_hcdi_pipe_reset.9e
135file path=usr/share/man/man9e/usba_hcdi_pipe_stop_intr_polling.9e
136link path=usr/share/man/man9e/usba_hcdi_pipe_stop_isoc_polling.9e \
137    target=usba_hcdi_pipe_stop_intr_polling.9e
138dir  path=usr/share/man/man9f
139link path=usr/share/man/man9f/usb_alloc_bulk_req.9f target=usb_alloc_request.9f
140link path=usr/share/man/man9f/usb_alloc_ctrl_req.9f target=usb_alloc_request.9f
141link path=usr/share/man/man9f/usb_alloc_intr_req.9f target=usb_alloc_request.9f
142link path=usr/share/man/man9f/usb_alloc_isoc_req.9f target=usb_alloc_request.9f
143file path=usr/share/man/man9f/usb_alloc_request.9f
144file path=usr/share/man/man9f/usb_client_attach.9f
145link path=usr/share/man/man9f/usb_client_detach.9f target=usb_client_attach.9f
146file path=usr/share/man/man9f/usb_clr_feature.9f
147file path=usr/share/man/man9f/usb_create_pm_components.9f
148file path=usr/share/man/man9f/usb_ep_xdescr_fill.9f
149link path=usr/share/man/man9f/usb_free_bulk_req.9f target=usb_alloc_request.9f
150link path=usr/share/man/man9f/usb_free_ctrl_req.9f target=usb_alloc_request.9f
151link path=usr/share/man/man9f/usb_free_descr_tree.9f target=usb_get_dev_data.9f
152link path=usr/share/man/man9f/usb_free_dev_data.9f target=usb_get_dev_data.9f
153link path=usr/share/man/man9f/usb_free_intr_req.9f target=usb_alloc_request.9f
154link path=usr/share/man/man9f/usb_free_isoc_req.9f target=usb_alloc_request.9f
155file path=usr/share/man/man9f/usb_get_addr.9f
156file path=usr/share/man/man9f/usb_get_alt_if.9f
157file path=usr/share/man/man9f/usb_get_cfg.9f
158file path=usr/share/man/man9f/usb_get_current_frame_number.9f
159file path=usr/share/man/man9f/usb_get_dev_data.9f
160link path=usr/share/man/man9f/usb_get_if_number.9f target=usb_get_alt_if.9f
161file path=usr/share/man/man9f/usb_get_max_pkts_per_isoc_request.9f
162file path=usr/share/man/man9f/usb_get_status.9f
163file path=usr/share/man/man9f/usb_get_string_descr.9f
164file path=usr/share/man/man9f/usb_handle_remote_wakeup.9f
165file path=usr/share/man/man9f/usb_lookup_ep_data.9f
166link path=usr/share/man/man9f/usb_owns_device.9f target=usb_get_alt_if.9f
167file path=usr/share/man/man9f/usb_parse_data.9f
168file path=usr/share/man/man9f/usb_pipe_bulk_xfer.9f
169file path=usr/share/man/man9f/usb_pipe_close.9f
170file path=usr/share/man/man9f/usb_pipe_ctrl_xfer.9f
171link path=usr/share/man/man9f/usb_pipe_ctrl_xfer_wait.9f \
172    target=usb_pipe_ctrl_xfer.9f
173file path=usr/share/man/man9f/usb_pipe_drain_reqs.9f
174file path=usr/share/man/man9f/usb_pipe_get_max_bulk_transfer_size.9f
175link path=usr/share/man/man9f/usb_pipe_get_private.9f \
176    target=usb_pipe_set_private.9f
177file path=usr/share/man/man9f/usb_pipe_get_state.9f
178file path=usr/share/man/man9f/usb_pipe_intr_xfer.9f
179file path=usr/share/man/man9f/usb_pipe_isoc_xfer.9f
180link path=usr/share/man/man9f/usb_pipe_open.9f target=usb_pipe_xopen.9f
181file path=usr/share/man/man9f/usb_pipe_reset.9f
182file path=usr/share/man/man9f/usb_pipe_set_private.9f
183link path=usr/share/man/man9f/usb_pipe_stop_intr_polling.9f \
184    target=usb_pipe_intr_xfer.9f
185link path=usr/share/man/man9f/usb_pipe_stop_isoc_polling.9f \
186    target=usb_pipe_isoc_xfer.9f
187file path=usr/share/man/man9f/usb_pipe_xopen.9f
188link path=usr/share/man/man9f/usb_print_descr_tree.9f target=usb_get_dev_data.9f
189file path=usr/share/man/man9f/usb_register_hotplug_cbs.9f
190file path=usr/share/man/man9f/usb_reset_device.9f
191link path=usr/share/man/man9f/usb_set_alt_if.9f target=usb_get_alt_if.9f
192link path=usr/share/man/man9f/usb_set_cfg.9f target=usb_get_cfg.9f
193link path=usr/share/man/man9f/usb_unregister_hotplug_cbs.9f \
194    target=usb_register_hotplug_cbs.9f
195file path=usr/share/man/man9f/usba_alloc_hcdi_ops.9f
196link path=usr/share/man/man9f/usba_free_hcdi_ops.9f \
197    target=usba_alloc_hcdi_ops.9f
198file path=usr/share/man/man9f/usba_hcdi_cb.9f
199file path=usr/share/man/man9f/usba_hcdi_dup_intr_req.9f
200file path=usr/share/man/man9f/usba_hcdi_dup_isoc_req.9f
201file path=usr/share/man/man9f/usba_hcdi_get_device_private.9f
202file path=usr/share/man/man9f/usba_hcdi_register.9f
203link path=usr/share/man/man9f/usba_hcdi_unregister.9f \
204    target=usba_hcdi_register.9f
205file path=usr/share/man/man9f/usba_hubdi_bind_root_hub.9f
206file path=usr/share/man/man9f/usba_hubdi_cb_ops.9f
207link path=usr/share/man/man9f/usba_hubdi_close.9f target=usba_hubdi_cb_ops.9f
208file path=usr/share/man/man9f/usba_hubdi_dev_ops.9f
209link path=usr/share/man/man9f/usba_hubdi_ioctl.9f target=usba_hubdi_cb_ops.9f
210link path=usr/share/man/man9f/usba_hubdi_open.9f target=usba_hubdi_cb_ops.9f
211link path=usr/share/man/man9f/usba_hubdi_root_hub_power.9f \
212    target=usba_hubdi_dev_ops.9f
213link path=usr/share/man/man9f/usba_hubdi_unbind_root_hub.9f \
214    target=usba_hubdi_bind_root_hub.9f
215dir  path=usr/share/man/man9s
216file path=usr/share/man/man9s/usb_bulk_req.9s
217link path=usr/share/man/man9s/usb_bulk_req_t.9s target=usb_bulk_req.9s
218link path=usr/share/man/man9s/usb_bulk_request.9s target=usb_bulk_req.9s
219file path=usr/share/man/man9s/usb_callback_flags.9s
220file path=usr/share/man/man9s/usb_cfg_descr.9s
221file path=usr/share/man/man9s/usb_client_dev_data.9s
222file path=usr/share/man/man9s/usb_completion_reason.9s
223file path=usr/share/man/man9s/usb_ctrl_req.9s
224link path=usr/share/man/man9s/usb_ctrl_req_t.9s target=usb_ctrl_req.9s
225link path=usr/share/man/man9s/usb_ctrl_request.9s target=usb_ctrl_req.9s
226file path=usr/share/man/man9s/usb_dev_descr.9s
227file path=usr/share/man/man9s/usb_dev_qlf_descr.9s
228file path=usr/share/man/man9s/usb_ep_descr.9s
229file path=usr/share/man/man9s/usb_ep_ss_comp_descr.9s
230link path=usr/share/man/man9s/usb_ep_ss_comp_descr_t.9s \
231    target=usb_ep_ss_comp_descr.9s
232file path=usr/share/man/man9s/usb_ep_xdescr.9s
233link path=usr/share/man/man9s/usb_ep_xdescr_t.9s target=usb_ep_xdescr.9s
234file path=usr/share/man/man9s/usb_if_descr.9s
235file path=usr/share/man/man9s/usb_intr_req.9s
236link path=usr/share/man/man9s/usb_intr_req_t.9s target=usb_intr_req.9s
237link path=usr/share/man/man9s/usb_intr_request.9s target=usb_intr_req.9s
238file path=usr/share/man/man9s/usb_isoc_req.9s
239link path=usr/share/man/man9s/usb_isoc_req_t.9s target=usb_isoc_req.9s
240link path=usr/share/man/man9s/usb_isoc_request.9s target=usb_isoc_req.9s
241file path=usr/share/man/man9s/usb_other_speed_cfg_descr.9s
242file path=usr/share/man/man9s/usb_request_attributes.9s
243file path=usr/share/man/man9s/usb_string_descr.9s
244file path=usr/share/man/man9s/usba_device.9s
245link path=usr/share/man/man9s/usba_device_t.9s target=usba_device.9s
246file path=usr/share/man/man9s/usba_hcdi_ops.9s
247link path=usr/share/man/man9s/usba_hcdi_ops_t.9s target=usba_hcdi_ops.9s
248file path=usr/share/man/man9s/usba_hcdi_register_args.9s
249link path=usr/share/man/man9s/usba_hcdi_register_args_t.9s \
250    target=usba_hcdi_register_args.9s
251file path=usr/share/man/man9s/usba_pipe_handle_data.9s
252link path=usr/share/man/man9s/usba_pipe_handle_data_t.9s \
253    target=usba_pipe_handle_data.9s
254driver name=ehci perms="* 0644 root sys" alias=pciclass,0c0320
255driver name=hid perms="* 0600 root sys" alias=usbif,class3
256driver name=hubd perms="* 0644 root sys" alias=usbif,class9
257driver name=ohci perms="* 0644 root sys" alias=pciclass,0c0310
258driver name=scsa2usb \
259    alias=usb584,222 \
260    alias=usbif,class8
261driver name=uhci perms="* 0644 root sys" alias=pciclass,0c0300
262driver name=usb_ac perms="* 0600 root sys" alias=usbif,class1.1
263driver name=usb_as perms="* 0600 root sys" alias=usbif,class1.2
264driver name=usb_ia alias=usb,ia
265driver name=usb_mid alias=usb,device
266driver name=usbprn perms="* 0666 root sys" alias=usbif,class7.1
267$(i386_ONLY)driver name=xhci perms="* 0644 root sys" alias=pciclass,0c0330
268legacy pkg=SUNWusb desc="USBA (USB framework) and USB Device Drivers" \
269    name="USB Device Drivers"
270license cr_Sun license=cr_Sun
271license lic_CDDL license=lic_CDDL
272license license_in_headers license=license_in_headers
273license usr/src/uts/common/sys/usb/hcd/xhci/THIRDPARTYLICENSE \
274    license=usr/src/uts/common/sys/usb/hcd/xhci/THIRDPARTYLICENSE
275