Author: mvidner Date: Thu Mar 3 17:21:28 2011 New Revision: 63504 URL: http://svn.opensuse.org/viewcvs/yast?rev=63504&view=rev Log: added exception to filter out virtio semi-device (bnc#585506, bnc#666025) Only virtio_net has a network device, virtio_pci would just confuse users. Ported from r61539 on SLE11 SP1, had to change one["dev_name"] to card["dev_name"]. Modified: branches/SuSE-SLE-10-SP4-Branch/network/VERSION branches/SuSE-SLE-10-SP4-Branch/network/package/yast2-network.changes branches/SuSE-SLE-10-SP4-Branch/network/src/routines/hardware.ycp Modified: branches/SuSE-SLE-10-SP4-Branch/network/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP4-Branch/network/VERSION?rev=63504&r1=63503&r2=63504&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP4-Branch/network/VERSION (original) +++ branches/SuSE-SLE-10-SP4-Branch/network/VERSION Thu Mar 3 17:21:28 2011 @@ -1 +1 @@ -2.13.141 +2.13.142 Modified: branches/SuSE-SLE-10-SP4-Branch/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP4-Branch/network/package/yast2-network.changes?rev=63504&r1=63503&r2=63504&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP4-Branch/network/package/yast2-network.changes (original) +++ branches/SuSE-SLE-10-SP4-Branch/network/package/yast2-network.changes Thu Mar 3 17:21:28 2011 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Thu Mar 3 17:20:16 CET 2011 - mvidner@suse.cz + +- added exception to filter out virtio semi-device (bnc#585506, + bnc#666025). Only virtio_net has a network device, virtio_pci + would just confuse users. +- 2.13.142 + +------------------------------------------------------------------- Thu Feb 17 16:27:51 CET 2011 - mvidner@suse.cz - Fixed losing nameservers when doing a DVD installation (bnc#668034). Modified: branches/SuSE-SLE-10-SP4-Branch/network/src/routines/hardware.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP4-Branch/network/src/routines/hardware.ycp?rev=63504&r1=63503&r2=63504&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP4-Branch/network/src/routines/hardware.ycp (original) +++ branches/SuSE-SLE-10-SP4-Branch/network/src/routines/hardware.ycp Thu Mar 3 17:21:28 2011 @@ -353,6 +353,11 @@ one["wl_enc_modes"] = resource["wlan", 0, "enc_modes"]:nil; } + // filter out device with virtio_pci Driver and no Device File (bnc#585506, bnc#666025) + if (one["module"]:""=="virtio_pci" && card["dev_name"]:""==""){ + card_ok=false; + y2milestone("Filtering out virtio device without device file."); + } y2debug("found device: %1", one); y2internal("found device: %1", one); if (card_ok) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org