[haiku-development] Hard drive BIOS number for device?

Hi!

In order to boot from another than the first hard drive the bootman UI needs a mapping from hard drive device path to the BIOS hard drive number, that starts with 0x80 for the first drive.
Is there an API already that provides that information?

Regards,
Michael

Other related posts: