We currently require information about the underlying PCI device to populate the snpnet device's name and description. If the underlying device is not a PCI device, this will fail and prevent the device from being registered. Fix by falling back to populating the device description with information based on the EFI handle, if no PCI device information is available. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
447 |
|
447 |
|
448 |
|
448 |
|
449 |
|
449 |
|
450 |
|
|
|
451 |
|
450 |
|
452 |
|
|
|
|
451 |
|
|
453 |
|
452 |
|
454 |
|
453 |
|
455 |
|
454 |
|
456 |
|
455 |
|
457 |
|
456 |
|
458 |
|
|
|
|
457 |
|
|
459 |
|
458 |
|
|
459 |
|
|
|
460 |
|
|
|
461 |
|
|
460 |
|
462 |
|
461 |
|
463 |
|
462 |
|
|
|
|
464 |
|
|
|
465 |
|
|
463 |
|
466 |
|
464 |
|
467 |
|
465 |
|
468 |
|
|
|
||
506 |
|
509 |
|
507 |
|
510 |
|
508 |
|
511 |
|
509 |
|
|
|
510 |
|
|
|
|
512 |
|
|
511 |
|
513 |
|
512 |
|
514 |
|
513 |
|
515 |
|
|
|
||
574 |
|
576 |
|
575 |
|
577 |
|
576 |
|
578 |
|
577 |
|
|
|
578 |
|
579 |
|
579 |
|
580 |
|
580 |
|
581 |
|