View | Details | Raw Unified | Return to bug 273285
Collapse All | Expand All

(-)ps3/yast2-network/yast2-network-2.15.30/src/routines/hardware.ycp (-14 / +1 lines)
Lines 230-236 define list<map> ReadHardware(string hwt Link Here
230
	/* common stuff */
230
	/* common stuff */
231
	map resource = card["resource"]:$[];
231
	map resource = card["resource"]:$[];
232
	string controller = ControllerType(card);
232
	string controller = ControllerType(card);
233
	boolean card_ok = controller != "";
234
	one["name"] = DeviceName(card);
233
	one["name"] = DeviceName(card);
235
	one["type"] = controller;
234
	one["type"] = controller;
236
	one["udi"] = card["udi"]:"";
235
	one["udi"] = card["udi"]:"";
Lines 300-313 define list<map> ReadHardware(string hwt Link Here
300
		return !brk;
299
		return !brk;
301
	    });
300
	    });
302
	    
301
	    
303
	    if (drivers == [])
302
	    if (drivers != [])
304
	    {
305
		y2milestone ("No good drivers found");
306
		// #153235
307
		// fail, unless we are in xen (it has the driver built in)
308
		card_ok = Arch::is_xenU ();
309
	    }
310
	    else
311
	    {
303
	    {
312
		one["drivers"] = drivers;
304
		one["drivers"] = drivers;
313
305
Lines 347-359 define list<map> ReadHardware(string hwt Link Here
347
	}
339
	}
348
340
349
	y2debug("found device: %1", one);
341
	y2debug("found device: %1", one);
350
	if (card_ok) {
351
	    Hardware[size(Hardware)] = one;
342
	    Hardware[size(Hardware)] = one;
352
	    num = num + 1;
343
	    num = num + 1;
353
	}
354
	else {
355
	    y2milestone ("Filtering out: %1", card);
356
	}
357
    });
344
    });
358
345
359
    /* if there is wlan, put it to the front of the list */
346
    /* if there is wlan, put it to the front of the list */

Return to bug 273285