summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/sanboot.h
diff options
context:
space:
mode:
authorMichael Brown2016-03-20 10:16:13 +0100
committerMichael Brown2016-03-22 10:55:09 +0100
commitab5b3abbbac98eb52109c34058e1999df7dd0b86 (patch)
treedd5564fe02cc6ac8f69c21ad98142edf75f7c69e /src/include/ipxe/sanboot.h
parent[gdb] Add support for x86_64 (diff)
downloadipxe-ab5b3abbbac98eb52109c34058e1999df7dd0b86.tar.gz
ipxe-ab5b3abbbac98eb52109c34058e1999df7dd0b86.tar.xz
ipxe-ab5b3abbbac98eb52109c34058e1999df7dd0b86.zip
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/sanboot.h')
-rw-r--r--src/include/ipxe/sanboot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/sanboot.h b/src/include/ipxe/sanboot.h
index 57025f2c..041e1893 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 );