harddriv.c: a few more functions moved in the driver state. (nw)