xref: /titanic_52/usr/src/lib/cfgadm_plugins/pci/pci.xcl (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# CDDL HEADER START
3*7c478bd9Sstevel@tonic-gate#
4*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
6*7c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
7*7c478bd9Sstevel@tonic-gate# with the License.
8*7c478bd9Sstevel@tonic-gate#
9*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
11*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
12*7c478bd9Sstevel@tonic-gate# and limitations under the License.
13*7c478bd9Sstevel@tonic-gate#
14*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
15*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
17*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
18*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
19*7c478bd9Sstevel@tonic-gate#
20*7c478bd9Sstevel@tonic-gate# CDDL HEADER END
21*7c478bd9Sstevel@tonic-gate#
22*7c478bd9Sstevel@tonic-gate#
23*7c478bd9Sstevel@tonic-gate# Copyright (c) 1999 by Sun Microsystems, Inc.
24*7c478bd9Sstevel@tonic-gate# All rights reserved.
25*7c478bd9Sstevel@tonic-gate#
26*7c478bd9Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
27*7c478bd9Sstevel@tonic-gate#
28*7c478bd9Sstevel@tonic-gate# lib/cfgadm_plugins/pci/pci.xcl
29*7c478bd9Sstevel@tonic-gate#
30*7c478bd9Sstevel@tonic-gatemsgid  "acquire "
31*7c478bd9Sstevel@tonic-gatemsgid  "get-status "
32*7c478bd9Sstevel@tonic-gatemsgid  "list "
33*7c478bd9Sstevel@tonic-gatemsgid  "connect "
34*7c478bd9Sstevel@tonic-gatemsgid  "disconnect "
35*7c478bd9Sstevel@tonic-gatemsgid  "configure "
36*7c478bd9Sstevel@tonic-gatemsgid  "unconfigure "
37*7c478bd9Sstevel@tonic-gatemsgid  "insert "
38*7c478bd9Sstevel@tonic-gatemsgid  "remove "
39*7c478bd9Sstevel@tonic-gatemsgid  "open "
40*7c478bd9Sstevel@tonic-gatemsgid  "fstat "
41*7c478bd9Sstevel@tonic-gatemsgid  "\t-c [connect|disconnect|configure|unconfigure|insert|remove] "
42*7c478bd9Sstevel@tonic-gate       "ap_id [ap_id...]"
43*7c478bd9Sstevel@tonic-gatemsgid  "\t-x enable_slot  ap_id [ap_id...]"
44*7c478bd9Sstevel@tonic-gatemsgid  "\t-x disable_slot ap_id [ap_id...]"
45*7c478bd9Sstevel@tonic-gatemsgid  "\t-x enable_autoconfig  ap_id [ap_id...]"
46*7c478bd9Sstevel@tonic-gatemsgid  "\t-x disable_autoconfig ap_id [ap_id...]"
47*7c478bd9Sstevel@tonic-gatemsgid  "\t-x led[=[fault|power|active|attn],mode=[on|off|blink]] ap_id [ap_id...]"
48*7c478bd9Sstevel@tonic-gatemsgid  "unknown"
49*7c478bd9Sstevel@tonic-gatemsgid  "SCSI"
50*7c478bd9Sstevel@tonic-gatemsgid  "IDE"
51*7c478bd9Sstevel@tonic-gatemsgid  "FlpyDisk"
52*7c478bd9Sstevel@tonic-gatemsgid  "IPI"
53*7c478bd9Sstevel@tonic-gatemsgid  "RAID"
54*7c478bd9Sstevel@tonic-gatemsgid  "MassStrg"
55*7c478bd9Sstevel@tonic-gatemsgid  "Ethernet"
56*7c478bd9Sstevel@tonic-gatemsgid  "TokenRg"
57*7c478bd9Sstevel@tonic-gatemsgid  "FDDI"
58*7c478bd9Sstevel@tonic-gatemsgid  "ATM"
59*7c478bd9Sstevel@tonic-gatemsgid  "Network"
60*7c478bd9Sstevel@tonic-gatemsgid  "VGA8514"
61*7c478bd9Sstevel@tonic-gatemsgid  "xGA"
62*7c478bd9Sstevel@tonic-gatemsgid  "Display"
63*7c478bd9Sstevel@tonic-gatemsgid  "Vedio"
64*7c478bd9Sstevel@tonic-gatemsgid  "Audio"
65*7c478bd9Sstevel@tonic-gatemsgid  "MultiMda"
66*7c478bd9Sstevel@tonic-gatemsgid  "Ram"
67*7c478bd9Sstevel@tonic-gatemsgid  "Flash"
68*7c478bd9Sstevel@tonic-gatemsgid  "Memory"
69*7c478bd9Sstevel@tonic-gatemsgid  "Host-PCI"
70*7c478bd9Sstevel@tonic-gatemsgid  "PCI-ISA"
71*7c478bd9Sstevel@tonic-gatemsgid  "PCI-EISA"
72*7c478bd9Sstevel@tonic-gatemsgid  "PCI-MC"
73*7c478bd9Sstevel@tonic-gatemsgid  "PCI-PCI"
74*7c478bd9Sstevel@tonic-gatemsgid  "PCI-MCIA"
75*7c478bd9Sstevel@tonic-gatemsgid  "PCI-NuBs"
76*7c478bd9Sstevel@tonic-gatemsgid  "PCI-Card"
77*7c478bd9Sstevel@tonic-gatemsgid  "Bridge"
78*7c478bd9Sstevel@tonic-gatemsgid  "???"
79*7c478bd9Sstevel@tonic-gatemsgid  "HP"
80*7c478bd9Sstevel@tonic-gatemsgid  "NHS"
81*7c478bd9Sstevel@tonic-gatemsgid  "BHS"
82*7c478bd9Sstevel@tonic-gatemsgid  "FHS"
83*7c478bd9Sstevel@tonic-gatemsgid  "HS"
84*7c478bd9Sstevel@tonic-gatemsgid  "enable_slot"
85*7c478bd9Sstevel@tonic-gatemsgid  "disable_slot"
86*7c478bd9Sstevel@tonic-gatemsgid  "enable_autoconfig"
87*7c478bd9Sstevel@tonic-gatemsgid  "disable_autoconfig"
88*7c478bd9Sstevel@tonic-gatemsgid  "led"
89*7c478bd9Sstevel@tonic-gatemsgid  "mode"
90*7c478bd9Sstevel@tonic-gatemsgid  "fault"
91*7c478bd9Sstevel@tonic-gatemsgid  "power"
92*7c478bd9Sstevel@tonic-gatemsgid  "attn"
93*7c478bd9Sstevel@tonic-gatemsgid  "active"
94*7c478bd9Sstevel@tonic-gatemsgid  "off"
95*7c478bd9Sstevel@tonic-gatemsgid  "on"
96*7c478bd9Sstevel@tonic-gatemsgid  "blink"
97*7c478bd9Sstevel@tonic-gatemsgid  "slot"
98*7c478bd9Sstevel@tonic-gatemsgid  "ap_idx(%s)\n"
99*7c478bd9Sstevel@tonic-gatemsgid  "<%d>"
100*7c478bd9Sstevel@tonic-gatemsgid  "%s"
101*7c478bd9Sstevel@tonic-gatemsgid  "cfga_change_state:(%s)\n"
102*7c478bd9Sstevel@tonic-gatemsgid  "cfga_change_state: device is busy\n"
103*7c478bd9Sstevel@tonic-gatemsgid  "cfga_change_state: devctl ap getstate failed\n"
104*7c478bd9Sstevel@tonic-gatemsgid  "cfga_change_state: rs is %d\n"
105*7c478bd9Sstevel@tonic-gatemsgid  "cfga_change_state: os is %d\n"
106*7c478bd9Sstevel@tonic-gatemsgid  "malloc failed\n"
107*7c478bd9Sstevel@tonic-gatemsgid  "prt_led_mod function\n"
108*7c478bd9Sstevel@tonic-gatemsgid  "Ap_Id\t\t\tLed\n"
109*7c478bd9Sstevel@tonic-gatemsgid  "open = ap_id%s, fd%d\n"
110*7c478bd9Sstevel@tonic-gatemsgid  "open on %s failed\n"
111*7c478bd9Sstevel@tonic-gatemsgid  "fstat = ap_id%s, fd%d\n"
112*7c478bd9Sstevel@tonic-gatemsgid  "fstat on %s failed\n"
113*7c478bd9Sstevel@tonic-gatemsgid  "malloc "
114*7c478bd9Sstevel@tonic-gatemsgid  "%s\t\t"
115*7c478bd9Sstevel@tonic-gatemsgid  "%s=%s,"
116*7c478bd9Sstevel@tonic-gate# msgid  "%s=%s,"
117*7c478bd9Sstevel@tonic-gate# msgstr
118*7c478bd9Sstevel@tonic-gatemsgid  "%s:%d\n"
119*7c478bd9Sstevel@tonic-gate# msgid  "%s=%s,"
120*7c478bd9Sstevel@tonic-gate# msgstr
121*7c478bd9Sstevel@tonic-gate# msgid  "%s=%s,"
122*7c478bd9Sstevel@tonic-gate# msgstr
123*7c478bd9Sstevel@tonic-gate# msgid  "%s:%d\n"
124*7c478bd9Sstevel@tonic-gate# msgstr
125*7c478bd9Sstevel@tonic-gate# msgid  "%s=%s,"
126*7c478bd9Sstevel@tonic-gate# msgstr
127*7c478bd9Sstevel@tonic-gate# msgid  "%s=%s,"
128*7c478bd9Sstevel@tonic-gate# msgstr
129*7c478bd9Sstevel@tonic-gate# msgid  "%s:%d\n"
130*7c478bd9Sstevel@tonic-gate# msgstr
131*7c478bd9Sstevel@tonic-gate# msgid  "%s=%s,"
132*7c478bd9Sstevel@tonic-gate# msgstr
133*7c478bd9Sstevel@tonic-gatemsgid  "%s=%s\n"
134*7c478bd9Sstevel@tonic-gate# msgid  "%s:%d\n"
135*7c478bd9Sstevel@tonic-gate# msgstr
136*7c478bd9Sstevel@tonic-gatemsgid  "cfgadm_private_func: ap_id:%s\n"
137*7c478bd9Sstevel@tonic-gatemsgid  "  options: %s\n"
138*7c478bd9Sstevel@tonic-gatemsgid  "null"
139*7c478bd9Sstevel@tonic-gatemsgid  "  confp: %x\n"
140*7c478bd9Sstevel@tonic-gatemsgid  "  cfga_msg: %x\n"
141*7c478bd9Sstevel@tonic-gatemsgid  "  flag: %d\n"
142*7c478bd9Sstevel@tonic-gatemsgid  "%c\n"
143*7c478bd9Sstevel@tonic-gatemsgid  "buf = %s\n"
144*7c478bd9Sstevel@tonic-gatemsgid  "buf_mode= %s\n"
145*7c478bd9Sstevel@tonic-gatemsgid  "Print mode\n"
146*7c478bd9Sstevel@tonic-gatemsgid  "default\n"
147*7c478bd9Sstevel@tonic-gatemsgid  "open"
148*7c478bd9Sstevel@tonic-gatemsgid  "open = ap_id=%s, fd=%d\n"
149*7c478bd9Sstevel@tonic-gatemsgid  "ioctl"
150*7c478bd9Sstevel@tonic-gatemsgid  "cfga_test:(%s)\n"
151*7c478bd9Sstevel@tonic-gatemsgid  "/devices%s:%s"
152*7c478bd9Sstevel@tonic-gatemsgid  "slot-names"
153*7c478bd9Sstevel@tonic-gatemsgid  "di_prom_prop_lookup_ints"
154*7c478bd9Sstevel@tonic-gatemsgid  "slot-names:"
155*7c478bd9Sstevel@tonic-gate       " %s \n"
156*7c478bd9Sstevel@tonic-gatemsgid  "/"
157*7c478bd9Sstevel@tonic-gatemsgid  "di_init() failed\n"
158*7c478bd9Sstevel@tonic-gatemsgid  "di_prom_init() failed\n"
159*7c478bd9Sstevel@tonic-gatemsgid  "ddi_ctl:attachment_point:pci"
160*7c478bd9Sstevel@tonic-gate# msgid  "unknown"
161*7c478bd9Sstevel@tonic-gate# msgstr
162*7c478bd9Sstevel@tonic-gatemsgid  "MULT"
163*7c478bd9Sstevel@tonic-gate# msgid  "/"
164*7c478bd9Sstevel@tonic-gate# msgstr
165*7c478bd9Sstevel@tonic-gatemsgid  "cfga_stat:(%d)\n"
166*7c478bd9Sstevel@tonic-gatemsgid  "cfga_stat:(devctl_ap_acquire())\n"
167*7c478bd9Sstevel@tonic-gatemsgid  "cfga_stat:(devctl_ap_getstate())\n"
168*7c478bd9Sstevel@tonic-gatemsgid  "ap_rstate = CFGA_STAT_EMPTY\n"
169*7c478bd9Sstevel@tonic-gatemsgid  "ap_rstate = CFGA_STAT_DISCONNECTED\n"
170*7c478bd9Sstevel@tonic-gatemsgid  "ap_rstate = CFGA_STAT_CONNECTED\n"
171*7c478bd9Sstevel@tonic-gatemsgid  "ap_ostate = CFGA_STAT_CONFIGURED\n"
172*7c478bd9Sstevel@tonic-gatemsgid  "ap_ostate = CFGA_STAT_UNCONFIGURED\n"
173*7c478bd9Sstevel@tonic-gatemsgid  "ap_cond = CFGA_COND_OK\n"
174*7c478bd9Sstevel@tonic-gatemsgid  "ap_cond = CFGA_COND_FAILING\n"
175*7c478bd9Sstevel@tonic-gatemsgid  "ap_cond = CFGA_COND_FAILED\n"
176*7c478bd9Sstevel@tonic-gatemsgid  "ap_cond = CFGA_COND_UNUSABLE\n"
177*7c478bd9Sstevel@tonic-gatemsgid  "ap_cond = CFGA_COND_UNKNOW\n"
178*7c478bd9Sstevel@tonic-gate# msgid  "open on %s failed\n"
179*7c478bd9Sstevel@tonic-gate# msgstr
180*7c478bd9Sstevel@tonic-gate# msgid  "open = ap_id=%s, fd=%d\n"
181*7c478bd9Sstevel@tonic-gate# msgstr
182*7c478bd9Sstevel@tonic-gate# msgid  "fstat on %s failed\n"
183*7c478bd9Sstevel@tonic-gate# msgstr
184*7c478bd9Sstevel@tonic-gatemsgid  "ioctl boardtype\n"
185*7c478bd9Sstevel@tonic-gatemsgid  "ioctl slotinfo\n"
186*7c478bd9Sstevel@tonic-gatemsgid  "ioctl cardinfo: %d\n"
187*7c478bd9Sstevel@tonic-gatemsgid  "ioctl subclass: %d\n"
188*7c478bd9Sstevel@tonic-gatemsgid  "ioctl headertype: %d\n"
189*7c478bd9Sstevel@tonic-gate# msgid  "malloc "
190*7c478bd9Sstevel@tonic-gate# msgstr
191*7c478bd9Sstevel@tonic-gate# msgid  "malloc failed\n"
192*7c478bd9Sstevel@tonic-gate# msgstr
193*7c478bd9Sstevel@tonic-gatemsgid  "cfga_stat return success\n"
194*7c478bd9Sstevel@tonic-gatemsgid  "cfga_list:(%s)\n"
195*7c478bd9Sstevel@tonic-gatemsgid  "cfga_help\n"
196*7c478bd9Sstevel@tonic-gatemsgid  "<%s>"
197*7c478bd9Sstevel@tonic-gate# msgid  "<%s>"
198*7c478bd9Sstevel@tonic-gate# msgstr
199*7c478bd9Sstevel@tonic-gate# msgid  "<%s>"
200*7c478bd9Sstevel@tonic-gate# msgstr
201*7c478bd9Sstevel@tonic-gate# msgid  "<%s>"
202*7c478bd9Sstevel@tonic-gate# msgstr
203*7c478bd9Sstevel@tonic-gatemsgid  "\n"
204*7c478bd9Sstevel@tonic-gatemsgid  "i:%d, %s\n"
205*7c478bd9Sstevel@tonic-gatemsgid  "%s\n"
206