Reorganizing real_driverproc.