Author: aschnell Date: Fri Jul 18 14:55:29 2008 New Revision: 49252 URL: http://svn.opensuse.org/viewcvs/yast?rev=49252&view=rev Log: - added fibre channel resources (fate #304333) (completely untested) Modified: trunk/hardware-detection/VERSION trunk/hardware-detection/package/yast2-hardware-detection.changes trunk/hardware-detection/src/HwParse.cc Modified: trunk/hardware-detection/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/hardware-detection/VERSION?rev=49252&r1=49251&r2=49252&view=diff ============================================================================== --- trunk/hardware-detection/VERSION (original) +++ trunk/hardware-detection/VERSION Fri Jul 18 14:55:29 2008 @@ -1 +1 @@ -2.16.1 +2.17.0 Modified: trunk/hardware-detection/package/yast2-hardware-detection.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/hardware-detection/package/yast2-hardware-detection.changes?rev=49252&r1=49251&r2=49252&view=diff ============================================================================== --- trunk/hardware-detection/package/yast2-hardware-detection.changes (original) +++ trunk/hardware-detection/package/yast2-hardware-detection.changes Fri Jul 18 14:55:29 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Jul 18 14:45:43 CEST 2008 - aschnell@suse.de + +- added fibre channel resources (fate #304333) +- 2.17.0 + +------------------------------------------------------------------- Tue Feb 5 12:23:05 CET 2008 - fehr@suse.de - make it possible to set flags on hwinfo probing mode. Modified: trunk/hardware-detection/src/HwParse.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/hardware-detection/src/HwParse.cc?rev=49252&r1=49251&r2=49252&view=diff ============================================================================== --- trunk/hardware-detection/src/HwParse.cc (original) +++ trunk/hardware-detection/src/HwParse.cc Fri Jul 18 14:55:29 2008 @@ -354,6 +354,17 @@ add_strlist (r->enc_modes, &map, "enc_modes"); } break; +#if HD_VERSION >= 15 + case res_fc: + { + RES2TYPE (res_fc_t); + *name = "fc"; + if (r->wwpn_ok) map->add (YCPString ("wwpn"), YCPInteger (r->wwpn)); + if (r->fcp_lun_ok) map->add (YCPString ("fcp_lun"), YCPInteger (r->fcp_lun)); + if (r->port_id_ok) map->add (YCPString ("part_id"), YCPInteger (r->port_id)); + } + break; +#endif default: map = YCPNull(); break; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org