1*0Sstevel@tonic-gate# 2*0Sstevel@tonic-gate# CDDL HEADER START 3*0Sstevel@tonic-gate# 4*0Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*0Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only 6*0Sstevel@tonic-gate# (the "License"). You may not use this file except in compliance 7*0Sstevel@tonic-gate# with the License. 8*0Sstevel@tonic-gate# 9*0Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*0Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 11*0Sstevel@tonic-gate# See the License for the specific language governing permissions 12*0Sstevel@tonic-gate# and limitations under the License. 13*0Sstevel@tonic-gate# 14*0Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 15*0Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*0Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 17*0Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 18*0Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 19*0Sstevel@tonic-gate# 20*0Sstevel@tonic-gate# CDDL HEADER END 21*0Sstevel@tonic-gate# 22*0Sstevel@tonic-gate# 23*0Sstevel@tonic-gate# Copyright (c) 2001 by Sun Microsystems, Inc. 24*0Sstevel@tonic-gate# All rights reserved. 25*0Sstevel@tonic-gate# 26*0Sstevel@tonic-gate#pragma ident "%Z%%M% %I% %E% SMI" 27*0Sstevel@tonic-gate# 28*0Sstevel@tonic-gate# lib/cfgadm_plugins/usb/usb.xcl 29*0Sstevel@tonic-gate# 30*0Sstevel@tonic-gatemsgid "usb_get_conf_rec:\n" 31*0Sstevel@tonic-gatemsgstr 32*0Sstevel@tonic-gatemsgid "usb_cmp_rec:\n" 33*0Sstevel@tonic-gatemsgstr 34*0Sstevel@tonic-gatemsgid "add_entry: driver=%s, path=%s\n" 35*0Sstevel@tonic-gatemsgstr 36*0Sstevel@tonic-gatemsgid "add_entry: failed to open config file\n" 37*0Sstevel@tonic-gatemsgstr 38*0Sstevel@tonic-gatemsgid "add_entry: failed to fstat config file\n" 39*0Sstevel@tonic-gatemsgstr 40*0Sstevel@tonic-gatemsgid "add_entry: failed to read config file\n" 41*0Sstevel@tonic-gatemsgstr 42*0Sstevel@tonic-gatemsgid "add_entry: token=%x, found=%x\n" 43*0Sstevel@tonic-gatemsgstr 44*0Sstevel@tonic-gatemsgid "FOUND\n" 45*0Sstevel@tonic-gatemsgstr 46*0Sstevel@tonic-gatemsgid "open failed" 47*0Sstevel@tonic-gatemsgstr 48*0Sstevel@tonic-gatemsgid "add_entry: failed to lseek config file\n" 49*0Sstevel@tonic-gatemsgstr 50*0Sstevel@tonic-gatemsgid "add_entry: failed to write config file\n" 51*0Sstevel@tonic-gatemsgstr 52*0Sstevel@tonic-gatemsgid "selection=%s idVendor=%d idProduct=%d " 53*0Sstevel@tonic-gatemsgstr 54*0Sstevel@tonic-gatemsgid "add_entry: failed to lseek config file\n" 55*0Sstevel@tonic-gatemsgstr 56*0Sstevel@tonic-gatemsgid "add_entry: failed to write config file\n" 57*0Sstevel@tonic-gatemsgstr 58*0Sstevel@tonic-gatemsgid ""add_entry: failed to write config file\n" 59*0Sstevel@tonic-gatemsgstr 60*0Sstevel@tonic-gatemsgid "!FOUND\n" 61*0Sstevel@tonic-gatemsgstr 62*0Sstevel@tonic-gatemsgid "usb_rcm_offline:\n" 63*0Sstevel@tonic-gatemsgstr 64*0Sstevel@tonic-gatemsgid "usb_rcm_offline: rsrc_fixed: %s\n" 65*0Sstevel@tonic-gatemsgstr 66*0Sstevel@tonic-gatemsgid "usb_rcm_offline: rcm_request_offline failed\n" 67*0Sstevel@tonic-gatemsgstr 68*0Sstevel@tonic-gatemsgid "usb_rcm_offline: table = %s\n" 69*0Sstevel@tonic-gatemsgstr 70*0Sstevel@tonic-gatemsgid "usb_rcm_online:\n" 71*0Sstevel@tonic-gatemsgstr 72*0Sstevel@tonic-gatemsgid "usb_rcm_online: rcm_notify_online failed\n" 73*0Sstevel@tonic-gatemsgstr 74*0Sstevel@tonic-gatemsgid "usb_rcm_remove:\n" 75*0Sstevel@tonic-gatemsgstr 76*0Sstevel@tonic-gatemsgid "usb_rcm_remove: rcm_notify_remove failed\n" 77*0Sstevel@tonic-gatemsgstr 78*0Sstevel@tonic-gatemsgid "usb_rcm_init:\n" 79*0Sstevel@tonic-gatemsgstr 80*0Sstevel@tonic-gatemsgid "usb_rcm_init: rsrc is NULL\n" 81*0Sstevel@tonic-gatemsgstr 82*0Sstevel@tonic-gatemsgid "usb_rcm_init: alloc_handle failed\n" 83*0Sstevel@tonic-gatemsgstr 84*0Sstevel@tonic-gatemsgid "usb_rcm_info_table:\n" 85*0Sstevel@tonic-gatemsgstr 86*0Sstevel@tonic-gatemsgid "usb_rcm_info_table: no tuples\n" 87*0Sstevel@tonic-gatemsgstr 88*0Sstevel@tonic-gatemsgid "usb_rcm_info_table: no table\n" 89*0Sstevel@tonic-gatemsgstr 90*0Sstevel@tonic-gatemsgid "\n" 91*0Sstevel@tonic-gatemsgstr 92*0Sstevel@tonic-gatemsgid "%%-%ds %%-%ds" 93*0Sstevel@tonic-gatemsgstr 94*0Sstevel@tonic-gatemsgid "/devices" 95*0Sstevel@tonic-gatemsgstr 96*0Sstevel@tonic-gatemsgid "get_error_msg: bad error msg index: %d\n" 97*0Sstevel@tonic-gatemsgstr 98*0Sstevel@tonic-gatemsgid "set_msg: realloc failed.\n" 99*0Sstevel@tonic-gatemsgstr 100*0Sstevel@tonic-gatemsgid "ap_id: " 101*0Sstevel@tonic-gatemsgstr 102*0Sstevel@tonic-gatemsgid "usb_err_msg: Unrecognized message index: %d\n" 103*0Sstevel@tonic-gatemsgstr 104*0Sstevel@tonic-gatemsgid "0123456789." 105*0Sstevel@tonic-gatemsgstr 106*0Sstevel@tonic-gatemsgid "verify_params: hardware-specific options not " 107*0Sstevel@tonic-gate "supported.\n" 108*0Sstevel@tonic-gatemsgstr 109*0Sstevel@tonic-gatemsgid "verify_params: dynamic ap_id passed\n" 110*0Sstevel@tonic-gatemsgstr 111*0Sstevel@tonic-gatemsgid "setup_for_devctl_cmd: devctl_ap_acquire failed with " 112*0Sstevel@tonic-gate "errno: %d\n" 113*0Sstevel@tonic-gatemsgstr 114*0Sstevel@tonic-gatemsgid "setup_for_devctl: nvlist_alloc failed, errno: %d\n" 115*0Sstevel@tonic-gatemsgstr 116*0Sstevel@tonic-gatemsgid "setup_for_devctl_cmd: get_port_num, errno: %d\n" 117*0Sstevel@tonic-gatemsgstr 118*0Sstevel@tonic-gatemsgid "setup_for_devctl_cmd: nvlist_add_int32 failed. " 119*0Sstevel@tonic-gate "errno: %d\n" 120*0Sstevel@tonic-gatemsgstr 121*0Sstevel@tonic-gatemsgid "device_configured:\n" 122*0Sstevel@tonic-gatemsgstr 123*0Sstevel@tonic-gatemsgid "devctl_ap_getstate failed, errno: %d\n" 124*0Sstevel@tonic-gatemsgstr 125*0Sstevel@tonic-gatemsgid "device_connected:\n" 126*0Sstevel@tonic-gatemsgstr 127*0Sstevel@tonic-gatemsgid "set_configuration: ap_id: %s, config:%d\n" 128*0Sstevel@tonic-gatemsgstr 129*0Sstevel@tonic-gatemsgid "device supports %d configurations\n" 130*0Sstevel@tonic-gatemsgstr 131*0Sstevel@tonic-gatemsgid "set_configuration: get serial " 132*0Sstevel@tonic-gate "no string failed\n" 133*0Sstevel@tonic-gatemsgstr 134*0Sstevel@tonic-gatemsgid "get device path failed\n" 135*0Sstevel@tonic-gatemsgstr 136*0Sstevel@tonic-gatemsgid "calling add_entry: vid: 0x%x pid:0x%x config:0x%x," 137*0Sstevel@tonic-gatemsgstr 138*0Sstevel@tonic-gatemsgid "serial_no: %s\n\tdev_path: %s\n\tdriver: %s\n" 139*0Sstevel@tonic-gatemsgstr 140*0Sstevel@tonic-gatemsgid "set_configuration: HUBD_REFRESH_DEVDB failed\n" 141*0Sstevel@tonic-gatemsgstr 142*0Sstevel@tonic-gatemsgid "get_config: get current config descr failed\n" 143*0Sstevel@tonic-gatemsgstr 144*0Sstevel@tonic-gatemsgid "reset_device: \n" 145*0Sstevel@tonic-gatemsgstr 146*0Sstevel@tonic-gatemsgid "devctl_ap_getstate failed. errno: %d\n" 147*0Sstevel@tonic-gatemsgstr 148*0Sstevel@tonic-gatemsgid "devctl_ap_unconfigure failed, errno: %d\n" 149*0Sstevel@tonic-gatemsgstr 150*0Sstevel@tonic-gatemsgid " devctl_ap_configure failed, errno = %d\n" 151*0Sstevel@tonic-gatemsgstr 152*0Sstevel@tonic-gatemsgid "fill_in_ap_info:\n" 153*0Sstevel@tonic-gatemsgstr 154*0Sstevel@tonic-gatemsgid "fill_in_ap_info: get dev descr failed\n" 155*0Sstevel@tonic-gatemsgstr 156*0Sstevel@tonic-gatemsgid "get iManufacturer failed\n" 157*0Sstevel@tonic-gatemsgstr 158*0Sstevel@tonic-gatemsgid "getting iProduct failed\\n" 159*0Sstevel@tonic-gatemsgstr 160*0Sstevel@tonic-gatemsgid "get string descr failed\n" 161*0Sstevel@tonic-gatemsgstr 162*0Sstevel@tonic-gatemsgid "get_config failed\n" 163*0Sstevel@tonic-gatemsgstr 164*0Sstevel@tonic-gatemsgid "HUBD_CFG_DESCR_STR failed\n" 165*0Sstevel@tonic-gatemsgstr 166*0Sstevel@tonic-gatemsgid "cfga_change_state: get device " 167*0Sstevel@tonic-gate "path failed i = %d\n" 168*0Sstevel@tonic-gatemsgstr 169*0Sstevel@tonic-gatemsgid "Unconfigure" 170*0Sstevel@tonic-gatemsgstr 171*0Sstevel@tonic-gatemsgid "Unconfigure %s%s\n%s" 172*0Sstevel@tonic-gatemsgstr 173*0Sstevel@tonic-gatemsgid "cfga_change_state: get device path failed\n" 174*0Sstevel@tonic-gatemsgstr 175*0Sstevel@tonic-gatemsgid "cfga_change_state: devctl_ap_unconfigure " 176*0Sstevel@tonic-gate "failed with errno: %d\n" 177*0Sstevel@tonic-gatemsgstr 178*0Sstevel@tonic-gatemsgid "Disconnect" 179*0Sstevel@tonic-gatemsgstr 180*0Sstevel@tonic-gatemsgid "Disconnect %s%s\n%s" 181*0Sstevel@tonic-gatemsgstr 182*0Sstevel@tonic-gatemsgid "cfga_change_state: devctl_ap_disconnect " 183*0Sstevel@tonic-gate "failed with errno: %d\n" 184*0Sstevel@tonic-gatemsgstr 185*0Sstevel@tonic-gatemsgid "Reset %s%s\n%s" 186*0Sstevel@tonic-gatemsgstr 187*0Sstevel@tonic-gatemsgid "cfga_private_func: \"config\" not passed\n" 188*0Sstevel@tonic-gatemsgstr 189*0Sstevel@tonic-gatemsgid "cfg = %s\n" 190*0Sstevel@tonic-gatemsgstr 191*0Sstevel@tonic-gatemsgid "config = %x\n" 192*0Sstevel@tonic-gatemsgstr 193*0Sstevel@tonic-gatemsgid "driver = %s\n" 194*0Sstevel@tonic-gatemsgstr 195*0Sstevel@tonic-gatemsgid "Setting %s%s\nto USB configuration %d\n%s" 196*0Sstevel@tonic-gatemsgstr 197*0Sstevel@tonic-gatemsgid "cfga_list_ext: list = NULL or nlistp = NULL\n" 198*0Sstevel@tonic-gatemsgstr 199*0Sstevel@tonic-gatemsgid "cfga_list_ext: devctl_ap_getstate failed. errno: %d\n" 200*0Sstevel@tonic-gatemsgstr 201*0Sstevel@tonic-gatemsgid "cfga_list_ext: devlink doesn't contain /dev/cfg\n" 202*0Sstevel@tonic-gatemsgstr 203*0Sstevel@tonic-gatemsgid "usb-" 204*0Sstevel@tonic-gatemsgstr 205*0Sstevel@tonic-gatemsgid "cfga_msg: msg\n" 206*0Sstevel@tonic-gatemsgstr 207*0Sstevel@tonic-gatemsgid "cfga_msg: null str\n" 208*0Sstevel@tonic-gatemsgstr 209*0Sstevel@tonic-gatemsgid "cfga_msg: null q\n" 210*0Sstevel@tonic-gatemsgstr 211*0Sstevel@tonic-gatemsgid "cfga_help:\n" 212*0Sstevel@tonic-gatemsgstr 213*0Sstevel@tonic-gatemsgid "usb_confirm: %d\n" 214*0Sstevel@tonic-gatemsgstr 215*0Sstevel@tonic-gatemsgid "usb_get_devicepath: get device path ioctl ok\n" 216*0Sstevel@tonic-gatemsgstr 217*0Sstevel@tonic-gatemsgid "usb_get_devicepath: get device path ioctl failed\n" 218*0Sstevel@tonic-gatemsgstr 219