Print this page
LOCAL: expose mptsas leds as topo facilities - attempt 1


  98 #define TOPO_PGROUP_IO          "io"
  99 #define TOPO_IO_DEVTYPE         "devtype"
 100 #define TOPO_IO_DRIVER          "driver"
 101 #define TOPO_IO_MODULE          "module"
 102 #define TOPO_IO_DEV             "dev"
 103 #define TOPO_IO_DEVID           "devid"
 104 #define TOPO_IO_DEV_PATH        "devfs-path"
 105 #define TOPO_IO_AP_PATH         "ap-path"
 106 #define TOPO_IO_PHYS_PATH       "phys-path"
 107 
 108 #define TOPO_PGROUP_PCI         "pci"
 109 #define TOPO_PCI_VENDID         "vendor-id"
 110 #define TOPO_PCI_DEVID          "device-id"
 111 #define TOPO_PCI_EXCAP          "extended-capabilities"
 112 #define TOPO_PCI_BDF            "BDF"
 113 #define TOPO_PCI_CLASS          "class-code"
 114 #define TOPO_PCI_AADDR          "assigned-addresses"
 115 
 116 #define TOPO_PGROUP_BINDING     "binding"
 117 #define TOPO_BINDING_OCCUPANT   "occupant-path"




 118 
 119 #define TOPO_PGROUP_STORAGE     "storage"
 120 #define TOPO_STORAGE_INITIATOR_PORT     "initiator-port"
 121 #define TOPO_STORAGE_INITIATOR_PORT_PM  "initiator-port-pm"
 122 #define TOPO_STORAGE_TARGET_PORT        "target-port"
 123 #define TOPO_STORAGE_TARGET_PORT_L0ID   "target-port-l0id"
 124 #define TOPO_STORAGE_TARGET_PORT_L0IDS  "target-port-l0ids"
 125 #define TOPO_STORAGE_ATTACHED_PORT      "attached-port"
 126 #define TOPO_STORAGE_TARGET_PORT_PM     "target-port-pm"
 127 #define TOPO_STORAGE_ATTACHED_PORT_PM   "attached-port-pm"
 128 #define TOPO_STORAGE_DEVID              "devid"
 129 #define TOPO_STORAGE_LUN64              "lun64"
 130 #define TOPO_STORAGE_DEVICE_TYPE        "inquiry-device-type"
 131 #define TOPO_STORAGE_MANUFACTURER       "manufacturer"
 132 #define TOPO_STORAGE_MODEL              "model"
 133 #define TOPO_STORAGE_FIRMWARE_REV       "firmware-revision"
 134 #define TOPO_STORAGE_SAS_PHY_MASK       "receptacle-pm"
 135 #define TOPO_STORAGE_SAS_CONNECTOR_TYPE "sas-connector-type"
 136 
 137 #define TOPO_PGROUP_SES         "ses"




  98 #define TOPO_PGROUP_IO          "io"
  99 #define TOPO_IO_DEVTYPE         "devtype"
 100 #define TOPO_IO_DRIVER          "driver"
 101 #define TOPO_IO_MODULE          "module"
 102 #define TOPO_IO_DEV             "dev"
 103 #define TOPO_IO_DEVID           "devid"
 104 #define TOPO_IO_DEV_PATH        "devfs-path"
 105 #define TOPO_IO_AP_PATH         "ap-path"
 106 #define TOPO_IO_PHYS_PATH       "phys-path"
 107 
 108 #define TOPO_PGROUP_PCI         "pci"
 109 #define TOPO_PCI_VENDID         "vendor-id"
 110 #define TOPO_PCI_DEVID          "device-id"
 111 #define TOPO_PCI_EXCAP          "extended-capabilities"
 112 #define TOPO_PCI_BDF            "BDF"
 113 #define TOPO_PCI_CLASS          "class-code"
 114 #define TOPO_PCI_AADDR          "assigned-addresses"
 115 
 116 #define TOPO_PGROUP_BINDING     "binding"
 117 #define TOPO_BINDING_OCCUPANT   "occupant-path"
 118 #define TOPO_BINDING_DRIVER     "driver"
 119 #define TOPO_BINDING_DEVCTL     "devctl"
 120 #define TOPO_BINDING_ENCLOSURE  "enclosure"
 121 #define TOPO_BINDING_SLOT       "slot"
 122 
 123 #define TOPO_PGROUP_STORAGE     "storage"
 124 #define TOPO_STORAGE_INITIATOR_PORT     "initiator-port"
 125 #define TOPO_STORAGE_INITIATOR_PORT_PM  "initiator-port-pm"
 126 #define TOPO_STORAGE_TARGET_PORT        "target-port"
 127 #define TOPO_STORAGE_TARGET_PORT_L0ID   "target-port-l0id"
 128 #define TOPO_STORAGE_TARGET_PORT_L0IDS  "target-port-l0ids"
 129 #define TOPO_STORAGE_ATTACHED_PORT      "attached-port"
 130 #define TOPO_STORAGE_TARGET_PORT_PM     "target-port-pm"
 131 #define TOPO_STORAGE_ATTACHED_PORT_PM   "attached-port-pm"
 132 #define TOPO_STORAGE_DEVID              "devid"
 133 #define TOPO_STORAGE_LUN64              "lun64"
 134 #define TOPO_STORAGE_DEVICE_TYPE        "inquiry-device-type"
 135 #define TOPO_STORAGE_MANUFACTURER       "manufacturer"
 136 #define TOPO_STORAGE_MODEL              "model"
 137 #define TOPO_STORAGE_FIRMWARE_REV       "firmware-revision"
 138 #define TOPO_STORAGE_SAS_PHY_MASK       "receptacle-pm"
 139 #define TOPO_STORAGE_SAS_CONNECTOR_TYPE "sas-connector-type"
 140 
 141 #define TOPO_PGROUP_SES         "ses"