@@ -762,7 +762,8 @@ static struct hwentry default_hw[] = {
* Copy this TEMPLATE to add new hardware.
*
* Keep only mandatory and modified attributes.
- * Standard attributes must be removed.
+ * Attributes with default values must be removed.
+ * .vendor and .product are mandatory, all other are optional.
*
* COMPANY_NAME
*
@@ -770,8 +771,8 @@ static struct hwentry default_hw[] = {
* Mail : XXX
*/
{
- .vendor = "VENDOR", (Mandatory)
- .product = "PRODUCT", (Mandatory)
+ .vendor = "VENDOR",
+ .product = "PRODUCT",
.revision = "REVISION",
.bl_product = "BL_PRODUCT",
.pgpolicy = GROUP_BY_PRIO,
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> --- libmultipath/hwtable.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)