Correctly decode the IDE channel/drive number when matching devices (booting from master or slave on either channel should work now).
Correctly decode the IDE channel/drive number when matching devices
(booting from master or slave on either channel should work now).

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars