diff mbox

[1/1] multipath_tools: Add IBM Virtual SCSI to hwtable

Message ID 200906041810.n54IAdAQ006547@d01av04.pok.ibm.com (mailing list archive)
State Accepted, archived
Delegated to: christophe varoqui
Headers show

Commit Message

Brian King June 4, 2009, 6:10 p.m. UTC
Add entry to the hwtable for IBM Power Virtual SCSI devices.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
---

 libmultipath/hwtable.c |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox

Patch

diff -puN libmultipath/hwtable.c~mpath_vios libmultipath/hwtable.c
--- multipath-tools/libmultipath/hwtable.c~mpath_vios	2009-06-03 17:40:56.000000000 -0500
+++ multipath-tools-bjking1/libmultipath/hwtable.c	2009-06-04 09:54:33.000000000 -0500
@@ -634,6 +634,28 @@  static struct hwentry default_hw[] = {
 		.checker_name  = TUR,
 		.prio_name     = PRIO_ALUA,
 	},
+	/*
+	 * IBM Power Virtual SCSI Devices
+	 *
+	 * Maintainer : Brian King, IBM
+	 * Mail : brking@linux.vnet.ibm.com
+	 */
+	{
+		/* AIX VDASD */
+		.vendor        = "AIX",
+		.product       = "VDASD",
+		.getuid        = DEFAULT_GETUID,
+		.features      = DEFAULT_FEATURES,
+		.hwhandler     = DEFAULT_HWHANDLER,
+		.selector      = DEFAULT_SELECTOR,
+		.pgpolicy      = MULTIBUS,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = (300 / DEFAULT_CHECKINT),
+		.minio         = DEFAULT_MINIO,
+		.checker_name  = DIRECTIO,
+		.prio_name     = DEFAULT_PRIO,
+	},
 	{
 		/* DELL MD3000 */
 		.vendor        = "DELL",