Print this page
4018 mpt_sas: allow physical topology enumeration in libtopo
4019 mpt_sas: expose LED controls to libtopo
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: Albert Lee <trisk@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/topo/libtopo/common/topo_hc.h
          +++ new/usr/src/lib/fm/topo/libtopo/common/topo_hc.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
       24 + * Copyright (c) 2013, Joyent, Inc. All rights reserved.
  24   25   */
  25   26  
  26   27  #ifndef _TOPO_HC_H
  27   28  #define _TOPO_HC_H
  28   29  
  29   30  #ifdef  __cplusplus
  30   31  extern "C" {
  31   32  #endif
  32   33  
  33   34  /*
↓ open down ↓ 74 lines elided ↑ open up ↑
 108  109  #define TOPO_PGROUP_PCI         "pci"
 109  110  #define TOPO_PCI_VENDID         "vendor-id"
 110  111  #define TOPO_PCI_DEVID          "device-id"
 111  112  #define TOPO_PCI_EXCAP          "extended-capabilities"
 112  113  #define TOPO_PCI_BDF            "BDF"
 113  114  #define TOPO_PCI_CLASS          "class-code"
 114  115  #define TOPO_PCI_AADDR          "assigned-addresses"
 115  116  
 116  117  #define TOPO_PGROUP_BINDING     "binding"
 117  118  #define TOPO_BINDING_OCCUPANT   "occupant-path"
      119 +#define TOPO_BINDING_DRIVER     "driver"
      120 +#define TOPO_BINDING_DEVCTL     "devctl"
      121 +#define TOPO_BINDING_ENCLOSURE  "enclosure"
      122 +#define TOPO_BINDING_SLOT       "slot"
 118  123  
 119  124  #define TOPO_PGROUP_STORAGE     "storage"
 120  125  #define TOPO_STORAGE_INITIATOR_PORT     "initiator-port"
 121  126  #define TOPO_STORAGE_INITIATOR_PORT_PM  "initiator-port-pm"
 122  127  #define TOPO_STORAGE_TARGET_PORT        "target-port"
 123  128  #define TOPO_STORAGE_TARGET_PORT_L0ID   "target-port-l0id"
 124  129  #define TOPO_STORAGE_TARGET_PORT_L0IDS  "target-port-l0ids"
 125  130  #define TOPO_STORAGE_ATTACHED_PORT      "attached-port"
 126  131  #define TOPO_STORAGE_TARGET_PORT_PM     "target-port-pm"
 127  132  #define TOPO_STORAGE_ATTACHED_PORT_PM   "attached-port-pm"
↓ open down ↓ 36 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX