Print this page
OS-1996 mpt_sas: allow physical topology enumeration in libtopo
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>

@@ -20,10 +20,13 @@
  */
 
 /*
  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  */
+/*
+ * Copyright (c) 2013, Joyent, Inc.  All rights reserved.
+ */
 
 #ifndef _DISK_H
 #define _DISK_H
 
 #include <fm/topo_mod.h>

@@ -52,10 +55,19 @@
  * Properties for binding group: The binding group required in platform
  * specific xml that describes 'bay' nodes containing internal disks.
  */
 #define TOPO_PGROUP_BINDING             "binding"
 #define TOPO_BINDING_OCCUPANT           "occupant-path"
+#define TOPO_BINDING_DRIVER             "driver"
+
+/*
+ * The binding group required in platform specific xml that describes 'bay'
+ * nodes containing disks attached to an HBA using the 'mpt_sas' driver.
+ */
+#define TOPO_BINDING_DEVCTL             "devctl"
+#define TOPO_BINDING_ENCLOSURE          "enclosure"
+#define TOPO_BINDING_SLOT               "slot"
 
 /*
  * device node information.
  */
 typedef struct dev_di_node {