grub/grub-core/net/drivers
Andrei Borzenkov c52ae40570 efinet: skip virtual IPv4 and IPv6 devices when enumerating cards
EDK2 PXE driver creates two child devices - IPv4 and IPv6 - with
bound SNP instance. This means we get three cards for every physical
adapter when enumerating. Not only is this confusing, this may result
in grub ignoring packets that come in via the "wrong" card.

Example of device hierarchy is

 Ctrl[91] PciRoot(0x0)/Pci(0x3,0x0)
   Ctrl[95] PciRoot(0x0)/Pci(0x3,0x0)/MAC(525400123456,0x1)
     Ctrl[B4] PciRoot(0x0)/Pci(0x3,0x0)/MAC(525400123456,0x1)/IPv4(0.0.0.0)
     Ctrl[BC] PciRoot(0x0)/Pci(0x3,0x0)/MAC(525400123456,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)

Skip PXE created virtual devices when enumerating cards. Make sure to
find real card when applying initial autoconfiguration during PXE boot,
this information is associated with one of child devices.
2015-05-07 20:37:17 +03:00
..
efi efinet: skip virtual IPv4 and IPv6 devices when enumerating cards 2015-05-07 20:37:17 +03:00
emu emunet: Fix init error checking. 2015-03-20 12:59:00 +01:00
i386/pc net/pxe: fix error condition 2015-01-30 22:39:11 +03:00
ieee1275 add bootpath parser for open firmware 2014-02-04 19:02:16 -02:00
uboot Leif's API fixes 2013-05-03 15:07:39 +02:00