From ab5b3abbbac98eb52109c34058e1999df7dd0b86 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 20 Mar 2016 09:16:13 +0000 Subject: [int13] Allow drive to be hooked using the natural drive number Interpret the maximum drive number (0xff for hard disks, 0x7f for floppy disks) as meaning "use natural drive number". Signed-off-by: Michael Brown --- src/include/ipxe/sanboot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ipxe/sanboot.h b/src/include/ipxe/sanboot.h index 57025f2c6..041e18935 100644 --- a/src/include/ipxe/sanboot.h +++ b/src/include/ipxe/sanboot.h @@ -70,7 +70,7 @@ unsigned int san_default_drive ( void ); * * @v uri URI * @v drive Drive number - * @ret rc Return status code + * @ret drive Drive number, or negative error */ int san_hook ( struct uri *uri, unsigned int drive ); -- cgit v1.2.3-55-g7522