Add routines to select disk rotation speed

Doesn't seem like speed_param is needed. Also speed_rpm, is not used below, but that seems like a better name than speed_status, can you remove the speed_status declaration, and replace it's usage with speed_rpm.