Print this page
4233 mptsas topo change buffer overflow

@@ -19,10 +19,11 @@
  * CDDL HEADER END
  */
 
 /*
  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
  */
 
 /*
  * SM-HBA interfaces/definitions for MPT SAS driver.
  */

@@ -61,12 +62,14 @@
  * _add_xxx_prop() interfaces add only 1 prop that is specified in the args.
  * _set_xxx_props() interfaces add more than 1 prop for a set of phys/devices.
  */
 int mptsas_smhba_setup(mptsas_t *);
 void mptsas_smhba_show_phy_info(mptsas_t *);
-void mptsas_smhba_set_phy_props(mptsas_t *mpt, char *iport, dev_info_t *dip,
-    uint8_t phy_nums, uint16_t *attached_devhdl);
+void mptsas_smhba_set_all_phy_props(mptsas_t *mpt, dev_info_t *dip,
+    uint8_t phy_nums, mptsas_phymask_t phy_mask, uint16_t *attached_devhdl);
+void mptsas_smhba_set_one_phy_props(mptsas_t *mpt, dev_info_t *dip,
+    uint8_t phy_id, uint16_t *attached_devhdl);
 void mptsas_smhba_log_sysevent(mptsas_t *mpt, char *subclass, char *etype,
     smhba_info_t *phyp);
 void
 mptsas_create_phy_stats(mptsas_t *mpt, char *iport, dev_info_t *dip);
 int mptsas_update_phy_stats(kstat_t *ks, int rw);