The NetBSD Project

CVS log for src/sys/stand/efiboot/efipxe.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / stand / efiboot

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.2.32.1: download - view: text, markup, annotated - select for diffs
Mon Sep 11 13:30:36 2023 UTC (15 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +3 -2 lines
Pull up following revision(s) (requested by rin in ticket #362):

	sys/arch/i386/stand/efiboot/efipxe.c: revision 1.2
	sys/stand/efiboot/efipxe.c: revision 1.3

MI and x86 efiboot: Fix device path type for PXE boot device.
It should be Messaging, not Media Device Path. Taken from OpenBSD, for
which this code was originally written:
https://cvsweb.openbsd.org/src/sys/arch/amd64/stand/efiboot/efipxe.c#rev1.6

Network-based device paths use Messaging and not Media types.  Thus
in reality the depth was always -1 which made the compare function
a No-Op.  Properly check the device path depth value and look for
the Messaging type instead to find the correct NIC.  This check
never worked before and was uncovered by the last change.

Regression noticed by bluhm@

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jul 24 08:30:42 2023 UTC (16 months, 2 weeks ago) by rin
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2 lines
MI and x86 efiboot: Fix device path type for PXE boot device.

It should be Messaging, not Media Device Path. Taken from OpenBSD, for
which this code was originally written:

https://cvsweb.openbsd.org/src/sys/arch/amd64/stand/efiboot/efipxe.c#rev1.6

> Network-based device paths use Messaging and not Media types.  Thus
> in reality the depth was always -1 which made the compare function
> a No-Op.  Properly check the device path depth value and look for
> the Messaging type instead to find the correct NIC.  This check
> never worked before and was uncovered by the last change.
>
> Regression noticed by bluhm@

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:56 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +126 -0 lines
Sync with HEAD

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:52 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +1 -16 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.2.4.1
Thu Nov 15 23:52:33 2018 UTC (6 years ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.2: +0 -126 lines
file efipxe.c was added on branch phil-wifi on 2019-06-10 22:09:56 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Nov 15 23:52:33 2018 UTC (6 years ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi, netbsd-10
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -16 lines
Add support for loading kernels over NFS.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:47 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +141 -0 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.1.2.1
Mon Sep 3 00:04:02 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.1: +0 -141 lines
file efipxe.c was added on branch pgoyette-compat on 2018-09-06 06:56:47 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 00:04:02 2018 UTC (6 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Branch point for: pgoyette-compat
Add PXE support.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>