]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[block] Use drive number as debug message stream ID
authorMichael Brown <mcb30@ipxe.org>
Mon, 4 Mar 2024 12:50:25 +0000 (12:50 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 4 Mar 2024 12:50:25 +0000 (12:50 +0000)
commit75c7904482b5397c41b4a91ce266f25a8a196e13
treef2c0385e1c2e9472f627020548a3cefda872dc7a
parent1b23d4de25d1dacf164eec442780bbfb026fbda7
[block] Use drive number as debug message stream ID

We currently use the SAN device pointer as the debug message stream
identifier.  This pointer is not always available: for example, when
booting from a local disk there is no underlying SAN device.

Switch to using the drive number as the debug message colour stream
identifier, so that all block device debug messages may be colourised
consistently.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/interface/pcbios/int13.c
src/core/dummy_sanboot.c
src/core/sanboot.c
src/interface/efi/efi_block.c