--- - branch: netbsd-10 date: Mon Sep 11 13:30:36 UTC 2023 files: - new: 1.1.36.1 old: '1.1' path: src/sys/arch/i386/stand/efiboot/efipxe.c pathrev: src/sys/arch/i386/stand/efiboot/efipxe.c@1.1.36.1 type: modified - new: 1.2.32.1 old: '1.2' path: src/sys/stand/efiboot/efipxe.c pathrev: src/sys/stand/efiboot/efipxe.c@1.2.32.1 type: modified id: 20230911T133036Z.b2c24facd742b17483503fe6cb190e3edc4dc3b1 log: "Pull up following revision(s) (requested by rin in ticket #362):\n\n\tsys/arch/i386/stand/efiboot/efipxe.c: revision 1.2\n\tsys/stand/efiboot/efipxe.c: revision 1.3\n\nMI and x86 efiboot: Fix device path type for PXE boot device.\nIt should be Messaging, not Media Device Path. Taken from OpenBSD, for\nwhich this code was originally written:\nhttps://cvsweb.openbsd.org/src/sys/arch/amd64/stand/efiboot/efipxe.c#rev1.6\n\nNetwork-based device paths use Messaging and not Media types. Thus\nin reality the depth was always -1 which made the compare function\na No-Op. Properly check the device path depth value and look for\nthe Messaging type instead to find the correct NIC. This check\nnever worked before and was uncovered by the last change.\n\nRegression noticed by bluhm@\n" module: src subject: 'CVS commit: [netbsd-10] src/sys' unixtime: '1694439036' user: martin